Page 1 of 1

PathRequester customization

Posted: Thu Oct 11, 2012 7:51 pm
by spacebuddy
I am using PathRequestor in my program, is there any way to customize the button text?

Re: PathRequester customization

Posted: Thu Oct 11, 2012 8:15 pm
by wilbert
I don't think you can; don't see any PureBasic command to change the text.

What is used, is an instance of the NSOpenPanel class.
You could set up everything yourself but that is much more complicated.
If it doesn't bother you too much, it probably is easier to leave it as it is.

Re: PathRequester customization

Posted: Thu Oct 11, 2012 8:22 pm
by spacebuddy
wilbert wrote:I don't think you can; don't see any PureBasic command to change the text.

What is used, is an instance of the NSOpenPanel class.
You could set up everything yourself but that is much more complicated.
If it doesn't bother you too much, it probably is easier to leave it as it is.
In Xcode (NsOpenPanel) it is possible to change the "Open" button text by using setPrompt_('foo'), this would be
a good feature maybe Fred can add in a future version. :D