>>With Thisform >> If this.Value <> .F. && so no need choose operator >> .txtOperator.enabled = .F. >> .cboOperators.enabled = .F. >> .lValidOp = .T. >> Else && Allow choose an operator >> .txtOperator.enabled = .T. >> .cboOperators.enabled = .T. >> If not EMPTY( .nOpCode) >> .lValidOp = .T. && already got an operator from previous choice or default >> Else >> .lValidOp = .F. >> EndIf >> EndIf >> .lmEnablePrint() >>EndWith >> >>>>
>With Thisform > If this.Value && I hope this.Value is not for CheckBox > .txtOperator.enabled = .F. > .cboOperators.enabled = .F. > .lValidOp = .T. > Else && Allow choose an operator > .txtOperator.enabled = .T. > .cboOperators.enabled = .T. > .lValidOp = NOT EMPTY(.nOpCode.Value) > EndIf > .lmEnablePrint() >EndWith >