Prg2Fmg Project
Moderator: Rathinagiri
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Prg2Fmg Project
More another one.. CheckBox
<Attached file was remove because there is a newer version ahead of this same topic>
<Attached file was remove because there is a newer version ahead of this same topic>
Last edited by Pablo César on Thu Nov 03, 2016 4:24 pm, edited 1 time in total.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Re: Prg2Fmg Project
Compile error
- Attachments
-
- Untitled.png (3.72 KiB) Viewed 4698 times
BPD
Convert Dream into Reality through HMG
Convert Dream into Reality through HMG
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Prg2Fmg Project
Hi Dave,bpd2000 wrote:Compile error
May you tell me if you have modified any prg of this demo (version 0.4) in your compiling ?
Because according your captured image is indicating at line number 14:
In this line is receiving the name of form in the previous prg (in this case Demo4")
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
Re: Prg2Fmg Project
Sorry it was my mistake
I doing as "c"\hmg\build prg2fmg
I doing as "c"\hmg\build prg2fmg
BPD
Convert Dream into Reality through HMG
Convert Dream into Reality through HMG
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Prg2Fmg Project
Ok, not problem Dave. Please note Demo4.prg (main file) must contains:bpd2000 wrote:Sorry it was my mistake
I doing as "c"\hmg\build prg2fmg
#include "Prg2Fmg.Prg"
This is because is a external procedure from HMG and it need to be compiled together with your project and be called before ACTIVE your form.
Have you Dave tested with your any prg which has Labels, Buttons and CheckBoxes already ?
Please try it and let me know if is working properlly.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Prg2Fmg Project
After knowing CheckButton has not the due return value to type of control by GetControlType(), It made me do a troubleshooter to solve thiscarelessness in HMG
Now I'm working for CheckButton...
<Attached file was remove because there is a newer version ahead of this same topic>
Now I'm working for CheckButton...
<Attached file was remove because there is a newer version ahead of this same topic>
Last edited by Pablo César on Thu Nov 03, 2016 4:24 pm, edited 1 time in total.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Prg2Fmg Project
Hi all,
Keeping in progress the project... (Version 1.7)
Following enhancements was applied:
1. Added greetings image as ScreenSplash when exit compiled application.
2. Images added at res file
3. Added menu items at Notify
4. I fixed the bug searching of HMG for compiling proposes
5. ROW, COL, WIDTH and HEIGHT values been better aligned at created FMG
6. "Nil" corrections at VIRTUAL WIDTH and HEIGHT values.
7. For next HMG release, we will able to detect real focused form at Notify
8. Reloading form on the screen as it is by source code in prg
<Attached file was remove because there is a newer version ahead of this same topic>
Enjoy!
Keeping in progress the project... (Version 1.7)
Following enhancements was applied:
1. Added greetings image as ScreenSplash when exit compiled application.
2. Images added at res file
3. Added menu items at Notify
4. I fixed the bug searching of HMG for compiling proposes
5. ROW, COL, WIDTH and HEIGHT values been better aligned at created FMG
6. "Nil" corrections at VIRTUAL WIDTH and HEIGHT values.
7. For next HMG release, we will able to detect real focused form at Notify
8. Reloading form on the screen as it is by source code in prg
<Attached file was remove because there is a newer version ahead of this same topic>
Enjoy!
Last edited by Pablo César on Thu Nov 17, 2016 12:34 pm, edited 2 times in total.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Prg2Fmg Project
Keep walking... (Johnnie walker said)
Now with a solution regarding CodeBlocks (I'm happy) !
Another control was added: ComboBox.
There were two or three colleagues who were willing to help me ... but it seems that working time takes everything for contributors ...
I would love to add the names of the contributors in the source. Well we need to work for this ... I go ahead.
I hope you like it. I still want to show all the controls in a final example (maybe the MAIN_DEMO) and be possible with all the Windows actions.
For those who want to compile, it would be better to wait for the new version of HMG error-free.
Now with a solution regarding CodeBlocks (I'm happy) !
Another control was added: ComboBox.
There were two or three colleagues who were willing to help me ... but it seems that working time takes everything for contributors ...
I would love to add the names of the contributors in the source. Well we need to work for this ... I go ahead.
I hope you like it. I still want to show all the controls in a final example (maybe the MAIN_DEMO) and be possible with all the Windows actions.
For those who want to compile, it would be better to wait for the new version of HMG error-free.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
- Pablo César
- Posts: 4059
- Joined: Wed Sep 08, 2010 1:18 pm
- Location: Curitiba - Brasil
Prg2Fmg Project
Hi Claudio, could you give me a light on the following please:
I would like to make Prg2Fmg as lib (if that is an advantage) that can be added only by users need FMG creation and in this case it will need to be compiled with their project. But this is just eventual, esporadic or may be will run only one time.
How could you do it in a practical way for the user and who can load the library. Since it has an override of include and functions to call, ahhh and It also use .rc file.
How could it be? Please give me the right way.
I would like to make Prg2Fmg as lib (if that is an advantage) that can be added only by users need FMG creation and in this case it will need to be compiled with their project. But this is just eventual, esporadic or may be will run only one time.
How could you do it in a practical way for the user and who can load the library. Since it has an override of include and functions to call, ahhh and It also use .rc file.
How could it be? Please give me the right way.
HMGing a better world
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein
"Matter tells space how to curve, space tells matter how to move."
Albert Einstein