Search found 6 matches

by neglio
Tue Mar 24, 2009 4:17 pm
Forum: C++ Development
Topic: How to change wxRadioBox labels colors
Replies: 12
Views: 2975

Ok, thanks. But, why doesn't the SetForegroundColour() method of wxRadioButton work?
by neglio
Tue Mar 24, 2009 3:42 pm
Forum: C++ Development
Topic: How to change wxRadioBox labels colors
Replies: 12
Views: 2975

Excuse me, could you explain me what i have to understand from your posted code? What i have to do to change a label color?
Regards
by neglio
Tue Mar 24, 2009 12:37 pm
Forum: C++ Development
Topic: How to change wxRadioBox labels colors
Replies: 12
Views: 2975

Is that a bug of wxRadioButton ?

I've tried to use wxStaticBox + wxRadioButton to realize a radiobox, but i still have no way to change the label color of a wxRadioButton.

I use wxWidgets.2.8.10 on WinXP 32 bit, and radioButtonb1->SetForegroundColour(*wxWHITE) seems no work.

Is that a bug of wxRadioButton ?
by neglio
Thu Mar 12, 2009 11:05 pm
Forum: C++ Development
Topic: How to change wxRadioBox labels colors
Replies: 12
Views: 2975

lester wrote:Maybe just use wxStaticBoxSizer + wxRadioButtons?
is there no way to do it with wxRadioBox?
by neglio
Thu Mar 12, 2009 8:39 pm
Forum: C++ Development
Topic: How to change wxRadioBox labels colors
Replies: 12
Views: 2975

Hi,
i use Windows XP 32 bit and 64 bit.
Do you know what i have to do?
by neglio
Wed Mar 11, 2009 11:41 am
Forum: C++ Development
Topic: How to change wxRadioBox labels colors
Replies: 12
Views: 2975

How to change wxRadioBox labels colors

Hi, i have to change the color of the radio buttons label in a wxRadioBox, but can only change the color of the wxRadioBox description. How can I do? I ve tried the following code, but it does not work : _toolbar->SetBackgroundColour(*wxBLACK); _toolbar->SetForegroundColour(*wxWHITE); wxString radio...