Normal Topic Changing Text Box to Combo Box (Read 437 times)
Bharat_Naik
Senior Member
Members
*****
Offline


Ever ready to learn and
share

Posts: 1202
Location: Chicago,  Illinois
Joined: Dec 16th, 2003
Changing Text Box to Combo Box
Apr 6th, 2004 at 10:21pm
Print Post Print Post  
What is the easiest way to change Text Box to Combo Box?  If you delete the text box, it will lose its code. If it is only a few elements, it would not be that difficult to just delete text box and add combobox with the same name but I need to change quite a few in one of my applications.
  
Back to top
 
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Changing Text Box to Combo Box
Reply #1 - Apr 6th, 2004 at 10:27pm
Print Post Print Post  
Create a new combo box. Bind it to the same field as the text box. Cut and paste the programming to the new element. Delete the text box.
  

- Hammer
The plural of anecdote is not data.
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: Changing Text Box to Combo Box
Reply #2 - Apr 6th, 2004 at 10:40pm
Print Post Print Post  
I thought of that but there is custom help, restrictions, initial values and other attributes also need to be changed. I thought some easier method just like Change Element Type and you are done.  Well, I will have to go that way. Thanks for guidance.
  
Back to top
 
IP Logged