Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Unknown Member
Message
 
À
10/07/2002 09:43:38
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Divers
Thread ID:
00677020
Message ID:
00677022
Vues:
24
And ControlSource (data source) for ComboBox, Exists ?
(properties, fields etc.)

MartinJ

>I have converted an SCX form to a VXC form class. All ran OK when the form was launched via a DO FORM.
>
>However, when instantiating the same form as a class, a piece of show control logic as follows :-
>
>
>if empty(thisform.cboTypes.Value)
>   this.enabled = .f.
>endif
>
>
>Is giving the error "Unknown Member cboTypes".
>
>If I further amend the code as follows :-
>
>
>if pemstatus(thisform, "cboTypes", 5) <-- Returns True as the property exists - I can see it in the debugger too.
>   if empty(thisform.cboTypes.Value) <-- Unknown Member cboTypes
>      this.enabled = .f.
>   endif
>endif
>
>
>So, this worked as an SCX but not in an unchanged VCX form. Any ideas what is happening here?
>
>Thanks!
"Navision is evil that needs to be erazed... to the ground"

Jabber: gorila@dione.zcu.cz
Jabber? Jabbim
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform