NC Clone

General Help regarding HMG, Compilation, Linking, Samples

Moderator: Rathinagiri

Post Reply
User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: NC Clone

Post by AUGE_OHR »

v0.045
HBFM045.zip
(1.42 MiB) Downloaded 171 times
fixed :
BUG aStart "unmark"
RootUpDirPath()

new:
PathInfo and CMDBox (under Construction)
Crtl-F8 and ALT-F10 both "just" use GetFolder()

all Variable check with -w1 -es2 :!:
have fun
Jimmy
User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: NC Clone

Post by AUGE_OHR »

v0.050
HBFM050.zip
(1.43 MiB) Downloaded 174 times
When re-size using LISTVIEW_SETCOLUMNWIDTH it is very slow on some PC.
so i have change Setup and add new Field in FMSETUP.DBF (Check will done automatic)
New_Setup.jpg
New_Setup.jpg (96.22 KiB) Viewed 3844 times
you can enable/disable use of LISTVIEW_SETCOLUMNWIDTH

---

fixed :
DELETE right side does not update Grid (left side work)

change :
FMSETUP.DBF add Field COLRESIZE "L"
FMSETUP Layout change

add new
Context Menu add sort, tree, sendto
CMDBox working (Del Key blockt ?)
Font Picker

Font-Name is for all, Font-Size is default, Font-Large for GRID / Listbox and Font-Small for Label in FMsetup.
have fun
Jimmy
User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: NC Clone

Post by AUGE_OHR »

v0.057
HBFM057.zip
(1.44 MiB) Downloaded 185 times
this Version support multi Windows with BROWSE and Fx-Key

you can use F2,F3 to view in every Window and "let it open"
you can use F4,F6,F7,F9 in every Window but it is recommend to close it after using

include SumatraPDF as Viewer ( need SumatraPDF.exe )

new :
v.0.57 24.02.2020 OEM Problem ... Byte 30 -> "DOS 850" ?
v.0.56 24.02.2020 multi Browser F6 / F7 / F9 und F1 Info
v.0.55 23.02.2020 multi Browser WITHOUT Thread
v.0.54 23.02.2020 Sumatra PDF WITHOUT SET_COMPILE_HMG_UNICODE
v.0.53 22.02.2020 Sumatra PDF
v.0.52 22.02.2020 multi Browser with Thread und Macro
v.0.51 22.02.2020 all transfer from MAIN to FMGrid.PRG
know Problem
F6 : Select Index "sometimes" does not enable F7 "Seek".
close DBF and try again with just 1 x Index. later you can press F6 again and use multi Index/Tag

Tip Scope :
it does support full Syntax

Code: Select all

SET SCOPE TO [<expNewTop> [, <expNewBottom>]]
so you can use "K,M" for Scope

---

this will be last Version with BROWSE as i have some DBF OEM Problem so i switch to GRID in next Version
have fun
Jimmy
User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: NC Clone

Post by AUGE_OHR »

hi,

i have change View BROWSE to GRID
1.) change DEFINE BROWSE to DEFINE GRID
2.) change FIELDS aFeld to COLUMNFIELDS aFeld
3.) change WORKAREA &cWorkArea to ROWSOURCE (cWorkArea)
4.) change END BROWSE to END GRID
now GRID display and i press F6 for Index and F7 for SEEK.
i know it was FOUND() and i can check it with F3/F4 ... but GRID does not show it :o

---

here is a Difference in "set Position" between BROWSE and GRID

Code: Select all

   nRec := RECNO()
   #IFDEF Use_Browse
      SetProperty( oBrowse, "BrowserView", "Value", nRec )
   #ELSE
      SetProperty( oBrowse, "BrowserView", "RecNo", nRec )
   #ENDIF
after SEEK() i use VALUE in BROWSE but with GRID i have to use RECNO

---

the Reason why i change from BROWSE to GRID was "ON QUERYDATA".
when using ROWSOURCE i seem not to work with VIRTUAL ... ON QUERYDATA does not fire Event :(

so i can not "manipulate" what is display in GRID ... but it is much faster than BROWSE e.g. when resize :D
have fun
Jimmy
User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: NC Clone

Post by AUGE_OHR »

hi,

Problem with close TAB

guess build 3 x TAB with GRID
Grid_1
Grid_2
Grid_3
now close TAB 2
Grid_1
Grid_3
add new TAB
Grid_3 Of WinLeft Already defined.
so until now it is need to close LAST TAB ... that is not what i want :(
have fix it for next Release.
have fun
Jimmy
User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: NC Clone

Post by AUGE_OHR »

hi,

v0.064
HBFM064.zip
(1.61 MiB) Downloaded 213 times
fixed :
close TAB

new:
BROWSE -> GRID
F9 History : Last visit Folder
HBINPUT own InputBox()
DBF Viewer F10 Codepage
Grid with Image :D
Image_Codepage.jpg
Image_Codepage.jpg (342.49 KiB) Viewed 3515 times

please have a look at Thread about Codepage
http://hmgforum.com/viewtopic.php?f=5&t=6350
have fun
Jimmy
User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: NC Clone

Post by AUGE_OHR »

hi,

here latest Version 0.68
HBFM068.zip
(1.62 MiB) Downloaded 185 times
fixed :

Browser : F9 wrong Position when maximize

new :

*.LNK -> DXE_ResolveLink()
save / restore multi TAB (Array in Memo)
use Parameter /L /R to load TAB Directory. use # as Delimiter

Code: Select all

HBFM.exe  /Le:\TEMP\#c:\hmg.3.4.4\0\HBFM\ /Rd:\ALASKA\SHFILE\#c:\hmg.3.4.4\0\USB\#f:\CT\
! Note : when using /L /R those TAB setting are not write to FMSETUP.DBF

p.s. FMSETUP.DBF will be automatic modify by this Update to store Array in Memo
have fun
Jimmy
huiyi_ch
Posts: 172
Joined: Sat May 21, 2016 5:27 am

Re: NC Clone

Post by huiyi_ch »

Hello AUGE_OHR,
Start running this program, show the following error to stop running!

Date:03/13/2020 Time: 21:11:14
Error BASE/1111 Argument error LEN Parameter : [ 1] = U NIL

Called from LEN(0)
Called from TESTSTORETAB(4725)
Called from FILLGRID(990)
Called from (b)DUALGRID(305)
Called from _PROCESSINITPROCEDURE(5858)
Called from _ACTIVATEWINDOW(5609)
Called from DUALGRID(849)
Called from MAIN(142)
User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: NC Clone

Post by AUGE_OHR »

hi,
huiyi_ch wrote: Fri Mar 13, 2020 1:19 pm Hello AUGE_OHR,
Start running this program, show the following error to stop running!

Date:03/13/2020 Time: 21:11:14
Error BASE/1111 Argument error LEN Parameter : [ 1] = U NIL

Called from LEN(0)
Called from TESTSTORETAB(4725)
Called from FILLGRID(990)
Called from (b)DUALGRID(305)
Called from _PROCESSINITPROCEDURE(5858)
Called from _ACTIVATEWINDOW(5609)
Called from DUALGRID(849)
Called from MAIN(142)
arrrrrrrrrrggggggg :evil:

was it a "fresh install" or upgrade from older Version :?:

please use this DBF with this Version when "fresh" install
FMSETUP.ZIP
(751 Bytes) Downloaded 188 times
have fun
Jimmy
User avatar
AUGE_OHR
Posts: 2060
Joined: Sun Aug 25, 2019 3:12 pm
DBs Used: DBF, PostgreSQL, MySQL, SQLite
Location: Hamburg, Germany

Re: NC Clone

Post by AUGE_OHR »

hi,

i have found "HMG Easy Build" from Dr. Claudio Soto, GREAT WORK :!:
http://www.hmgforum.com/viewtopic.php?f ... 903#p36229

i saw "System-Icon" :o
and i found out how BT_DirectoryInfo() work :D
Imagelist.jpg
Imagelist.jpg (385.23 KiB) Viewed 3058 times
only Problem : it take some time ...

i will open a new Thread how to make it faster
have fun
Jimmy
Post Reply