CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> .NET

 How to adjust number of lines in a Text Area from a program

Print topic Send  topic

Author Message
kabila

Posts: 30
Posted: 06/14/2004, 12:43 PM

Hi:
I have a text area, that has varying lengths of text. This page gets printed, and so, there are times when there is limited text, but the rest of textbox is blank.

Is there a way that I can stretch and shrink the text area Length (and keep the same width) by measuring up the memo field content size, programatically?

Thank you
-Sam
View profile  Send private message
Stan
Posted: 06/14/2004, 11:19 PM

Sam

You can use the Before Show event of the TextArea with following code

<FormName><ControlName>.Rows = 5

Stan
Sam Kabila
Posted: 06/15/2004, 9:02 AM

Thanks Stan..that did the trick..

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

MS Access to Web

Convert MS Access to Web.
Join thousands of Web developers who build Web applications with minimal coding.

CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.