Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object referenceing
Message
 
À
25/10/1999 13:49:58
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00281091
Message ID:
00281103
Vues:
14
Hi Michael,

Which object & method are you using to set the control sources?


>I have created a new class that is based on control. Within this class I have a textbox and a listbox. I gave the container a new property also. The listbox.rowsource references this new property: ie. list1.rowsource = thisform.this.tabname.
>
>And that part works.
>
>
>I also want the textbox's controlsource property to reference the control's new property: ie.
>text1.controlsource = thisform.this.tabname.
>
>But with that it bombs out... the error I recieve is 'Unknown member THIS. Unbinding object text1'
>
>Why would it work with the listbox and not the textbox?
>
>I have also tried: text1.controlsource = this.tabname
>
>I recieved: "Property TABNAME is not found. Unbinding object text1"
>
>Thanx,
>
>
>
>Michael Mead
kenweber
GCom2 Solutions
Microsoft Certified Professional

Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform