Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List boxes
Message
 
 
To
12/06/2000 14:48:30
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00379425
Message ID:
00380042
Views:
18
Jon,

RETURNing .F. from the init of a control does not disable it, it prevents the control from instantiating

Rick

>>Select holidays
>>Locate for holidays.date=date()
>>If found()
>>This.enabled=.f.
>>endif
>
>Ian,
>
>use Return .F. instead of this.enabled = .f.
>
>Returning false from the init event prevents the control from being created
>
>Jon
Rick Hodder
MCP Visual Foxpro
C#, VB.NET Developer
Independent Consultant
www.RickHodder.com
MyBlog
Previous
Reply
Map
View

Click here to load this message in the networking platform