I would need 3 groups of independent radiobuttons.
I use a resource. How can I group the buttons?
Could someone help me please.
Thanks in advance
Otto
REDEFINE RADIO cField1 ID 101,102,103 OF oDlg
REDEFINE RADIO cField2 ID 104,105,106 OF oDlg
REDEFINE RADIO cField3 ID 107,108,109 OF oDlg
// RESOURCE SCRIPT generated by "Pelles C for Windows, version 5.00".
#include <windows.h>
#include <commctrl.h>
#include <richedit.h>
LANGUAGE LANG_ENGLISH,SUBLANG_ENGLISH_US
1001 DIALOGEX DISCARDABLE 6, 18, 210, 142
STYLE DS_SHELLFONT|WS_POPUP|DS_MODALFRAME|DS_CONTEXTHELP|DS_3DLOOK|WS_CAPTION|WS_SYSMENU|WS_VISIBLE
CAPTION "Dialog"
FONT 8, "MS Shell Dlg", 0, 0, 1
{
CONTROL "OK", IDOK, "Button", WS_TABSTOP, 160, 5, 45, 15
CONTROL "Cancel", IDCANCEL, "Button", WS_TABSTOP, 160, 23, 45, 15
CONTROL "Radio-button", 4001, "Button", BS_AUTORADIOBUTTON|WS_GROUP|WS_TABSTOP, 8, 32, 56, 10
CONTROL "Radio-button", 4002, "Button", BS_AUTORADIOBUTTON, 8, 48, 56, 10
CONTROL "Radio-button", 4003, "Button", BS_AUTORADIOBUTTON, 8, 64, 56, 10
CONTROL "Radio-button", 4004, "Button", BS_AUTORADIOBUTTON|WS_GROUP|WS_TABSTOP, 84, 48, 56, 10
CONTROL "Radio-button", 4005, "Button", BS_AUTORADIOBUTTON, 84, 64, 56, 10
}
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 96 guests