Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inconsistent behavior
Message
De
04/02/2002 08:21:59
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Inconsistent behavior
Divers
Thread ID:
00614727
Message ID:
00614727
Vues:
53
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform