PathRequester customization

Mac OSX specific forum
spacebuddy
Enthusiast
Enthusiast
Posts: 364
Joined: Thu Jul 02, 2009 5:42 am

PathRequester customization

Post by spacebuddy »

I am using PathRequestor in my program, is there any way to customize the button text?
wilbert
PureBasic Expert
PureBasic Expert
Posts: 3944
Joined: Sun Aug 08, 2004 5:21 am
Location: Netherlands

Re: PathRequester customization

Post 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.
spacebuddy
Enthusiast
Enthusiast
Posts: 364
Joined: Thu Jul 02, 2009 5:42 am

Re: PathRequester customization

Post 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
Post Reply