Thanks for the info, Richard.

John Balgenorth


On Aug 23, 2014, at 9:59 AM, Richard Gaskin <ambassa...@fourthworld.com> wrote:

> Scott Rossi wrote:
> 
>> Here's one way to position ask/answer dialogs on desktop:
>> 
>> [ in your stack script ]
>> 
>> on suspendStack
>>   if "ask dialog" is among the lines of the openStacks then
>>      set the loc of stack "ask dialog" to the loc of me
>>   end if
>> end suspendStack
>> 
>> 
>> on suspendStack
>>   if "answer dialog" is among the lines of the openStacks then
>>      set the loc of stack "answer dialog" to the loc of me
>>   end if
>> end suspendStack
>> 
>> ( can replace "loc of me" with any desired screenLoc )
> 
> On Windows and Linux centering to the topstack is already the default 
> behavior.
> 
> On OS X, if an alert applies application-wide the HIG suggest the standard 
> alert location (horizontally centered, 2/5 of the way down from the top 
> vertically).
> 
> When you need an answer dialog to apply to a single window, you can get both 
> enhanced behavior and window-specific location using the "as sheet" modifier:
> 
>  answer "Something" as sheet
> 
> Not only will this use OS X's recommended sheet appearance, but on all 
> platforms the alert box will be modal only to the stack over which is 
> appears, allowing the user to continue to interact with other windows.
> 
> That said, from time to time we're asked to do things outside of the HIG 
> recommendations, and there's a request for being able to set the loc of the 
> ask and answer dialogs in the RQCC:
> <http://quality.runrev.com/show_bug.cgi?id=4309>
> 
> --
> Richard Gaskin
> Fourth World Systems
> Software Design and Development for the Desktop, Mobile, and the Web
> ____________________________________________________________________
> ambassa...@fourthworld.com                http://www.FourthWorld.com
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to