Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Missing Feature In VFP 7.0?
Message
 
To
06/09/2002 14:36:04
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00697186
Message ID:
00697700
Views:
20
Alan,

you could try the following:
x = _VFP.Objects(1)
You don't have Intellisense on the x variable, but you can put x in the debugger's Watch window and see, if you can find anything usefull in there. You can also have a look at all objects in _VFP.Objects, to find other information. You get the count of the Objects collection with
lnCount = _VFP.Objects.Count
Update: Make sure you clear all references to the objects collection before closing any of the form or class designers. Otherwise you'll have to kill the VFP process, since it will hang ...

HTH,
Armin

>>>>>In VFP 6.0 SP5 (or SP3?) the following code worked:
>>>>>
>>>>>MODI FORM (myform) NOWAIT
>>>>>
>>>>>FOR ln = 1 TO _screen.FormCount
>>>>> IF _screen.Forms(ln).Name = "form1"
>>>>> lo = _screen.Forms(ln)
>>>>> EXIT
>>>>> ENDIF
>>>>>ENDFOR
>>>>>lo.Caption = "I can change the form's caption in developer mode!"

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform