Sketchflow component target parent state

Posted by user186106 on Stack Overflow See other posts from Stack Overflow or by user186106
Published on 2010-06-07T05:48:28Z Indexed on 2010/06/07 5:52 UTC
Read the original article Hit count: 337

Hi,

I'm using Sketchflow in Expression Blend 4 RC (although this is relevant to Blend 3 too).

I have a screen with a datagrid on it (MainScreen) and there's a "New" button.

I have a component screen that has a generic form (GenericForm) and a "Save and close" button.

I have two states on MainScreen:

State1 (and default): GenericForm visibility set to Hidden

State2: GenericForm visibility set to Visible

The "New" button on MainScreen has: Active State = State2, meaning when the "New" button is pressed, it changes the state of MainScreen to State2 (where the GenericForm component is visible).

My problem is that I cannot link the "Save and close" button on GenericForm to State1 on MainScreen. In effect I would like to be able to press "Save and close" and for the MainScreen to set its state to State1.

Any ideas?

© Stack Overflow or respective owner

Related posts about expression-blend

Related posts about SketchFlow