Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Textbox
Message
From
01/06/2005 08:04:15
 
 
To
01/06/2005 07:56:44
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:
01018925
Views:
13
hi,
i get error message missing expression

>My fault, in the Refresh you must use
>this.visible=eval(this.controlsource)>0
>I think this is a better solution, because you put the code where it belongs!
>
>>hi,
>>thank you,but when i run myform all of text is visible.f.
>>any way thanks alot,
>>Mr.Vladimir Zografski send what i need .
>>thank you both.
>>best regards.
>>m.qasem
>>
>>>Put this line in the refresh of each textbox:
>>>This.visible=This.value>0
>>>
>>>>ok,
>>>>at command button at click,
>>>>i see at myform ex..
>>>>
>>>>tex1 have value as 25 ,visble=.t. becuse i need to see this number
>>>>text2 ......         10
>>>>test3.......          0  visble=.f. becuse no number
>>>>text4.......         50
>>>>text5.......          0
>>>>.
>>>>.
>>>>.
>>>>
>>>>
>>>>thanks
>>>>
>>>>>I am afraid that I don't understand. Please give some examples where you want visible=.T., and some examples where visible=.F.
>>>>>
>>>>>>hi,
>>>>>>i try under command button as
>>>>>>This.visible=thisform.text4.value>0 or thisform.text5.value>0
>>>>>>if thisform.text4.value=0 or
>>>>>>thisform.text4.value=0 or thisform.text5.value=0
>>>>>>
>>>>>>the command button disappaer ,
>>>>>>i need as under
>>>>>>if thisform.text4.value=0 && visible=.f.
>>>>>>thanks
>>>>>>>
This.visibe=txtBox1.value>0 or txtBox2.value>0 or txtBox3.value>0 or txtBox4.value>0 ..... or txtBox10.value>0
>>>>>>>
>>>>>>>
>>>>>>>>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