I need help with the WHEN clause, some items to be disabled for not complying with the condition WHEN all the dialogue is not painted correctly.
http://img704.imageshack.us/i/errorwhen.jpg/
The code used in this part is:
Code: Select all
REDEFINE COMBOBOX oGet[4] VAR cCajero ITEMS aCajeros ID 152 OF oWndChilds ;
UPDATE WHEN !lCostos
REDEFINE CHECKBOX oGet[5] VAR lDetallar ID 150 OF oWndChilds WHEN !lCostos UPDATE
REDEFINE CHECKBOX oGet[6] VAR lCostos ID 151 OF oWndChilds ;
VALID ( oWndChilds:Refresh(),.T. ) WHEN oApp:Accs_Cost UPDATE
FWH 9.06, xHarbour