Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I disable the default properties of the VB contr
Message
From
09/05/2002 02:36:45
 
 
To
08/05/2002 16:29:13
General information
Forum:
Visual Basic
Category:
ActiveX controls
Miscellaneous
Thread ID:
00654227
Message ID:
00654336
Views:
16
1. The only way you can change names of properties, methods or events of some control is to create wrapper ActiveX control, which implements functionality of basic control and changes names of properties, methods or events.

2. You cannot change names of some properties, methods and events, because they are Ambient or Extender members. Some examples:

Properties: Align, Cancel, ToolTipText, Name, Left, Top, Width, Height;
Methods: Drag, Move, SetFocus, ZOrder;
Events: DragDrop, DragOver GotFocus.

This is because these members are not members of the control. I.e. when you place control on the container, CONTAINER adds these members to control and you cannot change this behavior.
Read MSDN article "Extender object" for further information and complete list of Extender members.

P.S. About refreshind report: read MSDN article "Recordset object" for further information.

Plamen Ivanov
MCSD .NET Early Achiever and MCAD .NET Charter Member (VB .NET/SQL Server 2000)
MCSD (VB 6.0/SQL Server 2000)

VB (.NET) - what other language do you need in the whole Universe?...

Previous
Reply
Map
View

Click here to load this message in the networking platform