Hola : Estoy realizando un ejemplo para ver el comportamiento del control panel pero me da errores al intentar hacerlo desde el ide .
¿ Que estoy haciendo mal ?
Saludos .
Mario Mansilla
Hello, I am making an example to see the behavior of the control panel but I get errors when trying to do it from the ide.
What am I doing wrong?
Greetings.
Mario Mansilla
Control Panel usando Ide
Moderator: Rathinagiri
-
Mario Mansilla
- Posts: 270
- Joined: Wed Aug 13, 2008 2:35 pm
- Location: Córdoba - Argentina
Control Panel usando Ide
- Attachments
-
- Panel.rar
- (2.05 KiB) Downloaded 261 times
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Control Panel usando Ide
Hi Mario
Where is 'PanelWindow_1.fmg' ?
Saludos
--
Esgici
Where is 'PanelWindow_1.fmg' ?
Saludos
--
Esgici
Viva INTERNATIONAL HMG 
-
Mario Mansilla
- Posts: 270
- Joined: Wed Aug 13, 2008 2:35 pm
- Location: Córdoba - Argentina
Re: Control Panel usando Ide
Hola Esgici :
Simplemente creo el form principal e inserto el control panel desde el ide , creo que tendria que crearlo el propio ide pero aparentemente no o hace .
Además quiza cometo algun error en el orden con el cual inserto los controles al formulario ; porque si inserto primero el control panel , no me deja insertar controles dentro del mismo .
Te recuerdo que todo lo hago siempre desde el ide de la version 3.0.34 con Win Xp Sp2
Saludos .
Mario Mansilla
Hello Esgici:
I just think the main form and insert the control panel from the ide, I think it would have to create it's own ide but apparently not or does.
Also maybe make a mistake in the order in which to insert form controls, because if you first insert the control panel, will not let me insert controls within it.
I remember you always do everything from the ide version 3.0.34 with Windows XP Sp2
Greetings.
Mario Mansilla
Simplemente creo el form principal e inserto el control panel desde el ide , creo que tendria que crearlo el propio ide pero aparentemente no o hace .
Además quiza cometo algun error en el orden con el cual inserto los controles al formulario ; porque si inserto primero el control panel , no me deja insertar controles dentro del mismo .
Te recuerdo que todo lo hago siempre desde el ide de la version 3.0.34 con Win Xp Sp2
Saludos .
Mario Mansilla
Hello Esgici:
I just think the main form and insert the control panel from the ide, I think it would have to create it's own ide but apparently not or does.
Also maybe make a mistake in the order in which to insert form controls, because if you first insert the control panel, will not let me insert controls within it.
I remember you always do everything from the ide version 3.0.34 with Windows XP Sp2
Greetings.
Mario Mansilla
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: Control Panel usando Ide
Hola Mario
You have used
in your Main.fmg and there isn't such .fmg file.
Your error.log file said this :
Main.fmg(6) Error F0029 Can't open #include file 'PanelWindow_1.fmg'
In other hand "to create it's own ide" may be a good idea; but is very "high" target for me
Saludos
--
Esgici
You have used
Code: Select all
LOAD WINDOW PanelWindow_1 ...Your error.log file said this :
Main.fmg(6) Error F0029 Can't open #include file 'PanelWindow_1.fmg'
In other hand "to create it's own ide" may be a good idea; but is very "high" target for me
Saludos
--
Esgici
Viva INTERNATIONAL HMG 
Re: Control Panel usando Ide
Mario, I had the same problem as you. I'm a Delphi background programmer so I assumed the Panel window would work as a Delphi's TPanel, in other words as a container that you can put controls inside of. But not - it works like a TFrame, a "reusable" window where you place controls and you "call" from a main window.
Summarizing, you need to do this:
1) Create your Main form normally, say it's called Main.fmg.
2) Create another form, say called SubForm.fmg and set its WindowType to PANEL.
3) Put all the controls inside this second form, save it.
4) Switch back to the Main form and insert the Panel Window control, locate as desired.
5) Set the Panel control "Name" property to SubForm (the second form's name)
6) Run.. and all stuff will appear as expected.
Very very nice. I most probably will use the frame control instead most of the times, but this reusable capability (based on the "LOAD" magic) is very interesting and modular.
Espero te sirva Mario, si no me avisas y seguimos investigando. Gracias!
Summarizing, you need to do this:
1) Create your Main form normally, say it's called Main.fmg.
2) Create another form, say called SubForm.fmg and set its WindowType to PANEL.
3) Put all the controls inside this second form, save it.
4) Switch back to the Main form and insert the Panel Window control, locate as desired.
5) Set the Panel control "Name" property to SubForm (the second form's name)
6) Run.. and all stuff will appear as expected.
Very very nice. I most probably will use the frame control instead most of the times, but this reusable capability (based on the "LOAD" magic) is very interesting and modular.
Espero te sirva Mario, si no me avisas y seguimos investigando. Gracias!
Charly
Argentina, Hobbyist developer, Clipper/Delphi/PHP/Progress
Argentina, Hobbyist developer, Clipper/Delphi/PHP/Progress