[Implemented] InputRequester enhancement

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

[Implemented] InputRequester enhancement

Post by PB »

Would it be easy to add these things to the InputRequester?

(1) Auto-select all text if the DefaultString$ flag is not null.
(2) Make it have an icon in the title bar, from the current window.
(3) Maybe have a Cancel button to the right of the Ok button.
(4) Play the #MB_ICONQUESTION sound to prompt the user.
(5) Support the StringGadget #PB_String_Password flag.
(6) Make it a bit wider to support longer text, maybe double it?

Also, "Ok" should be "OK" to match the Windows standard. ;)
Last edited by PB on Sun Feb 05, 2006 12:59 pm, edited 2 times in total.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
User avatar
kenmo
Addict
Addict
Posts: 2033
Joined: Tue Dec 23, 2003 3:54 am

Re: InputRequester enhancement

Post by kenmo »

PB wrote:Also, "Ok" should be "OK" to match the Windows standard. ;)
Amazing, I was just thinking about posting that earlier today! (After not mentioning it for months...)

Anyway,
1. Sounds good
2. Not necessary but sure
3. Would be helpful!
Jellybean
User
User
Posts: 95
Joined: Wed Aug 24, 2005 7:33 pm

Post by Jellybean »

1) Sounds very good
2) Speaking of the Windows standard: Requesters doesn't have system menus.
3) Sounds very good
PB
PureBasic Expert
PureBasic Expert
Posts: 7581
Joined: Fri Apr 25, 2003 5:24 pm

Post by PB »

I've just updated my version of an InputRequester here:
viewtopic.php?p=129817
Last edited by PB on Wed Mar 01, 2006 8:26 pm, edited 1 time in total.
I compile using 5.31 (x86) on Win 7 Ultimate (64-bit).
"PureBasic won't be object oriented, period" - Fred.
va!n
Addict
Addict
Posts: 1104
Joined: Wed Apr 20, 2005 12:48 pm

Post by va!n »

@PB:
i absolutly agree with this! about the size... maybe the user can define its size? :) Any change to add this feature? (atm i think i have to do my own inputrequester)
va!n aka Thorsten

Intel i7-980X Extreme Edition, 12 GB DDR3, Radeon 5870 2GB, Windows7 x64,
Post Reply