Lance,

In your sub where the user closes (terminates) the window containing the
RichEdit control try adding this:

$RichEdit->Text("");


where $RichEdit is the name that you have given your RichEdit control.

Jonathan Southwick
Technical & Network Services
Allegheny College, Meadsville, PA
[EMAIL PROTECTED]

----- Original Message -----
From: "Cuthbert, Lance (DeepGreen Bank)" <[EMAIL PROTECTED]>
To: <perl-win32-gui-users@lists.sourceforge.net>
Sent: Wednesday, March 14, 2001 10:44 AM
Subject: [perl-win32-gui-users] Richtext field


> I am having some difficulty with the Win32::GUI::RichEdit package and I am
> hoping that someone might be able to help.
> In the program that I writing the user invokes a RichEdit text box to view
> the results of a database query. The first time the user
> opens the RichEdit textbox, the results from just that query are present -
> this is what I want. But, after the user closes that window
> and runs another query, the next time the user opens the RichEdit textbox
> the results from the first query as well as the second query
> are there.  Any ideas?
> Thanks in advance.
>
> > Lance S. Cuthbert
> >
> >
> >
>
> _______________________________________________
> Perl-Win32-GUI-Users mailing list
> Perl-Win32-GUI-Users@lists.sourceforge.net
> http://lists.sourceforge.net/lists/listinfo/perl-win32-gui-users
>


Reply via email to