Skip to main content



      Home
Home » Eclipse Projects » GEF » Change button text at runtime
Change button text at runtime [message #160424] Fri, 03 December 2004 15:54 Go to next message
Eclipse UserFriend
Originally posted by: jsk_lam.hotmail.com

Hi,

I need to be able to change the text and image of the Button at runtime.
I have subclassed the Button class and do not find a method that let
me change the display text, such as setText() method.

Best Regards,
slam
Re: Change button text at runtime [message #160920 is a reply to message #160424] Tue, 07 December 2004 21:47 Go to previous message
Eclipse UserFriend
Add a label to the button.

"slam" <jsk_lam@hotmail.com> wrote in message
news:coqjqm$u02$1@www.eclipse.org...
> Hi,
>
> I need to be able to change the text and image of the Button at runtime.
> I have subclassed the Button class and do not find a method that let
> me change the display text, such as setText() method.
>
> Best Regards,
> slam
>
>
Previous Topic:Resize/move children
Next Topic:TabFolder and TabItems
Goto Forum:
  


Current Time: Tue Jul 22 14:51:38 EDT 2025

Powered by FUDForum. Page generated in 0.04512 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top