realbasic-nug
[Top] [All Lists]

Re: Rounded EditField

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: Rounded EditField
From: Michael Kagerbauer <info@kagerbauer.net>
Date: Sat, 30 May 2009 02:28:09 +0200
Authentication-results: mx.google.com; spf=neutral (google.com: 74.124.194.228 is neither permitted nor denied by best guess record for domain of realbasic-nug-bounces@lists.realsoftware.com) smtp.mail=realbasic-nug-bounces@lists.realsoftware.com
Delivered-to: listarchive@realsoftware.com
In-reply-to: <4A1EA826.1040804@inspiringapps.com>
Organization: Kagerbauer Softwareentwicklung
References: <mailman.1.1243450805.16290.realbasic-nug@lists.realsoftware.com> <CE6B4E86-C1FB-4434-AC21-82B2A14C8DA9@transcena.com> <4A1EA826.1040804@inspiringapps.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
User-agent: Thunderbird 2.0.0.21 (Macintosh/20090302)
If you want a cross-platform searchfield with "look & feel" like the real one, try to use a backdrop image on a canvas:

http://www.kagerbauer.net/daten/searchfield.zip

By the way, I'm still searching for a possibility to place such a kind of searchfield in a toolbar. I can use the search field class from Charles perfectly in a toolbar on a mac, but how could this be done in windows like on these screenshots?

http://www.facebook.com/photo.php?pid=1834633&id=35750265881#/photo.php?pid=1834632&id=35750265881


Michael


Joe Strout schrieb:
Stephen Dodd wrote:

Does anyone know of a current class for displaying a rounded editfield as seen in the search field in many apps such as Safari, Mail and even the RB IDE? All links I can find are broken or the classes no longer functional.

Those are true search fields, like the one that Charles's class creates, and of course are Mac-only. You want something cross-platform, so you'll have to draw it yourself. Just use a borderless EditField surrounded by some graphics that provide the oval-shaped look you want. With the EditField background color matched to the graphic, nobody will ever know.

Best,
- Joe


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>