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
|
 |
 |
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 |
 |
 |
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
|
 |
 |
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 |
 |
 |
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
|
 |
 |
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 |
 |
 |
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?
|
 |
 |
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 |
 |
 |
|