Prevent Template window from being resized

ruimac

Member
I know that I can change a Template window color with [_template].Color = xxxxx
Is there any parameter for [_template] that I can change to prevent the template window from being scaled horizontaly, or vertically?
 
This macro will set the initial window size in pilot
Code:
VcpCommand("template:set_position <left> <top> <width> <height>")
values are integers
 
This macro will set the initial window size in pilot
Code:
VcpCommand("template:set_position <left> <top> <width> <height>")
values are integers
Thank you, Alonh.
And, is there any way to prevent the window from being resized?
 
I tried [_template].Constraints.MaxWidth = 600 but, althought it doesn't report any error, it doesn't prevent me from resizing the window horizontally.
 
is there any way to resize the main template within vtw? this vcp-command does not work there!
 
Back
Top