can't display label text in a progress dialogbox...

From: Christodoulos Pantazis (xpan_at_arg.forthnet.gr)
Date: 02/23/04


Date: Mon, 23 Feb 2004 18:04:07 +0200

hi,
I have this problem. I want to display a progress dialog, which consists of
a progress bar, a Memo and a Label.

when I give

    progress := TProgressDlg.Create(self);
    progress.Show;
    //
    //init stuff
    //
    progress := nil;
    progress.Free;

the Caption in the label plus the text in the memo are not showing. The
progress indicator works normally, however.

If I give
    progress.ShowModal;

I see everything, but the flow of the main programme halts (of course).

What am I doing wrong?



Relevant Pages

  • Re: How to show a text showing the progress in percentage on a Pro
    ... use a panel with background white. ... The position of this label is fixed. ... if the progress is 48% then half of the text "4" is in white ... >> though i dont think its too difficult writing you custom progress bar. ...
    (microsoft.public.dotnet.framework)
  • Re: Splash Screens , how could something so basic still be hard?
    ... background thread. ... Part of why I'm doing this is so that the main window can be ... my users the progress, such as, "Retrieving records from server...", ... label in the splash screen, in fact that label paints white and ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Label Colour Fading
    ... since I am using the label as a progressbar. ... I assume that you want to put your progress bar on a UserForm. ... initial width zero, background colour blue, no text (you guessed it, this ...
    (microsoft.public.excel.programming)
  • Re: flicker
    ... I would start with Control or UserControl... ... Paint event and paint your control's surface. ... i have a custom progress bar made from a label control. ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Me.invoke in forms
    ... > Private Sub FrmLoad_Load(ByVal sender As System.Object, ... >> Show us the full code and in particular SafeUpdate. ... >>> I have a form with a progress bar a and a label. ...
    (microsoft.public.dotnet.framework.compactframework)