Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X
Hello
Preparing UI using resource file / Toolkit APIs. Able to find close button as disabled on top of it.
Any idea how to have it enabled?
Thanks
Ketan
Solved! Go to Solution.
You just need to connect a onClose Method inside you cpp code.
ProUIDialogCloseActionSet
After you have connected it the button should be available.
Br,
Eike
You just need to connect a onClose Method inside you cpp code.
ProUIDialogCloseActionSet
After you have connected it the button should be available.
Br,
Eike
Thank you so much. This solved my purpose. Till now we were adding another button having Close as Button text.
I almost go with API but few people from team follows resource file practice. For another thought, any one having idea for achieving same in case of Resource file?
You can't activate these button by ressource.
So the button never know what it should do from the resource file. This depends on wich mode the dialog is running (modal or non modal).
So you need to add these function to activate the button.
Br,
Eike