Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Textbox
Message
De
02/06/2005 03:31:32
 
 
À
01/06/2005 11:06:32
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Versions des environnements
Visual FoxPro:
VFP 8
Database:
Visual FoxPro
Divers
Thread ID:
01018907
Message ID:
01019248
Vues:
31
hi,
thank you for reply,
this code under ,it works as what i need exactly
thisform.text4.visible  =Thisform.text4.value>0
thisform.label1.Visible=Thisform.text4.value>0
thisform.text5.visible=Thisform.text5.value>0
thisform.label2.Visible=Thisform.text5.value>0
thisform.text6.visible=Thisform.text6.value>0
thisform.label3.Visible=Thisform.text6.value>0
thisform.text7.visible=Thisform.text7.value>0
thisform.label4.Visible=Thisform.text7.value>0
.
.
.
best regards
m.qasem
>try this under form refresh
>
> for each oTxtBox in this.objects
> if lower(oTxtBox.baseclass) = 'textbox'
> oTxtBox.visible = oTxtBox.value > 0
> endif
> endfor
>
>if you have other textboxes in the form you should test also the object name
>
>HTH
>
>
>>hi all,
>>any idea,help .
>>
>>if i have 10 textboxes at my form as thisform.text1.value to thisform.text10.value or mor,
>>
>>if any textbox >0 visible=.t
>>else
>>visible=.f
>>endif
>>
>>thanks.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform