centering ask & answer dialogs

Chris Condit ccondit at geo.umass.edu
Fri Oct 17 12:22:52 EDT 2003


I've run into problems on the Win32 platform getting ask & answer 
dialog boxes to display completely on the screen.

As a work around, what I've done is hacked the revAsk and revAnswer 
stacks and in the preOpen stack handler added "set the loc of me to 
the screenLoc", since that seems to me to be as good a place as any 
to display dialog boxes.  Seemed to work fine both using the rev GUI 
and when I created a stand alone, both on Mac and Win32.  Can anyone 
thingk of a reason i shouldn't be doing that, or where it will cause 
problems?

and Rev Team:  any chance of including the capability of beinag able 
to choose where to place ask & answer dialog boxes, using for 
example:  ask "Can we do this" at 300,300 ?

TIA
Chris
-- 
Dr. Christopher D. Condit,  Associate Prof.,  Dept. of Geosciences
Univ. Massachusetts,  611 North Pleasant St., Amherst, MA, 01003-9297
ccondit at geo.umass.edu  413-545-0272
My Web Page:  http://www.geo.umass.edu/faculty/condit.htm
Revolution/MetaCard Dynamic Digital Maps: http://ddm.geo.umass.edu




More information about the Use-livecode mailing list