Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
Ruby
adding to FXRuby classes
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Lyle Johnson, post: 4439782"] As you may have deduced, the FXList class uses the stock version of FXScrollbar (from the C++ library) and doesn't know about any changes you've made to the Ruby version's initialize() method. However, you may still be able to get the effect you're after by first constructing the FXList instance: aList = FXList.new(...) and then accessing its horizontalScrollbar and verticalScrollbar members to make the desired changes, e.g. aList.horizontalScrollbar.borderColor=FXColor::Green aList.horizontalScrollbar.hiliteColor=FXColor::Green aList.horizontalScrollbar.shadowColor=FXColor::Black aList.horizontalScrollbar.backColor=FXColor::Black I hope this is a typo, but you should be using one of the fox-1.0.x version libraries with FXRuby-1.0.29. fox-1.2.9 is definitely incompatible with FXRuby-1.0.29. Hope this helps, Lyle [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
Ruby
adding to FXRuby classes
Top