FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Position of the text in the checkbox
Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Position of the text in the checkbox
Posted: Tue Jun 11, 2024 05: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 ?
Posts: 654
Joined: Fri Oct 21, 2005 05:54 AM
Re: Position of the text in the checkbox
Posted: Wed Jun 12, 2024 01: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

Posts: 1392
Joined: Mon May 14, 2007 09:49 AM
Re: Position of the text in the checkbox
Posted: Wed Jun 12, 2024 05:38 AM

Thank you, it suits me !

Continue the discussion