Page 1 of 1

FMG tool

Posted: Thu Jul 08, 2010 4:27 pm
by Czarny_Pijar
Last time when Roberto has anounced his arm is diseased, I've radically tampered my demands for the improvements of HMG. Roberto, I wish you a speedy recovery.

Alas there are some urgent (for me ;) ) problems, so I have to solve it myself.
I am used to the Delphi's IDE. If you are the person like me, you'll like my freeware (with sources - in Delphi of course :mrgreen: ).

With this software you can change the FMG files created in the HMG:

- multiselect the controls, then :
  • move,
  • resize,
  • align in many ways,
  • change the font.
IMHO in the HMG-IDE these tasks may be tedious.
If (I hope) in the future releases HMG-IDE will incorporate these features, then this freeware will be sent to the programmer's heaven. :)

Re: FMG tool

Posted: Thu Jul 08, 2010 7:24 pm
by Rathinagiri
Let me try this. Thanks for sharing Czarny.

Re: FMG tool

Posted: Fri Jul 09, 2010 2:49 am
by luisvasquezcl
good tool,
thanks you Czarny
best regards,
luis vasquez

Re: FMG tool

Posted: Fri Jul 09, 2010 3:00 am
by sudip
Hello Cznary,
Thank you very much for sharing this tool. This tool will be very useful. UI is different. As it's in very beginning stage, you may need to polish some rough edges.
It's a very good tool :D

Re: FMG tool

Posted: Fri Jul 09, 2010 6:37 am
by Czarny_Pijar
sudip wrote:As it's in very beginning stage, you may need to polish some rough edges.
You're absolutely right, this program resembles something more on the left than on the right side of the picture below. :lol:

Feel free to point out the unevitable bugs, inconsequences, and require the new options.

Re: FMG tool

Posted: Sun Jul 11, 2010 11:48 pm
by Czarny_Pijar
Here is version 2.

Added:
- Undo button (1 step)

Bugs removed:
- Some overflow checks added,
- Controls : Tree, Panel, Tab resize now can be saved.

Limits were extended:
- Up to 100 controls per form (who need more?)
- Up to 3000 lines in the Fmg file (who has bigger?)

Re: FMG tool

Posted: Mon Jul 12, 2010 2:22 am
by Rathinagiri
Nice contribution Cznary. Thanks man.

Re: FMG tool

Posted: Tue Jul 13, 2010 10:54 pm
by Steed
Hi, Czarny_Pijar

Did you know ControlPos contribution code?, for Hmg_ext.
I try to adapt this code for hmg but i couldn´t, i do my best.

Regards,

Ed

FMG tool - Version 2

Posted: Sat Nov 24, 2012 12:55 pm
by Pablo César
Czarny_Pijar wrote:Here is version 2.

Added:
- Undo button (1 step)

Bugs removed:
- Some overflow checks added,
- Controls : Tree, Panel, Tab resize now can be saved.

Limits were extended:
- Up to 100 controls per form (who need more?)
- Up to 3000 lines in the Fmg file (who has bigger?)
Very usefull tool, congratulations colleague !

I see FMG tool user needs to search sources/fmg folder all the time you started app. Would you permit to make a tip for improvements in this case ? FMG tool could accept parameter from command line in order to receive the folder target ou you can save last folder in INI file. Then will be more quick to find last projects.

I liked much, because all elements can be shifted, resized by selecting it. Really: very good !

Thank for your sharing ! And sorry to ask this, but I have no Delphi for compiling.

FMG tool

Posted: Sat Nov 24, 2012 5:50 pm
by Pablo César
Steed wrote:Hi, Czarny_Pijar

Did you know ControlPos contribution code?, for Hmg_ext.
I try to adapt this code for hmg but i couldn´t, i do my best.

Regards,

Ed
I have tested this Minigui's sample and I am impressed. I got it something but need to compile all the time we change FMG file. So, I am trying to develop my own app based on C:\MiniGUI\SAMPLES\Advanced\ControlPos_3 example, putting variable the name of fmg file. Considering that we need to compile to include components in source code and also considering can be usable Hb_CompileFromBuf(), Hb_HrbDo() and Hb_HrbLoad(), we can say that compile in runtime is possible. But Harbour is returning some GUI commands as error. So, I decided to execute internal functions. But unsucessfull... :cry:

Please I need a valious help ! I wish to optimize this APP for Changing positon, size, proprieties of each control in FMG file. Would it be so great, but I need a help... please...

I have attached source files, just to understand what I am doing.