Home All Groups Group Topic Archive Search About

Allow user to rename a button control on the form

Author
25 Nov 2006 6:33 PM
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?

Author
25 Nov 2006 7:30 PM
Mr Struggler
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.



Show quoteHide quote
"Marc" <marc_cro***@hotmail.com> wrote in message
news:1164479580.858353.78540@l39g2000cwd.googlegroups.com...
> 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?
>
Author
25 Nov 2006 7:46 PM
Marc
Thanks,

I guess this is the only way.

Mr Struggler wrote:
Show quoteHide quote
> 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.
>
>
>
> "Marc" <marc_cro***@hotmail.com> wrote in message
> news:1164479580.858353.78540@l39g2000cwd.googlegroups.com...
> > 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?
> >