Login  Register

Re: Consistency

Posted by Andy Bower-3 on Oct 31, 2005; 8:26am
URL: https://forum.world.st/Consistency-tp3376031p3376065.html

Ian,

> I was just wondering about the way the Class/System browsers select
> class/instance methods.  All the other views use tabs but the
> class/instance switch uses RadioButtons.
>
> Wouldn't it be more consistent to use tabs for that as well, or is
> there some other reason?

There were originally two reasons why we changed over to using the
radio buttons. One was a cosmetic issue where we wanted to have the
switch at the bottom of the methods pane (rather than the top) and the
original Windows tab control does not display correctly under XP when
it is upside down. This issue has now gone away with our implementation
of the TabViewXP widget.

The second reason was that using a tab didn't seem quite right. In
general I regards the tab cards as being different views onto the same
object. It's a bit of a fine line but I tend to regards the instance
and class side methods as being similar views onto two different class
objects.

Anyway, I quite like the radio buttons (and this is coming from someone
who is generally appalled by the use of radio buttons) and I don't
think we've now got time to change before the release them when there
is so much else to do.

Best Regards,

--
Andy Bower
Dolphin Support
www.object-arts.com