Labels in metal-style windows on Mac OS X often have an "engraved" look to
them. For an example of this, look at the labels in iPhoto. This can be
accomplished in REALbasic quite easily. To give a static text label the
engraved look, do this:
1. Duplicate the Static Text control.
2. Change the TextColor property to white in the Properties window.
3. Choose Move To Back from the Format menu.
4. Use the arrow keys to move the white text so that it's directly behind
the black static text.
5. Use the down arrow key to move the white text 1 pixel lower than the
black text.
Viola!
--
Geoff Perlman
President and CEO
REAL Software, Inc.
512-328-7325 x711 (voice)
512-328-7372 (fax)
- - - - - - - - - -
Got a useful tip to share? Send it to us at:
<REALbasic-tips at lists dot realsoftware dot com>.
To unsubscribe from the Tips list, send an email to
<mailto:realbasic-tips-off at lists dot realsoftware dot com>
|