Originally posted by Cliff Nichols
View Post
Reason: Real-time process control tool with a live operator. Technical theatre application.
Your code looks very interesting - like it will handle all the controls in any given app (if I read it right). I opted for a simpler solution using native PB functions and statements (see about 10 posts back for my solution code) based on the feedback I got from several folks to my original question. It turns out that PB natively supports all manner of resizing. All I had to do was find the current screen size and figure the ratio change from the design size. I used the ARRAY ASSIGN statement to load my array then cut-and-paste to get the LOOOONG list of controls into the statement. I've tested the algo down to 800x600 and it works, but this particular screen falls apart below 1024x768.
This is another one I'm going to put into my personal #INCLUDE file for future projects, if you don't mind.
I posted a link 4 posts back, it you want to see a screen shot.
Thanks for that code snippet!
Stan
Leave a comment: