>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