Well is simple look:
@ 5,5 Button oBtn Prompt Replicate(" ",2)+"&1 - Cheque" Of oDlg Size 190,18 Pixel
SetAlignTextButton( oBtn, "LEFT" )
Function:
- Code: Select all Expand view
- //----------------------------------------------------------------------------------------------------------------------//
#define BS_LEFT 0x00000100L
#define BS_RIGHT 0x00000200L
#define BS_CENTER 0x00000300L
#define BS_TOP 0x00000400L
#define BS_BOTTOM 0x00000800L
#define BS_VCENTER 0x00000C00L
//----------------------------------------------------------------------------------------------------------------------//
Function SetAlignTextButton( oButton, cType )
If cType == "LEFT"
oButton:nStyle:=nOr(oButton:nStyle,BS_LEFT)
ElseIf cType == "RIGHT"
oButton:nStyle:=nOr(oButton:nStyle,BS_RIGHT)
ENDIF
Return Nil
//----------------------------------------------------------------------------------------------------------------------//
My Result: