Page 1 of 1

Position of the text in the checkbox

Posted: Tue Jun 11, 2024 5:04 pm
by Natter
Hi,

Is it possible to change the position of the text in the checkbox (right, left, top, bottom) ?
Or maybe there is a btnbar with a checkbox ?

Re: Position of the text in the checkbox

Posted: Wed Jun 12, 2024 1:42 am
by RAMESHBABU
Hi,

The following may be useful to you.

* Horizontal Alignment Constant
BS_LEFT
BS_CENTER
BS_RIGHT

* Vertical Alignment Constant
BS_TOP
BS_VCENTER
BS_BOTTOM

* To Show Text Left side of Checkbox (Default Right)
BS_LEFTTEXT

oCb:nStyle := nOr(WS_CHILD, WS_VISIBLE, BS_AUTOCHECKBOX, WS_TABSTOP,....Either of Options of Your Choice)

-Ramesh Babu

Re: Position of the text in the checkbox

Posted: Wed Jun 12, 2024 5:38 am
by Natter
Thank you, it suits me !