Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Help
Message
From
23/06/2002 08:51:56
 
 
To
22/06/2002 18:33:23
General information
Forum:
Visual Basic
Category:
ActiveX controls
Title:
Re: Help
Miscellaneous
Thread ID:
00671419
Message ID:
00671462
Views:
16
1. In property browser set Alignable property of UserControl to True.
2. In Resize event of UserControl put this code:
Option Explicit

Private Sub UserControl_Resize()
  
  Extender.Align = vbAlignTop
End Sub
You can change vbAlignTop constant to vbAlignBottom, vbAlignLeft or vbAlignRight if you want control to aligns bottom, left or right respectively.

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
Next
Reply
Map
View

Click here to load this message in the networking platform