I've been trying to hide a button when entering a GET (via the WHEN clause) and displaying / enabling it at GET exit (via the VALID clause). The first part works OK, the second (VALID clause) does not work at all. The button stays hidden.
- Code: Select all Expand view
- @ 025,045 GET oGets[01] VAR adRefDate[1] OF oDlg SIZE 40,10 PIXEL ;
PICTURE "D" CENTER WHEN (oButtons[2]:hide(), oButtons[2]:disable(), .T.) ;
VALID (oButtons[2]:show(), oButtons[2]:enable(), .T.)
Any ideas ?