
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a simple command setup and it launches a UI dialogue with some simple controls. It is the type of thing that a cancel button would serve no use, so I'd like to hide it and change the OK button to say "Close". I read in the documentation for Command object that:
cancelButtonText | Gets and sets the text displayed on the Cancel button. The value of this property is ignored if the isCancelButtonVisible property is false. |
However setting the isCancelButtonVisible to False has no effect. I noticed there is no documentation for this property either... was this just missed in the development process? Are there any alternative ways to hide the cancel button? Any help would be greatly appreciated.
I am using python, and I am able to change the text using this property or even hide the OK button using isOKButtonVisible. I would use the cancel button to close it but the cancel button doesn't execute the command.
Solved! Go to Solution.