You are not logged in! Log in or Register

<Action Subject="..." Attribute="Clicked" AttributeValue=...

Forum > GLOWE > <Action Subject="..." Attribute="Clicked" AttributeValue=...

Post reply

Author Message
jonathan
Registered user

Avatar

Posts: 6

<Action Subject="..." Attribute="Clicked" AttributeValue=...
on Tue, 11 November 17:03:57

Can't we change the Clicked property of buttons after creation?

I have several buttons:

1 <VisualButton Name="go_left">
2    <VisualText Text="left" />
3 </VisualButton>
4 <VisualButton Name="go_right" >
5    <VisualText Text="right" />
6 </VisualButton>
7 <VisualButton Clicked="startgame">
8    <VisualText Text="Start" />
9 </VisualButton>


And when 'start is clicked, I want to assign event handlers for the other buttons.

1 <ActionList Name="startgame">
2   <Action Subject="go_left" Attribute="Clicked" AttributeValue="go_x0" />
3   <Action Subject="go_right" Attribute="Clicked" AttributeValue="go_x2" />
4 </ActionList>


Unfortunately, this doesn't work at all... any ideas?

gert
Registered user

Avatar

Posts: 26

RE: <Action Subject="..." Attribute="Clicked" AttributeValue=...
on Wed, 12 November 09:05:40

Have you tried it in the Java version. If it works there, it's a bug in .NET code :-)

Anyway, imo it should work...

jonathan
Registered user

Avatar

Posts: 6

RE: <Action Subject="..." Attribute="Clicked" AttributeValue=...
on Wed, 12 November 19:23:31

Thank you Gert.

I haven't tried it on the Java version. Is there a desktop version available?

But should this work or not according to the Glowe-specifications?

erdem
Moderator

Avatar

Posts: 138

RE: <Action Subject="..." Attribute="Clicked" AttributeValue=...
on Fri, 21 November 09:37:10

Hey jonathan,

It's now on the todo list :-)

greets,

Erdem

Post reply