Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

make an HTA not resizable

Posted on 2012-09-12
7
Medium Priority
?
3,113 Views
Last Modified: 2012-09-13
is it possible to make an hta non resizable? If so, how cna I make hta with resizable only in height and onlt when too much text is typed in?

I removed minimize and maximize boxes and hta can be only resized by dragging the edges. I need to make its width non-resizable
0
Comment
Question by:YZlat
  • 4
  • 3
7 Comments
 
LVL 65

Accepted Solution

by:
RobSampson earned 1500 total points
ID: 38393350
Hi, in the HTA tag, add
border="thin"

and it won't be resizable.  How do you want to control the height of the HTA?

Rob.
0
 
LVL 65

Expert Comment

by:RobSampson
ID: 38393354
You mention when too much text is typed in....could you use a multi line text area instead?
0
 
LVL 35

Author Comment

by:YZlat
ID: 38394785
Rob, thanks, the first part worked - hta is no longer resizable

I am using textarea already, but when too much text gets typed in, it adds a scroll bar but does not resize the hta. I want hta resized and i don't want the scrollbar. What can I do?
0
Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

 
LVL 35

Author Comment

by:YZlat
ID: 38394852
OK, I got rid of scrollbar by setting overflow:hidden but I still need to resize the hta and textarea
0
 
LVL 35

Author Comment

by:YZlat
ID: 38394922
OK, I did it with VBScript and OnChange event of a textarea.

Thanks for your help!
0
 
LVL 35

Author Closing Comment

by:YZlat
ID: 38394923
Thanks!
0
 
LVL 65

Expert Comment

by:RobSampson
ID: 38397149
Sure.  Glad you worked out the rest.

Rob.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

CTAs encourage people to do something specific to show interest in your company, product or service. Keep reading to learn why CTAs should always be thought of as extremely important, albeit small, sections of websites.
Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.

581 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question