Please look at following small test application:
Notice that the alignment for the chekboxes are not correct.
This is the PRG part of the reduced sampe to show this:
Code: Select all
#include "FiveWin.ch"
#define CLR_GREY 14342874
#define CLR_WHITE 16777215
Function wfMain()
LOCAL oDlg, oRadio, lRadio:=.F.
DEFINE DIALOG oDlg NAME "TEST_DIALOG"
REDEFINE RADIO oRadio VAR lRadio ID 101 OF oDlg COLOR 0, CLR_WHITE
REDEFINE RADIO oRadio VAR lRadio ID 102 OF oDlg COLOR 0, CLR_WHITE
ACTIVATE DIALOG oDlg CENTERED RESIZE16
RETURN NIL
Code: Select all
TEST_DIALOG DIALOG 21, 51, 271, 121
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
CAPTION "Test Dialog"
FONT 8, "MS Sans Serif"
{
CHECKBOX "Checkbox Right", 102, 16, 32, 90, 14, BS_AUTOCHECKBOX | WS_TABSTOP
CHECKBOX "Checkbox Left :", 101, 17, 16, 80, 14, BS_AUTOCHECKBOX | BS_LEFTTEXT | WS_TABSTOP
}
http://www.WinFakt.be/Ckeckbox_Aligment.zip
Thank you.
Patrick Mast
http://www.winfakt.be