>>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 !empty(this.Value) && 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 >> >>