Re: prg code function documentor in HMG
Posted: Sun Jan 19, 2020 10:45 am
hi,
so here is the Source Code for HMG CLICK v2.05.29
i'm doing my best but i can't guarantee that produce Code is free of Error
even when CLICK does not find a Error and it compile / link it is still possible that "something" have change.
so make BACKUP from *.PRG before you override it with Code produced by CLICK
---
about ";"
it seem that "Keyword" like "End" or "Return" can be "lost" when have ";" before.
so write "End" or "Return" in next line so CLICK will be not confuse to "forget" it
it work without "+" when using
it work with long String and "+" in next line but more safe (for CLICK) when using "+ ;" at End of line
i have only test BEGIN INI
hope other are used in *.RMG which CLICK do not touch
---
small BUG with STATUSITEM with are not Intend
---
for MiniGUI User :
you have to delete some line where MiniGUI IDE found a Error.
also all HMG_* are not working when have "MINIGUI.CH" instead of "HMG.CH"
i do change Button ACTION after create.
if someone found a MiniGUI Solution please also post it here in "this" Forum.
! Note : MiniGUI IDE create a Name.INI where Name = 1st PRG -> CLICK.INI ...
so for MiniGUI so have to rename CLICK.PRG into CLICK2.PRG
---
feel free to modify Source.
if you someone find a nice Solution please post it here in "this" Forum, thx
so here is the Source Code for HMG CLICK v2.05.29
i'm doing my best but i can't guarantee that produce Code is free of Error
even when CLICK does not find a Error and it compile / link it is still possible that "something" have change.
so make BACKUP from *.PRG before you override it with Code produced by CLICK
---
about ";"
it seem that "Keyword" like "End" or "Return" can be "lost" when have ";" before.
so write "End" or "Return" in next line so CLICK will be not confuse to "forget" it
it work without "+" when using
Code: Select all
.AND. ;
.OR. ;Code: Select all
BEGIN xxxhope other are used in *.RMG which CLICK do not touch
---
small BUG with STATUSITEM with are not Intend
Code: Select all
DEFINE STATUSBAR ..
STATUSITEM ..for MiniGUI User :
you have to delete some line where MiniGUI IDE found a Error.
also all HMG_* are not working when have "MINIGUI.CH" instead of "HMG.CH"
i do change Button ACTION after create.
Code: Select all
_HMG_SYSDATA[ 6 ] [ nIndex ] := { || DoEsc() }
_HMG_SYSDATA[ 6 ] [ nIndex ] := { || DoExit() }
_HMG_SYSDATA[ 6 ] [ nIndex ] := { || StartClick() }! Note : MiniGUI IDE create a Name.INI where Name = 1st PRG -> CLICK.INI ...
so for MiniGUI so have to rename CLICK.PRG into CLICK2.PRG
---
feel free to modify Source.
if you someone find a nice Solution please post it here in "this" Forum, thx