Print Search Rate
    
   04-23-2003, 3:38 PM
How to Implement the Align Property
The Align property determines where the ActiveSizer control aligns to the form. This property is Read and Write at design time and run time.

Syntax

Object.Align [= Value]

Return Value

Returns a short integer value that indicates the current alignment of the ActiveSizer control. 0   ddasNone - The ActiveSizer control does not align to the form and can be positioned manually.
1   ddasTop - The ActiveSizer control aligns to the top of the form.
2   ddasBottom - The ActiveSizer control aligns to the bottom of the form.
3  ddasLeft - The ActiveSizer control aligns to the left of the form.
4   ddasRight - The ActiveSizer control aligns to the right of the form.
5  ddasFill - The ActiveSizer control fills the entire form.

Example

Private Sub Form_Load() aSizer.Align = ddasFill End Sub

Keywords:


GrapeCity » Knowledge Base » KnowledgeBase f... » How to Implement the Align Property
Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.