realbasic-nug
[Top] [All Lists]

Re: Rb3DSpace1 jumping tabs

To: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Subject: Re: Rb3DSpace1 jumping tabs
From: "TJ Hanson, PhD" <TJHanson@forestmgt.com>
Date: Tue, 30 Sep 2008 08:00:41 -0700
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: <0E1D02FC-C831-488E-9F97-429AE2DEB846@inspiringapps.com>
References: <06C4FA77-3204-4233-8A83-A38B941C8DDC@forestmgt.com> <0E1D02FC-C831-488E-9F97-429AE2DEB846@inspiringapps.com>
Reply-to: REALbasic NUG <realbasic-nug@lists.realsoftware.com>
Sender: realbasic-nug-bounces@lists.realsoftware.com
Joe,

Thanks for the info. I was casually considering a separate window, but will give it more serious thought now. I wanted to implement this into another program that uses a TabPanel. Those plans may be up in smoke. Clever idea about shrinking the control. I use a specific color for my window backgrounds, so this might work. I'll take a look at it.

TJH


On Sep 29, 2008, at 8:14 PM, Joe Strout wrote:

On Sep 29, 2008, at 9:04 PM, TJ Hanson, PhD wrote:

I have a Rb3DSpace control on tab 1 of a TabPanel control. The program launches in tab 0, which has the input fields. When data is entered and tab 1 is selected, the 3d graph appears, as it should. When I click on tab 0 to go back to the input data, the Rb3DSpace control is displayed on top of the tab 0 controls.

Yeah, OpenGL on Mac OS X is squirrely this way (and that's what the Rb3DSpace is based on). It pretty much wants to take control of a section of the window, and any desires you may have to the contrary be hanged.

The best I've found is to shrink the Rb3DSpace down to 1x1 pixels, stick it in the corner of the window, and try to match it to the surrounding color. Not ideal, but it can work.

A possibly more reasonable approach would be to lose the tab panel entirely, and display your graph in a separate window. Users may actually prefer this since if they have a big enough monitor (or two of them), they can see the input fields and the graph at the same time.

Best,
- Joe

--
Joe Strout
Inspiring Applications, Inc.
http://www.InspiringApps.com





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

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


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