Dear Sean,

Many thanks. Looks like just what I am after.

PS. Do you know what is happening to the list? I used to receive it in Digest mode but I haven't received any mail for a month or so. I went to check my setting on the list web site but the settings page seems to have gone. I re-registered from scratch in Digest mode but am now receiving in normal mode. I've noticed that the list has been getting smaller and smaller over the last couple of years but it seems to be almost vanished now.

I am still not sure if I am actually receiving the list postings. The only two postings I have received since re-joining have been in response to my request, and both had my normal email address on them as well as the lists.

Regards,
John

Sean Wilson wrote:


I was wondering if anyone could tell me if it possible to write Lingo that detects the user's monitor size and re-sizes the Stage in a projector to fit that monitor size - and if there is what that code might be?


The monitor size is given by the desktopRectList, and you can set the stage to this size:
--
on prepareMove
  mResizeStage()
  -- ...
end

on mResizeStage
  dRect = the desktopRectList[1]
  (the stage).rect = dRect
  -- optionally scale sprites to suit,
  -- (or create a routine to move them so they remain "centered")
  (the stage).drawRect = dRect
end




[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[email protected]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to