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 -> General/Other

 2 questions about TextBox

Print topic Send  topic

Author Message
Don_S

Posts: 50
Posted: 11/18/2005, 2:43 PM

Hi everyone,

I need help with a couple of text box issues.

1) How do I set a TextBox to wrap the text when it is being entered instead of just scrolling of the screen?

2) How can I pass information from one textbox field to an other textbox field. ex. TextBox {call_ID} needs to have the same value as TextBox {relation} , which is pulled from the database.

thanks in advance,
Don
View profile  Send private message
Edd


Posts: 547
Posted: 11/18/2005, 8:13 PM

1. Change the Textbox to a TextArea The set the row hieght accordingly

2. Do you want to do on the Onchange event, otherwise add a beforeshow event and change the value there.

Edd
_________________
Accepting and instigating change are life's challenges.

http://www.syntech.com.au
View profile  Send private message
Don_S

Posts: 50
Posted: 11/21/2005, 9:41 AM

What code would I need to put into the event to pull the data? I want this to be a default value that the user could change if needed.

Thanks,
Don
View profile  Send private message
peterr


Posts: 5971
Posted: 11/21/2005, 10:42 AM

Don,
You can specify the default value for a textbox in its "Default Value" property. No coding is needed, unless the default value needs to be calculated.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Don_S

Posts: 50
Posted: 11/21/2005, 11:01 AM

Thanks Peter,
Would this be a CCGetParam call or something else. Also I do want to calcualate some fields how would I do that as well?

Thanks
View profile  Send private message
peterr


Posts: 5971
Posted: 11/21/2005, 11:12 AM

Sorry, I didn't connect the default value with your initial question.
This forum is more useful for asking general questions where you need a tip on how to do something but can do the coding yourself.
If coding advice is needed then I'd recommend that you post to the appropriate forums, like PHP, ASP, .NET, etc. This way forum users familiar with that technolgy can provide code examples in the programming lanuage that you need help with.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message
Don_S

Posts: 50
Posted: 11/21/2005, 11:16 AM

Ok,

I am using .ASP so maybe we could move this over there or should I start a new Post?
View profile  Send private message
peterr


Posts: 5971
Posted: 11/21/2005, 11:26 AM

There are couple problems with moving threads: no one subscribing to ASP forums would be notified about this, and the NNTP newsgroup posts cannot be moved.
Just as a quick answer, there are various coding examples in the docs, like at:
http://docs.codecharge.com/studio3/html/ProgrammingTech...ntrolValue.html
So in your case this might work:
FormName.FieldName2.Value = FormName.FieldName1.Value

You could try this in the form's Before Show event, or in the 2nd field's Before Show event.
_________________
Peter R.
YesSoftware Forums Moderator
For product support please visit http://support.yessoftware.com
View profile  Send private message

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.