Allow user to rename a button control on the form

  • Thread starter Thread starter Marc
  • Start date Start date
M

Marc

Hi,

I want to allow the user to rename a button control. When they click
rename from the menu I want the button text to become editable on the
actaul button...and then perhaps save the new text when enter is hit or
something - anyone know how this is done?
 
Never needed to do this, but the one way is to add move a predefined text
box above the button when the user has clicked the menu and make it visible,
give it focus, on enter, you could then set the text value of the button and
hide the textbox.
 
Thanks,

I guess this is the only way.

Mr said:
Never needed to do this, but the one way is to add move a predefined text
box above the button when the user has clicked the menu and make it visible,
give it focus, on enter, you could then set the text value of the button and
hide the textbox.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top