Heii Kanagaraj,
I have added the code like this
Image image_1 =
*new* Image("Images/1.png");
image_1.addClickListener(
*new* ClickListener()
*public* *void* onClick(Widget sender){
textBox.setText((
"1" + sender.getTitle());
}
})
;
this code is working but when i click on this button it works only once
when i try to click on it again it won't come in textbox.What should I do
for that?
On Wed, Dec 28, 2011 at 10:09 AM, Kanagaraj M <[email protected]>wrote:
> write a click event listener.
> Attach the listener to all the buttons.
> receive the event, find which button is clicked and add the respective
> character to text box
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Web Toolkit" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/google-web-toolkit/-/hwnVs8OMyXsJ.
>
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-web-toolkit?hl=en.
>
--
with best regards,
Amrutha
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.