I am having a great deal of difficulty addressing objects on a formset.
When I do a "functional convert" of a FPW screen to VFP6 or 7 it creates a formset with my screen 'objects' displayed.
My problem is that when I attempt to use one of the objects VFP tells me that it does not know what I am talking about.
Example resulting from FPW to VFP conversion:
frsBrwsBOM
gcBrwsWind
PageFrame1
Page1
cmgpbDates
Command1
grdBOM
Column1
Header1
Text1
Column2
Header2
Text2
When I attempt to do something like
ThisForm.Command1.Enable = .F.
It doesn't recognize COMMAND1
OR
frsBrwsBOM.gcBrwsWind.PageFrame1.Page1.grdBOM.Column1.BackColor = RGB(255,255,0)
It doesn't recognize gcBrwsWind
Why is this happening?
The values look OK to me and they are consistent with what I see within the Form Designer properites window. But VFP does not seem agree for some reason.
Your advice and assistance would be greatly appreciated.
Thanks,
I_Forgot
When I do a "functional convert" of a FPW screen to VFP6 or 7 it creates a formset with my screen 'objects' displayed.
My problem is that when I attempt to use one of the objects VFP tells me that it does not know what I am talking about.
Example resulting from FPW to VFP conversion:
frsBrwsBOM
gcBrwsWind
PageFrame1
Page1
cmgpbDates
Command1
grdBOM
Column1
Header1
Text1
Column2
Header2
Text2
When I attempt to do something like
ThisForm.Command1.Enable = .F.
It doesn't recognize COMMAND1
OR
frsBrwsBOM.gcBrwsWind.PageFrame1.Page1.grdBOM.Column1.BackColor = RGB(255,255,0)
It doesn't recognize gcBrwsWind
Why is this happening?
The values look OK to me and they are consistent with what I see within the Form Designer properites window. But VFP does not seem agree for some reason.
Your advice and assistance would be greatly appreciated.
Thanks,
I_Forgot