[futurebasic] Re: [FB] Appearance Button

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : December 2003 : Group Archive : Group : All Groups

From: Robert Purves <robert.purves@...>
Date: Mon, 22 Dec 2003 09:17:38 +1300
michael evans wrote:

> I find the box drawn by _kControlGroupBoxTextTitleProc is too washed
> out/light and displays badly (as in you can't see it unless one has 
> the eyes
> of a young hawk).
>
> Is there any way of deepening the tonality or adjusting the color of 
> the
> box?

_kControlGroupBoxTextTitleProc is indeed a mangy-looking animal in 
Panther. You may prefer _kControlGroupBoxSecondaryTextTitleProc.
Apple doesn't seem to use GroupBoxes at all in their recent OS X apps.


dim as Rect  r
window 1
def SetWindowBackground( _kThemeActiveDialogBackgroundBrush, _zTrue )
SetRect( r, 50, 20, 200, 120 )
appearance button 1,,,,, "Options 1", @r, _kControlGroupBoxTextTitleProc
OffsetRect( r, 0, 120 )
appearance button 2,,,,, "Options 2", @r, 
_kControlGroupBoxSecondaryTextTitleProc
do
HandleEvents
until 0



Robert P.