Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
helen_pip
Creator III

Need to press button twice in order for it to work

Hello

I have created many buttons in my QVW all of which are doing a variation of 3 things

-Activate Object

-Set Variable

-Set Variable

When I press the button my variables turn colour as directed, but the Activate Object does not pick up the object until I click again on the button

I want to refrain from the user having to double click in order for everything to work O.K.

Has anyne experienced this before, and if so, how do I get it so the button does what I wnat on the first click

Thanks

Helen

1 Solution

Accepted Solutions
Anonymous
Not applicable

Helen,

I just tried, and it works fine for me no matter what the order of action is.  I suspect that the change of your variables triggers something else, and it prevents activation of the object.  When you nclick the 2nd time, the variables probably do not change, and that secret action is not triggered.

Regards,

Michael

View solution in original post

7 Replies
Anonymous
Not applicable

Helen, what if you move "Activate Object" to the bottom?

helen_pip
Creator III
Author

Hello

Thank you for your suggestion, but unfortunately this did not solve the problem

If you have any further suggestions, that would be great

Thanks

Helen

Anonymous
Not applicable

Helen,

I just tried, and it works fine for me no matter what the order of action is.  I suspect that the change of your variables triggers something else, and it prevents activation of the object.  When you nclick the 2nd time, the variables probably do not change, and that secret action is not triggered.

Regards,

Michael

helen_pip
Creator III
Author

Thanks for all your help

I have got this working now and you were right there was something cancelling out the actions

All good now

Thanks

Helen

Not applicable

Hi Helen,

I have the same problem and can't work out what's happening - can you remember what you found that sorted it out?

Thanks

Elaine

helen_pip
Creator III
Author

Hello Elaine

What I ended up doing is changing the order of the actions.....As one action was cancelling out another

By changing the order of the actions, it worked fine

You may need to try several times and think through what the actual process is doing ebfore it starts working

Thanks

Helen

Not applicable

Thanks Helen, I'll have another look.

Elaine