Go Back   Ultimate Web Site Drop Down Menu Forum > Web Development > CSS and HTML
Register FAQ Members List Calendar Today's Posts

Reply
Thread Tools Display Modes
Unread 08-22-2007, 11:01 PM
paulj paulj is offline
Senior Member
Join Date: Jul 2007
Posts: 521
  #1  
Default HTA : Height and width?

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?
Reply With Quote
Unread 03-24-2008, 12:41 AM
stronky4p
Posts: n/a
  #2  
Default

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?
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 02:22 PM.


Powered by vBulletin® Version 3.0.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.