Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Changes its mind over Checkbox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 7 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Divers
Thread ID:
01133547
Message ID:
01133752
Vues:
14
>>>>Alright, you've cut down my code a bit :-)
>>>>
>>>>But what do you mean by && I hope this.Value is not for CheckBox ?
>>>
>>>Because If this.Value is direct test for logical value. I assumed that .nOpCode is the CheckBox in question.
>>
>>.nOpCode is a form prop to hold the Operator code either returned from the combo or input at the text box.
>
>Then the code should be:
>
>With Thisform
>     .txtOperator.enabled    = EMPTY(this.Value)
>     .cboOperators.enabled   = EMPTY(this.Value)
>     .lValidOp		     = EMPTY(this.Value) OR .nOpCode
>     .lmEnablePrint()
>EndWith
>
>:o)

We could go on. Why not:
With Thisform
  Store EMPTY(this.Value) to .txtOperator.enabled, .cboOperators.enabled   
  .lValidOp = EMPTY(this.Value) OR .nOpCode
  .lmEnablePrint()
EndWith
:-)
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform