VScrollBar  Weight

Chapter 3: Property Descriptions and Usage

VTextAlign

Applies to

PictureButton controls

Description

The HTextAlign property specifies how the text label for the PictureButton control is aligned in relation to the picture.

Usage


In a painter

StepsTo set the vertical alignment of text:

  1. Select the desired alignment from the VTextAlign drop-down list on the General tab of the control’s Properties view.


In scripts

The VTextAlign property takes a value of the VTextAlign enumerated datatype.

The following example specifies bottom alignment for text in a PictureButton.

pb_1.VTextAlign = Bottom!





Copyright © 2004. Sybase Inc. All rights reserved. Weight

View this book as PDF