Position of Answer Dialog

RevList RevList at CreaTECHSol.com
Tue Mar 8 18:31:09 EST 2011


How to use LiveCode <use-livecode at lists.runrev.com> on March 8, 2011 at
11:18 AM -0800 wrote:
>For answer color (and answer printer for that matter) you seem to be out
>of luck, as these seem to directly trigger the OS API.
>For answer and ask the suspendStack message is your friend.
>
>on suspendStack
>  if "Answer Dialog" is among the lines of the openstacks then
>  -- reposition it here
>  end if
>end suspendStack
>
>Not much help, but maybe useful.

It is the Answer Color that I am most interested in.  I know I could "roll
my own" for a simple Answer dialog box, but it is the answer color that I
need for my solution.  Right now, it pops up in the middle of the screen
and I really want it to be close to the mouse position when I click on the
control that calls this dialog.
There is no way that I am going to try to roll my own version of this one
because, as you point out, it triggers and OS API and I wouldn't know how
to do that and position the picker in the right location.




More information about the Use-livecode mailing list