From: "Dave "Crash" Dummy" on 18 Jan 2010 08:35 Tom Lavedas wrote: > On Jan 18, 7:50 am, Corey Thomas <coreytho...(a)gmail.com> wrote: >> Use: window.resizeTo >> >> example: You want to resize your HTA to 600x700 pixels: >> >> Sub MySubName >> window.resizeTo 600,700 >> End Sub >> >> You can call that from another sub or the onLoad function of the >> <body> tag. >> >> On Jan 17, 11:12 am, "Dave \"Crash\" Dummy" <inva...(a)invalid.invalid> >> wrote: >> >>> I am using VBScript in a HTA file to display variable tables, and I'd >>> like to be able to resize the host window. Can it be done? If so, how? >>> Thanks. > > Note that if the resizeTo (and/or a moveto) statement is placed at the > very top of the document, in a separate script block, the resize > occurs before the page is drawn. This keeps the page from flashing up > as one size/place and them adjusting to match the resizeTo. Thank you both. That is exactly what I need. -- Crash "When you want to fool the world, tell the truth." ~ Otto von Bismarck ~
|
Pages: 1 Prev: Which group deals with regular expressions regexp etc Next: Outlook script |