Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Referencing buttonset properties
Message
De
21/08/1996 18:55:53
 
 
À
21/08/1996 17:18:54
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00006365
Message ID:
00006371
Vues:
56
>>>I am trying to reference two prop in a wiz gen buttonset, specifically editmode and addmode. I am using this to keep the proper val displayed in a drop list box.
>>>I have this in my interactivechange event for the listbox:
>>>IF THISFORM.BUTTONSET1.EDITMODE.VALUE= .F. OR THISFORM.BUTTONSET1.ADDMODE.VALUE = .F.
>>> THIS.REFRESH
>>>ENDIF
>>>
>>>I get unknown member pointing to buttonset1.
>>>My hierarchy is this: FORM1.PAGEFRAME1.PAGE1.BUTTONSET1
>>>I have tried every combination trying to ref this thing but nuthin works...
>>
>>Use "this.refresh()" instead of "this.refresh". You need the brackets even there are no parameters.
>
>If I try it with no conditional statements the 'this.refresh' works. I am having problems with referencing the properties in the buttonset.

Then, try:

IF not THISFORM.BUTTONSET1.EDITMODE.VALUE OR not THISFORM.BUTTONSET1.ADDMODE.VALUE

I am not very sure (and I can't test it now), but I think that "AVariable=.t." (or .f.) is not a valid condition even if AVariable is logic.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform