Page 4 of 5

Prg2Fmg Project

Posted: Tue Oct 18, 2016 8:22 pm
by Pablo César
More another one.. CheckBox

<Attached file was remove because there is a newer version ahead of this same topic>

Re: Prg2Fmg Project

Posted: Wed Oct 19, 2016 3:50 am
by bpd2000
Compile error

Prg2Fmg Project

Posted: Wed Oct 19, 2016 9:53 am
by Pablo César
bpd2000 wrote:Compile error
Hi Dave,

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:
Screen18.png
Screen18.png (21.54 KiB) Viewed 4783 times
In this line is receiving the name of form in the previous prg (in this case Demo4")

Re: Prg2Fmg Project

Posted: Wed Oct 19, 2016 12:04 pm
by bpd2000
Sorry it was my mistake
I doing as "c"\hmg\build prg2fmg

Prg2Fmg Project

Posted: Wed Oct 19, 2016 12:22 pm
by Pablo César
bpd2000 wrote:Sorry it was my mistake
I doing as "c"\hmg\build prg2fmg
Ok, not problem Dave. Please note Demo4.prg (main file) must contains:

#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.

Prg2Fmg Project

Posted: Wed Oct 19, 2016 2:27 pm
by Pablo César
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>

Prg2Fmg Project

Posted: Thu Nov 03, 2016 4:20 pm
by Pablo César
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! :P

Re: Prg2Fmg Project

Posted: Fri Nov 04, 2016 10:31 pm
by Steed
Thanks

Prg2Fmg Project

Posted: Thu Nov 17, 2016 12:33 pm
by Pablo César
Keep walking... (Johnnie walker said) :D

Now with a solution regarding CodeBlocks (I'm happy) :D !

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. :P

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.
Demo7_Exe.rar
Executable file
(1.41 MiB) Downloaded 264 times
Demo7.rar
Source files
(19.72 KiB) Downloaded 262 times
For those who want to compile, it would be better to wait for the new version of HMG error-free.

Prg2Fmg Project

Posted: Thu Nov 17, 2016 2:06 pm
by Pablo César
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.