Inventor Style Buttons

Inventor Style Buttons

Anonymous
Not applicable
321 Views
2 Replies
Message 1 of 3

Inventor Style Buttons

Anonymous
Not applicable
I want to select two different objects. Fist a part and then a workpoint, so I made a form with two buttons. I want the function to look like the functions in Inventor, so instead of command objects I used checkbox objects. That way I can get the button to be pressed during the selection process. When the form loads I set the fist checkbox value to 1, and the selection process begins. All this works fine! When I have selected the part, I want the second button to be pressed and the next selection process to start automatically. This doesn’t work! I can get the button to be pressed, in the same way I do on form_load, but the event does not fire. Has any one experience of this or some idée’s how to solve this?

Thanks in advance!
// Johannes
0 Likes
322 Views
2 Replies
Replies (2)
Message 2 of 3

Anonymous
Not applicable
I think if u put your code under the CheckBox Click event it should fire.
0 Likes
Message 3 of 3

Anonymous
Not applicable
also u should check that the Check Box is a value of 1, then run your code. Otherwise it will run when the box is unchecked.
0 Likes