Please add the features from the MessageRequester(): Support for multiple lines (like "Hello!" + #CRLF$ + "Please enter something") and even more important: Automatic width adjustment of the window.
Sure I can make my own InputRequester() but then the build-in function is kinda useless because text is often cut on the right and multiple lines could be pretty important too.
InputRequester() Message$ -> Auto width & multiple lines
InputRequester() Message$ -> Auto width & multiple lines
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Re: InputRequester() Message$ -> Auto width & multiple lines
The Input Requester (as well as the message, open and save file requesters) rely on the Windows (or Linux/MacOS) standard libraries, which means they are not created inside Purebasic, so I doubt it would be possible... Unless the developers of PureBasic implement a custom dialog factory.
Env
Env
Thanks!
Re: InputRequester() Message$ -> Auto width & multiple lines
No, as far as I know MessageRequester(), FileRequester() and so on are "wrapped" and InputRequester() is custom. So it should be possible.
I just think the InputRequester() is a bit useless in the current state if we have to code a correct working one anyway.
I just think the InputRequester() is a bit useless in the current state if we have to code a correct working one anyway.
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
- netmaestro
- PureBasic Bullfrog
- Posts: 8451
- Joined: Wed Jul 06, 2005 5:42 am
- Location: Fort Nelson, BC, Canada
Re: InputRequester() Message$ -> Auto width & multiple lines
I'd like to see a #PB_Input_Password flag for it, same as for a string gadget.
BERESHEIT
Re: InputRequester() Message$ -> Auto width & multiple lines
I second this!netmaestro wrote:I'd like to see a #PB_Input_Password flag for it, same as for a string gadget.
Re: InputRequester() Message$ -> Auto width & multiple lines
Support for #PB_MessageRequester_Cancel would be great as well! It would just add an "Abort" button and return no text when it is pressed instead of "OK".
If any of you native English speakers have any suggestions for the above text, please let me know (via PM). Thanks!
Re: InputRequester() Message$ -> Auto width & multiple lines
Yeah, a cancel or close button would be a must, as in the snippet by Joakim Christiansen : http://www.purebasic.fr/english/viewtop ... =3&t=19998