Hello, I develop application and I have problem in one Form. I will explain:
1. In the main.prg I use these codes:
DO FORMS FORMS\FRMINTRO
DO MENU01.MPR
READ EVENTS
2. When the Menu is Activated, I select a option, the option Run a .PRG, then a Form).
Code:
DO OPENTABLES1
DO FORMS FORMS\FRMMONITOR1
When I check the Debugger, only the Object Form FRMINTRO is available withing local variables. FRMMONITOR1 doesn't exist.
I define the Form FRMMONITOR1 as 0-Modeless, it display the Info and it has a GRID. I always use THISFORM.<Object>.caption to access or get info from Object.
The Grid contain column as Check Object, when I click on that, it execute a CLICK Method to Display other Form, and I reference to Object from the main Form(FRMMONITOR1) using THISFORM.Timer1.Enable=.F. and it send a Error indicating that this object doesn't exist. I don't understand but I always use THISFORM.CMDREFRESH.CLICK()(example) using this sentecen whiout the Grid, the command works whitout problem.
Please let me know what happend because I loose 2 days trying to fix this problem.
Thanks in Advance
Marlon
Best Regards from Panama
1. In the main.prg I use these codes:
DO FORMS FORMS\FRMINTRO
DO MENU01.MPR
READ EVENTS
2. When the Menu is Activated, I select a option, the option Run a .PRG, then a Form).
Code:
DO OPENTABLES1
DO FORMS FORMS\FRMMONITOR1
When I check the Debugger, only the Object Form FRMINTRO is available withing local variables. FRMMONITOR1 doesn't exist.
I define the Form FRMMONITOR1 as 0-Modeless, it display the Info and it has a GRID. I always use THISFORM.<Object>.caption to access or get info from Object.
The Grid contain column as Check Object, when I click on that, it execute a CLICK Method to Display other Form, and I reference to Object from the main Form(FRMMONITOR1) using THISFORM.Timer1.Enable=.F. and it send a Error indicating that this object doesn't exist. I don't understand but I always use THISFORM.CMDREFRESH.CLICK()(example) using this sentecen whiout the Grid, the command works whitout problem.
Please let me know what happend because I loose 2 days trying to fix this problem.
Thanks in Advance
Marlon
Best Regards from Panama