Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Restricting Access to a text box
Message
From
19/02/2002 06:53:16
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
19/02/2002 02:39:09
Rasheed Al Rasheed
Riyadh Armed Forces Hospital
Riyadh, Saudi Arabia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00621671
Message ID:
00621806
Views:
21
>I use the When method of the textbox and it works just fine.
>example
>
> if mylogical
> return .T.
> else
> return .F.
> endif
>
>Hope this helps.

Just in case you don't know it already:

1) Code is more readable when you use the HTML codes < PRE > at the beginning and < /PRE > at the end (without the spaces).

2) Your code above is equivalent to:
return mylogical
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Reply
Map
View

Click here to load this message in the networking platform