realbasic-nug
[Top] [All Lists]

Re: Getting nice ui effects in RB

To: realbasic-nug@lists.realsoftware.com
Subject: Re: Getting nice ui effects in RB
From: Ron Benditt <rbenditt@alienapparatus.com>
Date: Wed, 31 Dec 2008 09:35:49 -0800
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: <mailman.1467.1230742211.23944.realbasic-nug@lists.realsoftware.com>
References: <mailman.1467.1230742211.23944.realbasic-nug@lists.realsoftware.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
Ian,

You can do all of those window footer controls (is there a proper term for these?) using canvas controls. I'm working on a program right now that does just that... Plus button, action button, splitter, and lots of other custom buttons. All I did was use a canvas control and draw the appropriate graphics on there. Then handle the mouse down events accordingly. The action button shows a contextual menu when the canvas receives a click. The splitter required the most work, but most of it was making my other control behave and resize correctly. Its really very doable with a canvas. If you're new to creating custom controls, see if you can find a canvas-based button someplace and just swap in your own graphics and you should be well on your way. Also check out existing splitter controls and see if you can swap their pictures and you'll probably get pretty close to what you're looking for.

Regards,

Ron Benditt
Alien Apparatus Company, Inc.
http://www.alienapparatus.com


I have the Einhugur controls: I was really thinking of something more
like this:

http://www.tellura.co.uk/examples/splitter.png

This screenshot shows the relevant part from two programs: Apple's
Mail and Omnigroup's OmniFocus. The drag handle for the splitter in
each case is a button marked by three vertical lines. I would like to
have an effect like these programs, with add/subtract buttons, a drop-
down for common actions (i.e. the "gears" button) and a drag handle.

I don't mind paying a reasonable amount for the right controls.

Thanks,


Ian.


_______________________________________________
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>