screenRect and screenLoc weirdness

Paul Dupuis paul at researchware.com
Mon Jan 14 17:25:28 EST 2019


On 1/10/2019 11:02 PM, Knapp Martin via use-livecode wrote:
> OK, I’m making progress here. But I’m finding that ask and answer dialogs are opening off-screen. How are their positions determined?
>
> Marty
>

See https://quality.livecode.com/show_bug.cgi?id=4309

A very old enhancement request that would be a nice addition. SuperCard 
has a 'at' syntax, so you could say:

Ask "What color is your favorite?" at screenLoc()

Now you have to do something like

set the loc of stack "Ask Dialog" to screenLoc()
ask "What color is you favorite?"

The actual stack names are "Ask Dialog" and "Answer Dialog" whether 
invoked from the IDE or a Standalone.





More information about the use-livecode mailing list