Donate Share

wxWidgets Dialog Designer

Tracker: Bugs

5 Missing Slider wxSL_BOTH functionality - ID: 2889403
Last Update: Comment added ( tymk )

Could set Wx_SliderStyle = [wxSL_BOTH] and TickMarks = tmBoth when
(wxSL_VERTICAL and wxSL_LEFT and wxSL_RIGHT) or (wxSL_HORIZONTAL and
wxSL_TOP and wxSL_BOTTOM) ?


tim ( tymk ) - 2009-10-30 11:38

5

Open

Accepted

Tony Reina

Controls

None

Public


Comments ( 8 )




Date: 2009-11-12 21:06
Sender: tymk

A ha. I have Vista, so it took me a few tries, but it is working perfectly
now. Thank you.


Date: 2009-11-11 21:28
Sender: tbreinaProject AdminAccepting Donations

All you need to do is to download the latest wxdsgn devpak. It contains a
compile version of the plugin and should copy itself over your existing
plugin (wxdsgn.bpl). You can get it via Tools->Check for Updates.



Date: 2009-11-11 19:53
Sender: tymk

Tony, I looked at your changes in the code, and they look like they are
good. Not sure if I can plug in the plug-in without compiling the code?
If I need to compile it myself, I was not able to set up the development
environment, looks like key codes are no longer available for Delphi 6 PE
(at least not legally). If I do not need to compile it then I'll need a
little guidance to make it work.


Date: 2009-11-03 19:09
Sender: tbreinaProject AdminAccepting Donations

Ok. I added it and fixed the background color bug. I just uploaded a new
wxdsgn plugin 7.2.2.38. Give it a try and let me know if that works for
you.

-Tony



Date: 2009-11-03 13:01
Sender: tymk

Thanks Tony, that would be great!

I did not see it in the documentation either, but I found it in
wx/slider.h


Date: 2009-11-03 03:59
Sender: tbreinaProject AdminAccepting Donations

Ok. I can easily add the wxSL_BOTH.

The only question I have is that I don't see that style listed in the
online man page for wxSlider
(http://docs.wxwidgets.org/stable/wx_wxslider.html#wxslider). Is this a new
style? Can you point me to the right place in the docs for it?

Thanks.
-Tony



Date: 2009-11-02 18:33
Sender: tymk

I am new to both wxWidgets and wxDev C++, but a quick test shows that
wxSL_LEFT, wxSL_RIGHT, wxSL_TOP, wxSL_BOTTOM and wxSL_BOTH are not mutually
exclusive and there are some rules in place to determine how different
combinations are handled.

So maybe the solution is to add wxSL_BOTH to the slider properties?

BTW, I appreciate the work you are doing!


Date: 2009-11-02 04:30
Sender: tbreinaProject AdminAccepting Donations

What should the correct behavior be? Are the flags mutually exclusive? If
so, then it's something we can't easily change since the properties
inspector we use doesn't allow for mutually exclusive flags.


Log in to comment.




Attached File

No Files Currently Attached

Changes ( 7 )

Field Old Value Date By
resolution_id Fixed 2009-11-12 21:06 tymk
status_id Pending 2009-11-11 19:53 tymk
close_date 2009-11-03 19:09 2009-11-11 19:53 tymk
close_date - 2009-11-03 19:09 tbreina
status_id Open 2009-11-03 19:09 tbreina
resolution_id None 2009-11-03 19:09 tbreina
assigned_to gururamnath 2009-11-02 04:30 tbreina