Page 1 of 1
InputRequester() Message$ -> Auto width & multiple lines
Posted: Wed Apr 28, 2010 8:10 am
by c4s
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.
Re: InputRequester() Message$ -> Auto width & multiple lines
Posted: Wed Apr 28, 2010 9:40 pm
by Env
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
Re: InputRequester() Message$ -> Auto width & multiple lines
Posted: Wed Apr 28, 2010 10:19 pm
by c4s
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.
Re: InputRequester() Message$ -> Auto width & multiple lines
Posted: Wed Apr 28, 2010 11:37 pm
by netmaestro
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
Posted: Thu Apr 29, 2010 11:48 am
by jamba
netmaestro wrote:I'd like to see a #PB_Input_Password flag for it, same as for a string gadget.
I second this!
Re: InputRequester() Message$ -> Auto width & multiple lines
Posted: Tue Apr 12, 2011 10:05 am
by c4s
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".
Re: InputRequester() Message$ -> Auto width & multiple lines
Posted: Fri Jul 22, 2011 1:28 pm
by djes
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