Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox
Message
From
01/06/2005 11:06:32
 
 
To
01/06/2005 06:37:10
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:
01018970
Views:
19
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