Position of the text in the checkbox

Position of the text in the checkbox

Postby Natter » Tue Jun 11, 2024 5:04 pm

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 ?
Natter
 
Posts: 1214
Joined: Mon May 14, 2007 9:49 am

Re: Position of the text in the checkbox

Postby RAMESHBABU » Wed Jun 12, 2024 1:42 am

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
User avatar
RAMESHBABU
 
Posts: 624
Joined: Fri Oct 21, 2005 5:54 am
Location: Secunderabad (T.S), India

Re: Position of the text in the checkbox

Postby Natter » Wed Jun 12, 2024 5:38 am

Thank you, it suits me !
Natter
 
Posts: 1214
Joined: Mon May 14, 2007 9:49 am


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 47 guests