Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox
Message
From
02/06/2005 03:31:32
 
 
To
01/06/2005 11:06:32
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Environment versions
Visual FoxPro:
VFP 8
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01018907
Message ID:
01019248
Views:
30
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform