Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ActiveX.Enabled property not working
Message
De
04/04/2001 04:17:50
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00491683
Message ID:
00491728
Vues:
9
>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform