HMG IDE - Multiple controls select on form etc ...

Creative ideas/suggestions for HMG

Moderator: Rathinagiri

FrankE
Posts: 8
Joined: Sat Jul 03, 2010 1:31 am

HMG IDE - Multiple controls select on form etc ...

Post by FrankE »

Hi ... possibly 'Hi Roberto'

In years gone by I did extensive development using MS Visual Fox Pro.

One thing I am severely missing in HMG IDE is the ability to select and move groups of controls, which means that currently it comes down to a laborious exercize of selecting each control individually, then moving/adjusting/aligning, and finally deciding whether another layout might be more suitable - at which point the whole process starts all over again ... sometimes I've simply had to use a text editor to get the job done faster.

Don't get me wrong, I sure enjoy the whole HMG + HMG-IDE thing. It's just that getting things done fast/faster is crucial to cost effective development.

Apart from that I am a big HMG/HMG-IDE fan!

Cheers,
Frank E.
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG IDE - Multiple controls select on form etc ...

Post by Roberto Lopez »

FrankE wrote:Hi ... possibly 'Hi Roberto'

In years gone by I did extensive development using MS Visual Fox Pro.

One thing I am severely missing in HMG IDE is the ability to select and move groups of controls, which means that currently it comes down to a laborious exercize of selecting each control individually, then moving/adjusting/aligning, and finally deciding whether another layout might be more suitable - at which point the whole process starts all over again ... sometimes I've simply had to use a text editor to get the job done faster.

Don't get me wrong, I sure enjoy the whole HMG + HMG-IDE thing. It's just that getting things done fast/faster is crucial to cost effective development.

Apart from that I am a big HMG/HMG-IDE fan!

Cheers,
Frank E.
I've stopped all coding based on Windows API.

HMG 3.0.x and its IDE are in maintenance (bug fixing only).

HMG.4 (QT based) hopefully will have its own new open source IDE.

The first goal for this project will be to mimic the current IDE behavior and to be extended later.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Rathinagiri
Posts: 5471
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG IDE - Multiple controls select on form etc ...

Post by Rathinagiri »

HMG.4 (QT based) hopefully will have its own new open source IDE.

The first goal for this project will be to mimic the current IDE behavior and to be extended later.
That's great Roberto. :)
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG IDE - Multiple controls select on form etc ...

Post by Roberto Lopez »

rathinagiri wrote:
HMG.4 (QT based) hopefully will have its own new open source IDE.

The first goal for this project will be to mimic the current IDE behavior and to be extended later.
That's great Roberto. :)
We'll be able to start when most important controls reach a reasonable degree of completion.

Anyway, we will must use plain QT for low level things, such as form editor.
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
esgici
Posts: 4543
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Contact:

Re: HMG IDE - Multiple controls select on form etc ...

Post by esgici »

Roberto Lopez wrote: ...
Anyway, we will must use plain QT for low level things, such as form editor.
Wow :o

since this is possible (without programing in C) that QT is really big thing :!:

Best regards

--

Esgici
Viva INTERNATIONAL HMG :D
User avatar
Czarny_Pijar
Posts: 172
Joined: Thu Mar 18, 2010 11:31 pm
Location: 19.2341 E 50.2267 N

Re: HMG IDE - Multiple controls select on form etc ...

Post by Czarny_Pijar »

FrankE wrote: One thing I am severely missing in HMG IDE is the ability to select and move groups of controls, which means that currently it comes down to a laborious exercize of selecting each control individually, then moving/adjusting/aligning, and finally deciding whether another layout might be more suitable - at which point the whole process starts all over again ... sometimes I've simply had to use a text editor to get the job done faster.
Frank E.
Please check this topic http://hmgforum.com/viewtopic.php?f=6&t=1563,
probably my freeware called fmg_tool_ver2.zip which you can find there, may be useful for you.
User avatar
Roberto Lopez
HMG Founder
Posts: 4004
Joined: Wed Jul 30, 2008 6:43 pm

Re: HMG IDE - Multiple controls select on form etc ...

Post by Roberto Lopez »

Czarny_Pijar wrote:
FrankE wrote: One thing I am severely missing in HMG IDE is the ability to select and move groups of controls, which means that currently it comes down to a laborious exercize of selecting each control individually, then moving/adjusting/aligning, and finally deciding whether another layout might be more suitable - at which point the whole process starts all over again ... sometimes I've simply had to use a text editor to get the job done faster.
Frank E.
Please check this topic http://hmgforum.com/viewtopic.php?f=6&t=1563,
probably my freeware called fmg_tool_ver2.zip which you can find there, may be useful for you.
Very Nice!!!
Regards/Saludos,

Roberto


(Veritas Filia Temporis)
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

HMG IDE - Multiple controls select on form etc ...

Post by Pablo César »

This is an old desire to believe most like to see running as in other IDEs.
There is need to implement the IDE, you can allow multiple selections with fine adjustment in the positions of the components.
Here is a good example (see attached file pack) of handling components, but the events of mouse HMG as RightButton are not available (at least in internal form) which makes it difficult to implement this same example in HMG.
Attachments
ControlPos_3.rar
(575 KiB) Downloaded 305 times
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
User avatar
bpd2000
Posts: 1207
Joined: Sat Sep 10, 2011 4:07 am
Location: India

Re: HMG IDE - Multiple controls select on form etc ...

Post by bpd2000 »

Pablo César wrote: But the events of mouse HMG as RightButton are not available (at least in internal form) which makes it difficult to implement this same example in HMG.
All our C guru can implement RightButton and for expert it not so big project
BPD
Convert Dream into Reality through HMG
User avatar
Pablo César
Posts: 4059
Joined: Wed Sep 08, 2010 1:18 pm
Location: Curitiba - Brasil

HMG IDE - Multiple controls select on form etc ...

Post by Pablo César »

bpd2000 wrote:All our C guru can implement RightButton and for expert it not so big project
I believe the real solution is based in internal variables which contains this can information, at leat I saw that in HMGS taht the variable _HMG_MouseState are declared in h_init and is updating in all mouse events (see C:\MiniGUI\SAMPLES\BASIC\Mouse_Coords\demo3.prg). I think is a structure conditions and probably there is a programmable solution.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Post Reply