Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ActiveX.Enabled property not working
Message
From
04/04/2001 04:17:50
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00491683
Message ID:
00491728
Views:
8
>Hi, everybody!
>
>When using some ActiveX controls (like TreeView and DateTime Piker) i can't have the enabled property working fine. When I change it's value, it doesn't make any effect. The only way i can get the change of the enabled property working is when I change it in the specific control properties within the form designer. But i need to do that inside my code! Any ideas? With the datetime picker, i'm making it invisible when i don't want the user to change it's value.
>
>TIA
>
>Alonso

Alonso,
Use 'object' keyword.ie :
thisform.OleTreeview.object.enabled = .F.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform