Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BorderStyle property not consistent.
Message
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Contrôles ActiveX
Titre:
BorderStyle property not consistent.
Divers
Thread ID:
00127030
Message ID:
00127030
Vues:
59
I am using the ActiveX Control Interface Wizard and I found some inconsistency that you may surely answer me.

I have launched the wizard on a new ActiveX control with only a label control on it. I have deselected all availables methods, properties and events except BorderStyle and Enabled. Then I have mapped these two properties to the UserControl object (which recognize these two properties automatically). My control is then created. Easy!!!

But when I place an instance of this powerful new control a form of a standard EXE, I see two things:
1. the Enabled property work fine (I have the True/False values that I can change)
2. the BorderStyle property causes me a problem: it loose it's enumeration of values!!! Now all I have is a text box in which I can enter 0 or 1.

To try to correct the problem, I went to the Procedure Attributes options of the Tool menu, I select the BorderStyle property, click on the Advanced button, and select BorderStyle in the Procedure ID: listbox.

After all this, it doesn't work. I hope you have good news for me!!!

I am using VB5 SP3.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com
Répondre
Fil
Voir

Click here to load this message in the networking platform