How do I use the IDE for existing programs?
Forms were designed using .prg (using DEFINE) but I find counting pixels too tedious. So I'd like to use the IDE to design the GUI part but would also like to continue using my text editor for the non-GUI part.
Is this possible?
HMG IDE
Moderator: Rathinagiri
- Rathinagiri
- Posts: 5482
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
Re: HMG IDE
Yes. It is.
The form generator creates a file with extension .fmg. Which is again a .prg file. You can open with a text editor and replace the template with your window name and paste the code in your test editor wherever necessary.
The form generator creates a file with extension .fmg. Which is again a .prg file. You can open with a text editor and replace the template with your window name and paste the code in your test editor wherever necessary.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
Re: HMG IDE
Thanks, Rathi. Please allow me additional questions.
1. How do I create the main menu (pop up with items) in HMG IDE? I can't seem to display it in the form.
2. Is it possible to specify the location of a modal window to be relative to the main form? That is, if (before calling the modal window) the main form is moved, the modal window also adjusts?
3. I'm using a screen ruler (MWSnap/FastStone Capture) to position objects. Is there a better way (aside from HMG IDE, of course)?
I hope somebody finds time to write a user's manual (as opposed to reference manual) for HMG and HMG IDE. It complements the reference manual. It would be a very big help for newbies like me.
With the forum, while very informative and helpful, it is just too easy to miss information, resulting sometimes in repetitive questions. Just a suggestion though, I hope I'm not being too demanding. On the contrary, it will also save the time of Rathi, Sudip, Marek and Esgici (who've been very helpful even with beginners' questions).
1. How do I create the main menu (pop up with items) in HMG IDE? I can't seem to display it in the form.
2. Is it possible to specify the location of a modal window to be relative to the main form? That is, if (before calling the modal window) the main form is moved, the modal window also adjusts?
3. I'm using a screen ruler (MWSnap/FastStone Capture) to position objects. Is there a better way (aside from HMG IDE, of course)?
I hope somebody finds time to write a user's manual (as opposed to reference manual) for HMG and HMG IDE. It complements the reference manual. It would be a very big help for newbies like me.
With the forum, while very informative and helpful, it is just too easy to miss information, resulting sometimes in repetitive questions. Just a suggestion though, I hope I'm not being too demanding. On the contrary, it will also save the time of Rathi, Sudip, Marek and Esgici (who've been very helpful even with beginners' questions).
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: HMG IDE
Hi cocoking
In other hand HMG Doc also include a little but helpful section for IDE:
Please don't worry about demanding. Persons who respond you was newbies too for a short time ago
Happy HMG'ing
Regards
--
Esgici
Please look at attached image; I hope that it have an answer to your question. IDE include "builders", no for only main menu, for other type menus too.1. How do I create the main menu (pop up with items) in HMG IDE? I can't seem to display it in the form.
Auto-adjusting discussed in the forum in various manners. Please use search.2. Is it possible to specify the location of a modal window to be relative to the main form? That is, if (before calling the modal window) the main form is moved, the modal window also adjusts?
I haven't any idea about tools you are talking about. But HMG-IDE has two perfect features for tracking screen coordinates: coordinates and size of current control and current cursor position. Please look at attached image.3. I'm using a screen ruler (MWSnap/FastStone Capture) to position objects. Is there a better way (aside from HMG IDE, of course)?
Documentation too discussed for various aspects. In summary, IMHO, HMG reference manual is a perfect source and except for a few conditions it's unnecessary a separate user's manual. More important, HMG is a very dynamic project; everything changes with extremely high speed, so almost every reference source will become stale quickly. Please take a look to very beginning topics (beginning with What is MiniGUI?, continuing with Quick Start and Simple Tutorial 1..17 ) of HMG General Help forum; simply to HMG Oficial Help. I hope that all this information is sufficient for newbies.I hope somebody finds time to write a user's manual (as opposed to reference manual) for HMG and HMG IDE. It complements the reference manual. It would be a very big help for newbies like me.
In other hand HMG Doc also include a little but helpful section for IDE:
Please don't worry about demanding. Persons who respond you was newbies too for a short time ago
Happy HMG'ing
Regards
--
Esgici
Viva INTERNATIONAL HMG 
Re: HMG IDE
TYVM, Esgici. I can really feel your genuine desire to help and your diligence.
Thanks also for the "help" hints.
Actually, I have used the main menu builder, filled up the Caption and Name for several menu items. But when I clicked Ok, the menu did not appear on the form. What do I need to do next?Please look at attached image; I hope that it have an answer to your question. IDE include "builders", no for only main menu, for other type menus too.
Yes, the ruler function is built into HMG IDE but I can also use the screen rulers over running program windows. Actually, I was forced to use the screen ruler because I did not know how to use the IDE (ie, can't even make a menu). Notepad ++ as text editor + MWSnap to count screen coordinates, that's how I made my program. As soon as I know HMG IDE, I may no longer have use for screen rulers.I haven't any idea about tools you are talking about. But HMG-IDE has two perfect features for tracking screen coordinates: coordinates and size of current control and current cursor position. Please look at attached image.
Thanks also for the "help" hints.