Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Hello
We have developed GUI and it has two push button along with other controls. Can we set accept button into Toolkit GUI like other windows application?
Let me make this more clear. I have two buttons OK and Cancel on GUI. Is there some setting into Creo toolkit GUI which allow me to set OK button as accept button (This makes pressing of Enter from keyboard as equivalent to user clicking on OK button by mouse).
Regards
Ketan
Solved! Go to Solution.
Hello @Ketan_Lalcheta
Look at .DefaultButton property of the Dialog component
"The name of the component of the dialog which is to be treated as the default button of the dialog. The default button is automatically activated when the user hits RETURN or presses the middle mouse button within the Dialog."
Hello @Ketan_Lalcheta
Look at .DefaultButton property of the Dialog component
"The name of the component of the dialog which is to be treated as the default button of the dialog. The default button is automatically activated when the user hits RETURN or presses the middle mouse button within the Dialog."