Add the following before your "$W ->Show;":
$W->{-dialogui} = 1;
and it should make the Window act like a DialogBox.
Use Jeremy's suggestion to put the cursor in the textfield.
Jonathan Southwick
Technical & Network Services
Allegheny College, Meadsville, PA
[EMAIL PROTECTED]
- Original M
$W->Display->SetFocus(), I believe is what you are
looking for.
I also use $W->Display->SelectAll() so that the text
is highlighted and when you start typing it wipes out
all of the previous text.
jb
--- [EMAIL PROTECTED] wrote:
> Can Anybody help here.
> At the moment I have to click on the tex
> All I want is, When the progran start's the first textbox is already
> highlighted and to submit it all I have to do is press Enter,
I haven't done it, just read about it, so forgive me if I write something
stupid (I would anyway).
>From my understanding you have to go through the process of cre
Can Anybody help here.
At the moment I have to click on the textbox to highlight it before I can
enter anything and then I have to use the mouse to click validate it
All I want is, When the progran start's the first textbox is already
highlighted and to submit it all I have to do is press Enter
4 matches
Mail list logo