Michael, my suggestion would be to use a RichEdit control setup like the
following for your PerlSql.pl script. I do not experience problems with
the RichEdit control using the backspace key to delete text.

$SqlText = $W->AddRichEdit(-name => "SqlText",
         -text => "Enter an SQL Statement here, then click 'Submit'",
         -width  => 560,
         -height => 100,
         -left   => 70,
         -style  => WS_VISIBLE | ES_MULTILINE,
         -top    => 402,
);
$SqlText->SendMessage(197, 1024, 0);  # limit to 1024 character input

Regards,
Eric Hansen


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Thomas, Timothy B
Sent: Friday, October 22, 1999 9:14 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [perl-win32-gui] Deleting TextField Data


My experience with textfields is that when you try to backspace or delete a
part of the text, it doesn't redraw correctly and you can get overlapping
characters. Has anyone else experienced this? Is there a fix for it?
Michael, is this what you are experiencing as well?

----------------------------------------------------------------------------
---------------------
Tim Thomas
Unix Systems Administrator
Lockheed Martin EIS · Denver Data Center
303-430-2281 · Pager 303-266-7971
mailto:[EMAIL PROTECTED]
Pager: mailto:[EMAIL PROTECTED]
----------------------------------------------------------------------------
---------------------

> -----Original Message-----
> From: Mike Kangas [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, October 21, 1999 9:45 PM
> To:   Perl_GUI newsgroup
> Subject:      [perl-win32-gui] Deleting TextField Data
>
> in the sample script textfield.gpl i can backspace over a character and
> it deletes while in the listbox.gpl textfield deleting text only moves
> the cursor back and the new characters overwrite to old.
>
> i can't find the magic line of code that does this.... any one know??
> thanks.
>
> --
> Michael Kangas
> [EMAIL PROTECTED]
>

Reply via email to