General information
Category:
Coding, syntax & commands
>>>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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only