Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Method is Read-Only??
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00196632
Message ID:
00196757
Vues:
36
Ok, here is a for example..

I have a custom lib that has a combo box in it.. I have two of these combo boxes on the form...

They are exactally the same...

in the form, I want to edit a method (init) to incorp some changes that I made in the data environment. I can't because the init method is listed as read only. I can't edit the code at all. but only for one of the combo boxes on the form.. the other one works fine.

>>Hello,
>> Why is it that when I try and go into some objects on my form and edit some of their events and methods that they are now listed as read-only? what happened and how do I fix it?
>
>I'm not sure what you mean by listed as read only but generally if you subclass a control some methods and events will be listed on the properties sheet as default. You can right click the control and select code then select the method and issue a dodefault() at the beginning of the method or event code if you want to retain the default behavior. Some base class methods exec the default behavior even if you don't issue a dodefault().
>
>HTH,
---
Jason K. Monroe
Applications Developer / Systems Analyst
"It's impossible to look to the future,
When your always staring at the past."
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform