Setting the Location of the Ask/Answer Dialogs |
|
Hi Andrew,
In my projects I use a frontScript like :
The above will center the Ask and Answer dialog boxes, but you could add handlers to change the loc and save it in a local variable of the frontscript. Example :on preOpenStack if the short name of the target \ is among the items of "Ask,Answer" then set the location of the target to the screenLoc end if pass preOpenStack end preOpenStack
Posted on 9/27/2004 by Jan Schenkel to the Use Revolution listlocal sDialogLocationsA on Andrew_SetDialogLocation pDialogName, pLocation put pLocation into sDialogLocationsA[pDialogName] end Andrew_SetDialogLocation on preOpenStack put the short name of the target into tName if tName is among the items of "Ask,Answer" then set the location of the target to \ sDialogLocations[tName] end if pass preOpenStack end preOpenStack