Changing the colour of FXList's FXScrollCorner

Hi all,

I'm trying to change the default colour of that little
square that appears between the horizontal and
vertical scrollbars of an FXList - the widget in
question is an FXScrollCorner. However, there doesn't
seem to be a getter for the FXScrollCorner that is
contained in an FXList instance - anyone have any
ideas how I might work around this?

thanks,

Brian

···

__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail

Here is a workaround that should work, but you should think of this as
an undocumented thing that's not guaranteed to work in the future.
Would be best for you to file a feature request at the FXRuby project
page (http://rubyforge.org/tracker/?atid=1226&group_id=300&func=browse\),
so that we can add a legitimate accessor method for the scroll corner.

Anyways, calling FXList#verticalScrollbar#next should return a
reference to the list's FXScrollCorner.

Hope this helps,

Lyle

P.S. Are you subscribed to the fxruby-users mailing list? If not,
please see the information at http://www.fxruby.org about how to sign
up and consider doing so.

···

On Wed, 25 Aug 2004 08:03:12 +0900, Brian Sheehan <rbsheehan@yahoo.com> wrote:

I'm trying to change the default colour of that little
square that appears between the horizontal and
vertical scrollbars of an FXList - the widget in
question is an FXScrollCorner. However, there doesn't
seem to be a getter for the FXScrollCorner that is
contained in an FXList instance - anyone have any
ideas how I might work around this?

Hi Lyle, that hack worked a treat, thanks a milion.

I've submitted a feature request, and am now
subscribed to the fxruby list - see you there next
time :sunglasses:

Brian

> I'm trying to change the default colour of that
little
> square that appears between the horizontal and
> vertical scrollbars of an FXList - the widget in
> question is an FXScrollCorner. However, there
doesn't
> seem to be a getter for the FXScrollCorner that is
> contained in an FXList instance - anyone have any
> ideas how I might work around this?

Here is a workaround that should work, but you
should think of this as
an undocumented thing that's not guaranteed to work
in the future.
Would be best for you to file a feature request at
the FXRuby project
page

(http://rubyforge.org/tracker/?atid=1226&group_id=300&func=browse\),

···

--- Lyle Johnson <lyle.johnson@gmail.com> wrote:

On Wed, 25 Aug 2004 08:03:12 +0900, Brian Sheehan > <rbsheehan@yahoo.com> wrote:
so that we can add a legitimate accessor method for
the scroll corner.

Anyways, calling FXList#verticalScrollbar#next
should return a
reference to the list's FXScrollCorner.

Hope this helps,

Lyle

P.S. Are you subscribed to the fxruby-users mailing
list? If not,
please see the information at http://www.fxruby.org
about how to sign
up and consider doing so.

__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail