Normal Topic multiline text box (Read 12484 times)
olddog
Member
*
Offline



Posts: 35
Joined: Jan 19th, 2008
multiline text box
Jan 17th, 2009 at 5:20pm
Print Post Print Post  
on a form i have an unbound multiline text box.  it displays a collection of data and calculations.  i have it set as read only to prevent the inadvertent change.  sometime the info is greater than the area i have allowed.  is there a way, maybe with programmed command buttons to scroll the contents, or to allow the scroll bar in the le to be used while still protecting the contents.
  

trying to learn a new trick
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: multiline text box
Reply #1 - Jan 18th, 2009 at 3:03am
Print Post Print Post  
This has already been implemented and will appear in the next release.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Bob_Hansen
Senior Member
Members
*****
Offline


WOW, They have the Internet
on computers now!

Posts: 1861
Location: Salem, NH
Joined: Nov 24th, 2002
Re: multiline text box
Reply #2 - Jan 18th, 2009 at 3:03am
Print Post Print Post  
There are a couple of ways to do this, but they all require not making the element Read Only.  Once that is done, then you just need to have another copy somewhere to move back into the element.  This could be done my making a temp variable and replacing it on exit

1.  Make the real element not Read Only so you will get a scroll bar.
2.  Create a program in real element/OnElementEntry to copy the content to a variable.
3.  Put a programming statement in real element/OnElementChange to copy the temp variable into the real element.  That will replace any changes that may have happened.  
« Last Edit: Jan 20th, 2009 at 5:28am by Bob_Hansen »  



Bob Hansen
Sesame Database Manager Professional
Sensible Solutions Inc.
Salem, NH
603-898-8223
Skype ID = sensiblesolutions
Back to top
IP Logged
 
olddog
Member
*
Offline



Posts: 35
Joined: Jan 19th, 2008
Re: multiline text box
Reply #3 - Jan 18th, 2009 at 3:40am
Print Post Print Post  
Thanks Bob.  I had thought about doing that, but was wondering if there was another way i was missing.
  

trying to learn a new trick
Back to top
 
IP Logged
 
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Re: multiline text box
Reply #4 - Feb 3rd, 2009 at 10:43pm
Print Post Print Post  
How about placing a command button on the form which will open the slate and display the content of that readonly element?  If you do not have many such elements, this might work.
  
Back to top
 
IP Logged