Community Tip - Stay updated on what is happening on the PTC Community by subscribing to PTC Community Announcements. 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."