Re: Stack offscreen solution

2022-03-30 Thread Bob Sneidar via use-livecode
Sorry, a few artifacts from a previous version snuck in there. Here is the latest. on setWindowInScreen pStackName -- the stack rect put the rect of stack pStackName into tStackRect -- the rect of the screen the stack belongs to put the screen of stack pStackName into tScreenNum

Stack offscreen solution

2022-03-30 Thread Bob Sneidar via use-livecode
Hi all. For those dealing with the stack appearing offscreen, here is a handy handler for moving the stack so that it is fully visible to the screen it belongs to. Note that the screen it belongs to is determined by the loc of the stack. Maybe this should be added to the Master Library? Bob