PDA

View Full Version : HTA : Height and width?


paulj
08-22-2007, 11:01 PM
Hi guys!I've just discovered the possibillities of HTA's, but I have a simple problem. What's the commands to set the width and height of the HTA?

stronky4p
03-24-2008, 12:41 AM
Paulj,

with this code you can set the width and height of your HTA:
self.ResizeTo 715,685

with this code you can position the HTA on your screen:
window.moveTo 0,0

To get the left- and topposition of an HTA:
x = window.screenLeft
y = window.screenTop

I have a question as well, how do you GET the width and height of an HTA?