Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Get object name
Message
From
21/07/2006 09:39:49
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
21/07/2006 09:32:07
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01138397
Message ID:
01138403
Views:
10
>In my main program I am opening my main form:
>goSupervisor = NEWOBJECT('frmSupervisor', 'supervisor.vcx')
>
>Is it possible to get a name of an object ("goSupervisor") inside of the form?
>
>Thanks

Mark,
What do you mean? goSupervisor is a reference. Like thisform inside the form instance you can use it to refer to a control int it. ie:
for ix=1 to goSupervisor.ControlCount
? goSupervisor.controls(m.ix).Name
endfor
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform