Home > Code Library > SmartMenuXP > TextAlign

Last Update 01 Nov 2001

 


Search:



  

Options:

   

   

   

   



SmartMenuXP
Reference

TextAlign Property

Returns an enumerated value stating what kind of text alignment the menuitems on the menubar will have.

Syntax

object.TextAlign [= number]

The TextAlign property syntax has these parts:

Part Description
object An object expression that evaluates to a SmartMenuXP object.
number An integer that specifies how text is displayed, as described in Settings.

Settings

The settings for number are

Constant Setting Description
mxpLeft 0 Align to the left.
mxpCenter 1 (Default) Align in the center.
mxpRight 2 Align to the right.

At design time, the default TextAlign for the SmartMenuXP is set to 1-mxpCenter.

Remarks

This property is useful when used in conjunction with Align and Wrappable

 

 
Copyright © 2001, Andrés Pons (andres@vbsmart.com). All rights reserved.