Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Inconsistent behavior
Message
From
04/02/2002 08:21:59
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Inconsistent behavior
Miscellaneous
Thread ID:
00614727
Message ID:
00614727
Views:
52
Hi,

If I create simnple form 'myform' and put a button (or any control) on it - say 'mybtn' and then do "Do Form myform" from the command window, I can then go change the name of the button by typing "MyForm.MyBtn.name = 'Homer'" - works fine - and as advertised in the help (name property is read/write at run time)

If the form is creted as a vcx and instantiated with "oForm = newobject('Myform','MyLib')", however, and I try to do the same thing via "o.MyBtn.name = 'Homer'" - I get a 'property is read only' error!

What the heck is up with that?

TIA,
Ken B. Matson
GCom2 Solutions
Next
Reply
Map
View

Click here to load this message in the networking platform