Search found 104 matches

by KDJ
Wed Mar 22, 2017 9:19 pm
Forum: PDF Generation
Topic: PDF Viewer DLL?
Replies: 43
Views: 1250

Re: PDF Viewer DLL?

Several functions to support SumatraPDF and simple pdf viewer.
May be useful to someone.
by KDJ
Wed Mar 22, 2017 7:58 pm
Forum: HMG Bug Reports
Topic: grid problem in hmg 3.4.3
Replies: 3
Views: 129

Re: grid problem in hmg 3.4.3

t57042

HMG.3.4.3 patch 2: viewtopic.php?f=43&t=4738&p=50091#p50091
srvet_claudio wrote:
Mon Mar 20, 2017 2:32 am
- Fixed bug when call DeleteColumn( 1 ) with a Grid with only one column ( reported by t57042 )
by KDJ
Mon Mar 20, 2017 7:18 pm
Forum: HMG Bug Reports
Topic: PANEL window - ROW and COL properties
Replies: 2
Views: 117

Re: PANEL window - ROW and COL properties

For now I solved the problem in this way:

Code: Select all

SetProperty(cPanelWindow, "ROW", ClientToScreenRow(GetParent(GetFormHandle(cPanelWindow)), nRow))
SetProperty(cPanelWindow, "COL", ClientToScreenCol(GetParent(GetFormHandle(cPanelWindow)), nCol))
by KDJ
Sun Mar 19, 2017 5:47 pm
Forum: HMG Bug Reports
Topic: PANEL window - ROW and COL properties
Replies: 2
Views: 117

PANEL window - ROW and COL properties

SetProperty(cPanelWindow, "ROW", nRow)
SetProperty(cPanelWindow, "COL", nCol)

They do work incorrectly.
nRow and nCol are treated as screen coordinates, instead of client area coordinates.
by KDJ
Wed Mar 15, 2017 6:07 am
Forum: HMG General Help
Topic: nTimestamp to cDate and cTime
Replies: 10
Views: 295

Re: nTimestamp to cDate and cTime

This code can be a little shortened:

Code: Select all

FUNCTION Main()
  LOCAL nSeconds := 1489364562.247

  MsgBox(HB_TStoStr(t"1970-01-01" + nSeconds /60 /60 /24))

RETURN NIL
by KDJ
Mon Mar 13, 2017 7:20 pm
Forum: HMG General Help
Topic: nTimestamp to cDate and cTime
Replies: 10
Views: 295

Re: nTimestamp to cDate and cTime

jairpinho

See in PeteWG's "Harbour functions dictionary": https://github.com/Petewg/V-harbour-core/wiki/hb_T
TimeStamp functions: hb_TSToStr, hb_TSToUTC, hb_TtoC, etc.
by KDJ
Mon Mar 13, 2017 6:09 am
Forum: HMG Bug Reports
Topic: ON KEY F12 does not work in HMG 3.3.1
Replies: 17
Views: 1132

Re: ON KEY F12 does not work in HMG 3.3.1

Yes Pablo, you are absolutely right.
by KDJ
Sun Mar 12, 2017 8:53 pm
Forum: HMG Bug Reports
Topic: ON KEY F12 does not work in HMG 3.3.1
Replies: 17
Views: 1132

Re: ON KEY F12 does not work in HMG 3.3.1

Pablo Oh yes, it works! Thank you very much. It is a little uncomfortable because you have to restart your machine. I do not know in C if is this correct ? I think in this way will be better: HB_FUNC ( INITHOTKEY ) { hb_retl(RegisterHotKey( (HWND) HMG_parnl(1), // window to receive hot-key notifica...
by KDJ
Sun Mar 12, 2017 4:05 pm
Forum: HMG Bug Reports
Topic: ON KEY F12 does not work in HMG 3.3.1
Replies: 17
Views: 1132

Re: ON KEY F12 does not work in HMG 3.3.1

If F12 can not be register as hotkey, it should be removed from documentation and from i_keybd.ch.
by KDJ
Sat Mar 11, 2017 8:50 pm
Forum: HMG Bug Reports
Topic: ADD, SUBTRACT, MULTIPLY hotkeys
Replies: 0
Views: 61

ADD, SUBTRACT, MULTIPLY hotkeys

In i_keybd.ch there are defined the hotkeys: ADD, SUBTRACT, MULTIPLY, ALT+ADD, ALT+SUBTRACT.
But is missing definition for release them.