I've modified the HMG.3 IDE to make it HMG.4 compatible and I've attached to this message.
To make it work, you must be sure that hmg.ini file point to the right location (by default it is 'C:\HMG.4\SVN') and that you have the current HMG.4 sources (at least 2011.11.20).
Some important things:
- The way in that HMG 3 IDE form designer generates code IS NOT the recommended way to code semi-oop in HMG.4. It reflects the status of HMG at first IDE release in 2004 (MiniGUI library at that time). That style will be supported for backwards compatibility only.
I'm talking about (specifically) of DEFINE WINDOW, DEFINE TAB, DEFINE TREE and other commands that requires that all properties (clauses) be specified in the same line.
This way of coding is considered DEPRECATED (backwards compatible only) in HMG.4.
The preferred semi-oop way is shown in this sample (one property by line):
Code: Select all
DEFINE MAINWINDOW MainForm
ROW 10
COL 10
WIDTH 600
HEIGHT 600
TITLE "CHILD window demo"
ONINIT MainFrmOnInit()
- The only example I've tested is the one included. It contains a module and a form exactly as they are created when 'New Project' command is used to create a project.
- Is highly probable that many of control code generated by IDE be not compatible with HMG.4 yet. Please do not complain about that . Just inform us and (if possible) give us some ideas about which the problem is.
Thanks!