Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Disable access when an OCX is run
Message
De
04/12/1997 11:45:37
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Titre:
Disable access when an OCX is run
Divers
Thread ID:
00063836
Message ID:
00063836
Vues:
89
From a form, I have a button which is calling a method of my OCX. When that method is running, I would like to disable access to the interface. In my OCX, I did this to lock the interface:

llEnabled = Parent.Enabled
Parent.Enabled = False

However, this won't work when running the OCX in another environment.

I can remove it from the OCX and have the developers take care of it from their form but this is not what I want. I would like to handle it from the OCX level in case the developers forget to add this code.

Any idea?
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform