I have tried the following experiment to try and understand what should happen in my app looking in the debugger.
Form1 with cmd button opening Form2
Both forms show as objects in debugger.
In my app the sequence is
frmMain called from Main.prg as background frame for app
frmStart called after frmMain from Main.prg
then a handcoded form called frmmyform after a cmdbutton on frmStart setting up the tables for Frmmyform.
One option on the handcoded frmmyform form is a cmdButton to call frmBig1.
In the debugger I see
frmMain
frmStart
frmmyform
but frmbig1 is not there.
When I run frmbig1 from the run cmd ( although I get lots of missing references) I see it in the debugger.
I want to perform an operation on an image control on frmbig1 from a toolbar floating over frmbig1.
A button on the toolbar successfully opens another form OK.
the operation on frmbig1 does not work ( as the form object of frmbig1 is not available in the debugger)
I opening it with
DO FORM frmbig1 NAME 'frmbig1'
I have substituted
DO FORM form1 NAME 'form1'
and followed the steps mentioned at the start of this thread and I now don't see form1 or form2 in the debugger.
Is there a limit to the number/depth of forms that can show in the debugger?
If they don't show as objects I can't operate on them and the toolbar will not allow me to do what I want.
Anyone any idea what I can do to get the object into the debugger ( and thus be able to perform actions on it)?
Sorry about the long story - I have tried to solve this problem in the past and had to redesign another app to get around it.
Thanks
Bryan
Form1 with cmd button opening Form2
Both forms show as objects in debugger.
In my app the sequence is
frmMain called from Main.prg as background frame for app
frmStart called after frmMain from Main.prg
then a handcoded form called frmmyform after a cmdbutton on frmStart setting up the tables for Frmmyform.
One option on the handcoded frmmyform form is a cmdButton to call frmBig1.
In the debugger I see
frmMain
frmStart
frmmyform
but frmbig1 is not there.
When I run frmbig1 from the run cmd ( although I get lots of missing references) I see it in the debugger.
I want to perform an operation on an image control on frmbig1 from a toolbar floating over frmbig1.
A button on the toolbar successfully opens another form OK.
the operation on frmbig1 does not work ( as the form object of frmbig1 is not available in the debugger)
I opening it with
DO FORM frmbig1 NAME 'frmbig1'
I have substituted
DO FORM form1 NAME 'form1'
and followed the steps mentioned at the start of this thread and I now don't see form1 or form2 in the debugger.
Is there a limit to the number/depth of forms that can show in the debugger?
If they don't show as objects I can't operate on them and the toolbar will not allow me to do what I want.
Anyone any idea what I can do to get the object into the debugger ( and thus be able to perform actions on it)?
Sorry about the long story - I have tried to solve this problem in the past and had to redesign another app to get around it.
Thanks
Bryan