Ok…. Finally past this wxBitmapButton.
wxToggleButton is next..
This is sort of interesting since I don’t recall this in Vb6.. Maybe it’s there, just never used it…
The previous widget, wxBitmapButton had three states, selected, focused and displayed.
WxToggleButton has only two, pressed and not pressed.
This sort of looks like a checkbox command less the checkbox..
Alright lets see if there is anything exciting here…
Actually, this so sort of interesting from the application side.
There’s a couple of interesting things going on here…
You have 3 toogle buttons, red,green, blue and a panel..
All buttons off we have black in the panel, all on you have white…. Permutations well I think you can guess what happens…
There a wxColour object.. It is initially set by,
Bunch of interesting things… but nothing worth stoping… The event handler is still a little fuzzy for me…
On to the next one…
-
Archives
- April 2023
- November 2017
- April 2017
- March 2017
- March 2016
- February 2016
- January 2016
- December 2015
- November 2015
- August 2015
- May 2015
- February 2015
- January 2015
- December 2014
- November 2014
- October 2014
- June 2014
- April 2014
- February 2014
- January 2014
- December 2013
- November 2013
- October 2013
- July 2013
- June 2013
- May 2013
- April 2013
- January 2013
- December 2012
- November 2012
- October 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- October 2011
- July 2011
- May 2011
- April 2011
- March 2011
- February 2011
- January 2011
- December 2010
- November 2010
- October 2010
- September 2010
- August 2010
- July 2010
- April 2010
- February 2010
- January 2010
- December 2009
- November 2009
- October 2009
- September 2009
- August 2009
- July 2009
- June 2009
- May 2009
- April 2009
- March 2009
- February 2009
- January 2009
- December 2008
- November 2008
- October 2008
- September 2008
- August 2008
- July 2008
- June 2008
- May 2008
- April 2008
- March 2008
-
Meta