v10 (2012)
This method allows the user to set the view size, which may (but isn't guaranteed to) be used by the PPG containing the layout to determine the PPG's width and height. It is currently only supported by modal PPGs.
PPGLayout.SetViewSize( Width, Height ); |
var oPPG = XSIFactory.CreateObject( "CustomProperty" ) oPPG.Name = "Test modal" ; oLayout = oPPG.PPGLayout; oLayout.AddButton( "test" ); oLayout.SetViewSize( 200,300 ); InspectObj( oPPG,null,"Test modal window", siModal ); |