Re: media pref parameter web panel

"Axel Dörfler" <[email protected]> Wed, 02 Jul 2003 16:42:33 +0200 CEST
Newsgroups gmane.os.openbeos.mediakit
Message-ID <7051099464-BeMail@nichtsnutz>
Jérôme Duval <[email protected]> wrote:
> Selon Axel Dörfler <[email protected]>:
> > That seems to be pretty simple: when there is more than one top 
> > group 
> > (groups directly in the web), it will not show the divider - and I 
> > guess that's just because it will look better because of the 
> > BTabView 
> > which contains the different groups in this case.
> Ok you are right. Are you suggesting to test the class of the top 
> view of the 
> parameter web view ?
> Is it with "instanceof<BTabView*>" ? I'm not very used to this one.

No, a simple:
	if (web->CountGroups() < 2)
		add_divider();

should do.

Adios...
   Axel.