Bringing a field to the front in runtime

Scotte Meredith spomacguy at gmail.com
Wed Jan 2 11:44:52 EST 2019


Here are more details on what I’m trying to do.

I have a window that has some subwindows. In order to have more room to see and enter the info in the subwindow, I want to expand its size to fill most of the parent window, overlaying whatever else is in the window, then later reduce it back down to the size it was before. It is doing both of those, but depending on the order number of which subwindow I expand, it is in front of some fields and behind other fields. I want it to be the front-most field and effectively hide all the others without having to explicitly hide all of them.

My alternative is to actually create a new window for the subwindow and just display it on top of my current window with all the contents already displayed.

Hope that helps it describing what I’m trying to do. 


> On Jan 2, 2019, at 4:58 AM, Michael Mantkowski <michaelj at clientrax.com> wrote:
> 
> Hi Scotte,
> 
> How about creating your sub window object at runtime as well and then assigning its attributes via notation?
> 
> If the goal is to have it have the most recent $order this should take care of it.
> 
> Another way, create a sub window template that has all the attributes you want but make it invisible.  When you have need for the sub window you can make a copy of it via notation (so that is will be the most current in field order) and then change the $visible attribute to kTrue.  After you are done with it you could either $remove the sub window or make if invisible again for later use.
> 
> *********************************************************************
> Michael Mantkowski
> ClienTrax Software
> 1-614-875-2245
> *********************************************************************
> 
> 
> -----Original Message-----
> From: omnisdev-en <omnisdev-en-bounces at lists.omnis-dev.com> On Behalf Of Scotte Meredith
> Sent: Monday, December 31, 2018 1:26 PM
> To: OmnisDev List - English <omnisdev-en at lists.omnis-dev.com>
> Subject: Re: Bringing a field to the front in runtime
> 
> Hi, Paul —
> 
> I was trying a new interface and wanted a subwindow field within the window to overlay everything in the window covering it all up. Trying to do it generically rather than for a specific window. I thought I could force the $order to a higher number to bring it to the front on top of everything else, but no good. You can’t change the $order after the window has started to open.
> 
> 
> 
> 
>> On Dec 31, 2018, at 10:22 AM, Paul Manning via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
>> 
>> Scotte,
>> Is this something that could be accomplished in a paged pane? or do 
>> you need to see the other fields behind
>> 
>> Paul
>> 
>> ************************************************
>> Paul R. Manning
>> paulrmanning58 at icloud.com <mailto:paulrmanning58 at icloud.com>
>> 
>> 
>>> On Dec 31, 2018, at 12:52 PM, Scotte Meredith <spomacguy at gmail.com> wrote:
>>> 
>>> I had thought you could change the field order at runtime, but apparently not.
>>> 
>>> Any ideas on how to bring a field to the front on top of everything else at runtime? 
>>> 
>>> I want to become an overlay for everything else. I thought I’d done this at some time in the past.
>>> 
>>> 
>>> Scotte Meredith
>>> SpoMacGuy at gmail.com
>>> 
>>> _____________________________________________________________
>>> Manage your list subscriptions at http://lists.omnis-dev.com Start a 
>>> new message -> mailto:omnisdev-en at lists.omnis-dev.com
>> 
>> _____________________________________________________________
>> Manage your list subscriptions at http://lists.omnis-dev.com Start a 
>> new message -> mailto:omnisdev-en at lists.omnis-dev.com
> 
> 
> Scotte Meredith
> SpoMacGuy at gmail.com
> 
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 
> 
> _____________________________________________________________
> Manage your list subscriptions at http://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com 


Scotte Meredith
SpoMacGuy at gmail.com




More information about the omnisdev-en mailing list