Rich Text Box Progress Display problems

  • Thread starter Thread starter mgoold2002
  • Start date Start date
M

mgoold2002

Hi. I have a class that call another class which handles progress
messaging. The progress messaging class has an RTF that's supposed to
display progress messages using the appendtext method.

When I call the progress messaging class, the form pops up, but the rtf
fails to display or show messages. Any idea what the prob might be?
Here's the calling code:

Dim ProcessUpdates1 As New Progress_Updates

ProcessUpdates1.Show()
ProcessUpdates1.ProcessUpdates.BringToFront()
ProcessUpdates1.ProcessUpdates.AppendText("Please Wait...")
ProcessUpdates1.ProcessUpdates.Focus()
ProcessUpdates1.ProcessUpdates.ScrollToCaret()

Of course, "ProcessUpdates" references the RTF

Thanks,

Henry
 
When I call the progress messaging class, the form pops up, but the rtf
fails to display or show messages. Any idea what the prob might be?
Here's the calling code:

Dim ProcessUpdates1 As New Progress_Updates

ProcessUpdates1.Show()
ProcessUpdates1.ProcessUpdates.BringToFront()

What do you want to archieve with the line above?
ProcessUpdates1.ProcessUpdates.AppendText("Please Wait...")

Are you sure you are calling the method from within the thread the control
has been created on?
 
Back
Top