Author Topic: Scaleable Event  (Read 4069 times)

AnonymousPostings

  • Newbie
  • *
  • Posts: 49
Scaleable Event
« on: July 01, 2010, 09:15:49 AM »
i was looking for scalable event.
example: if the card size is stretched/maximized, from 640x480 to something like 900x600.
Then all or most of the objects on the card will stretch in a scaled manor so as to fit proportionally on the form.  rather then having the objects staying the same size & having this big gap around the object.

i read your guide & the language ref.  but i didn't see anything on it.

you don't have to tell me how to do it or write any code, just give me the name if it exist so i can look for it.
« Last Edit: January 01, 1970, 12:00:00 AM by Guest »

Malkom

  • Administrator
  • Newbie
  • *****
  • Posts: 420
  • Here to help you
Re: Scaleable Event
« Reply #1 on: July 01, 2010, 09:17:47 AM »
I'm sorry but HN doesn't yet have a scaleable event

HyperNext cannot detect when the canvas size changes so unfortunately you would have to call the rescaling code yourself when you change the card or canvas size.
Put your code in a global procedure or in a procedure local to the card and call it when you need to resize.
« Last Edit: January 01, 1970, 12:00:00 AM by Guest »
I am sorry but I do not have time to answer questions by PM or email.
If you post your questions in this forum then it might help others.

 

anything