The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....



PosX


Unit:SDL_rasterlab
Class:TRasterLab
Declaration:property PosX: integer;

The property PosX determines the horizontal position of the upper left corner of the text in pixel coordinates. You may use PosX and PosY to move the text to any position, even to a position outside of the visible display area.

Hint: Please note that the property PosX is changed automatically if scrolling is enabled (i.e. if ScrollMode is not equal to rdsmOff) or the property AutoCenter is set TRUE.

Example: This property is used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): rasterlabel



Last Update: 2023-Dec-13