... OF oDlg; WHEN !EMPTY( cVar ) ACTIVATE DIALOG oDlg; CENTER RETURN NIL Try this instead: REDEFINE BUTTON oBtn ID 102 OF oDlg WHEN !empty(oGet:oGet:varget()) Note that there is a double oGet (because there is a Clipper get object inside the FW get object). I think you need to use this to get the ...
oGet:value() just calls oGet:VarGet() so you can use either one. METHOD Value() INLINE ::VarGet() VarGet() may be easier to remember since SAYs, GETs, Comoboxes, and RadioMenus all have a VarGet() method. This is polymorphism (same names ...
... in a Office2007-ButtonBar --------------------------------------------------------- GET = oGet:Value(), oGet:Refresh() SAY = oSay:Varget(), oSay:Refresh() RADIO = oRadio:nOption, oRadio:Refresh() CHECKBOX = oCheck:Varget(), oCheck::Refresh() SEND new Values from Office2007-ButtonBar ...
... in a Office2007-ButtonBar --------------------------------------------------------- GET = oGet:Value(), oGet:Refresh() SAY = oSay:Varget(), oSay:Refresh() RADIO = oRadio:nOption, oRadio:Refresh() CHECKBOX = oCheck:Varget(), oCheck::Refresh() SEND new Values from Office2007-ButtonBar ...
... How to get the Child-Values when Switching to Office2007-Bar !!!! ------------------------------------------- cGET = oGet:Value() cSAY = oSay:Varget() nRADIO = oRadio:nOption lCHECK = oCheck:Varget() ------------------------------------ It works, but is there maybe another way, to handle this ...
... can not modify the orginal value, but can modify the Get variable through VarPut. The postedit method calls the bOnPostEdit with whatever is the varget() ( in other words eval( oget:bsetget) ) at that time. So if we modify the value in valid clause, PostEdit method calls bOnPostEdit block with ...
msginfo( oget:varget() ) shows the entered value of 6. Also at that moment I see 6 in the edit cell in the browse also ( we refreshed the get just before).
But after the valid function returns, the cell in xbrowse is repainted with orginal value.