Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Referencing buttonset properties
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00006365
Message ID:
00006389
Views:
51
>>>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform