Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Referencing buttonset properties
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00006365
Message ID:
00006389
Vues:
53
>>>>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

[...snip...]

>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.

Why shouldn't this be a valid condition? I think he just probably needs something like:
WITH THISFORM.PAGEFRAME1.PAGE1.BUTTONSET1 
  IF (.EDITMODE.VALUE = .F.) OR (.ADDMODE.VALUE = .F.)
    THIS.Refresh()
  ENDIF
ENDWITH
alistair israel
Distressed DBA, Sleepy SysAd, Weary WebMaster (aka Senior Software Engineer)
aisrael@poboxes.com
Makati City, Philippines
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform