|
- Forum - iziBasic
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257
Sujet n° 1364 |
[Q] Presenting a dialog to ask a question |
le 19/02/2006 @ 01:03 par Eric Gorr
|
With the MESSAGEBOX function, one can present a dialog box to the user to ask a question, but the answers are limited to the buttons one chooses to present to the user.
I was hoping for a function that would present a dialog box to the user to ask a question, but allow the user to enter their own text...basically a dialog box with an input field.
Does such a function exist?
I can, of course, redraw the screen with just the input field visible and an OK/Cancel button, but I would find this kind of interface suboptimal.
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Réponse n° 1 -------- le 19/02/2006 @ 18:43 par aldweb
visiteur |
Hello Eric,
This function is not offered in native by iziBasic. But you can easily build it yourself: 1. design a form in a resource file with Bird (or RsrcEdit), with the input field and whatever buttons or controls you wish 2. add this form in your application with the RESOURCEFILE compiling directive 3. use OPENFORM to open the form, design an event trap routine for it, close it with CLOSEFORM
That's all folks
Cheers, aldweb
|
|
|
sujet actif
sujet clos
Important!
Nouveau message -
Rectifier message
Clôturer sujet
Remonter
|
|