I hope someone can help me.
I need for my Programm a wx.CheckListBox but i need it with a 3 state checkbox not with a 2 state.
Is it possible under wxPython 2.8.11.0 for python 2.7
Thanks for the help,
Alex
I hope someone can help me.
I need for my Programm a wx.CheckListBox but i need it with a 3 state checkbox not with a 2 state.
Is it possible under wxPython 2.8.11.0 for python 2.7
Thanks for the help,
Alex
No, but you should be able to adapt CheckListCtrlMixin, or make a similar class, that handles the 3 states.
On 9/14/11 3:13 AM, Alex Hefner wrote:
I hope someone can help me.
I need for my Programm a wx.CheckListBox but i need it with a 3 state
checkbox not with a 2 state.
Is it possible under wxPython 2.8.11.0 for python 2.7
--
Robin Dunn
Software Craftsman
Then what is the 3-state checkbox demo for? That works for me in 2.8.10 on Windows…looks like the style flags are wx.CHK_3STATE | wx.CHK_ALLOW_3RD_STATE_FOR_USER. Works in the Checkbox demo for me.
In the demo there is a sample of a 3-state checkbox. No need to make a
custom widget .... i haven't checked the V2.9 demo yet though ....
See the CheckBox demo
Am 14.09.11 18:51, schrieb Robin Dunn:
On 9/14/11 3:13 AM, Alex Hefner wrote:
I hope someone can help me.
I need for my Programm a wx.CheckListBox but i need it with a 3 state
checkbox not with a 2 state.
Is it possible under wxPython 2.8.11.0 for python 2.7No, but you should be able to adapt CheckListCtrlMixin, or make a
similar class, that handles the 3 states.
--
--------------------------------------------------
Tobias Weber
CEO
The ROG Corporation GmbH
Donaustaufer Str. 200
93059 Regensburg
Tel: +49 941 4610 57 55
Fax: +49 941 4610 57 56
www.roglink.com
Geschftsfhrer: Tobias Weber
Registergericht: Amtsgericht Regensburg - HRB 8954
UStID DE225905250 - Steuer-Nr.184/59359
--------------------------------------------------
Then what is the 3-state checkbox demo for? That works for me in
2.8.10 on Windows...looks like the style flags are wx.CHK_3STATE |
wx.CHK_ALLOW_3RD_STATE_FOR_USER. Works in the Checkbox demo for me.
Ha ... same here
It's there under OSX as well and working
Am 14.09.11 19:16, schrieb Mike Driscoll:
-------------------
Mike DriscollBlog: http://blog.pythonlibrary.org
--
To unsubscribe, send email to wxPython-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wxPython-users?hl=en
--
--------------------------------------------------
Tobias Weber
CEO
The ROG Corporation GmbH
Donaustaufer Str. 200
93059 Regensburg
Tel: +49 941 4610 57 55
Fax: +49 941 4610 57 56
www.roglink.com
Geschftsfhrer: Tobias Weber
Registergericht: Amtsgericht Regensburg - HRB 8954
UStID DE225905250 - Steuer-Nr.184/59359
--------------------------------------------------
Alex was asking about the wx.CheckListBox, which is a very different thing than wx.CheckBox.
On 9/14/11 10:16 AM, Mike Driscoll wrote:
Then what is the 3-state checkbox demo for? That works for me in 2.8.10
on Windows...looks like the style flags are wx.CHK_3STATE |
wx.CHK_ALLOW_3RD_STATE_FOR_USER. Works in the Checkbox demo for me.
--
Robin Dunn
Software Craftsman
Looks like we’re all blind. Sorry for the noise.
Thanks Robin I try it
I changed from checklistbox to a treectrl with icons in front of them.
I draw the icons with the DrawCheckBox command so i dont need a 3 state checkboxlist anymore.
My Problem now:
when i have the windows classic design under windows xp the drawn checkboxes dont look like the “real” checkboxes but this isnt the big problem …
the big problem is that the undetermined and the unchecked checkbox look the same.
i dont know why because when i switch to the normal windows xp design the checkboxes look like the “real” checkboxes
is it a bug or is this function not compatible with the classic windows design?
Thanks,
Alex