Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unable to change class property
Message
 
À
21/06/1998 17:50:00
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00110397
Message ID:
00110411
Vues:
23
Hi Bob,

Is the height property marked as Protected in the heirarchy of classes? This could be one of the reasons.

>I’ve got myself into some trouble that I believe comes from some aggressive class changes done directly through the modification of MyClassName.VCX. My normal activity has been to change the value of the Class and ClassLoc fields. I am too far down the road to start over again and so am looking for some help.
>
>Problem: I have a TextBox3 class that points to a TextBox2 class that points to a TextBox1 class that points to the FoxPro base class TextBox. I say points to rather than inherited from because it was me that changed the field entries in the VCX that holds the TextBox3 class. In general everything works fine, and I’ve done this in many places.
>
>In this ONE case the height property in my TextBox3 cannot be changed. I click on the property in the properties list (which shows 19), I change it to 18 at the top and hit enter, and it changes back to 19 at the top. I reset the property to default and the bold display disappears, but the value remains at 19. TextBox2 (and all others up the line) have a default of 23. I go to MyClassName.VCX change the Properties Memo field to show 18 instead of 19, do a "compile class MyClassName" but I’ve still got a height of 19.
>
>Any Ideas would be appreciated.
>
>Bob
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform