Form

GPALProgressBar

GPALProgressBar renders a horizontal progress indicator. Update the progress value programmatically as an operation advances. Use it in forms shown with Show() (non-modal) so the automation can update the bar while work proceeds. FillInFrom can set the initial or current value from a data source. This control is display-only - it has no user interaction.

Examples

GPAL Fluent: High-level fluent C# API

//GPALProgressBar is typically used with Show() so automation can run concurrently with the form. Update the progress value by calling FillInFrom with a single-value grid as the operation advances.

// Progress bar in a non-modal status form

var form = GPAL.Form

.WithTitle("Processing...")

.WithFormControl((Label)GPAL.Label

.WithText("Import in progress"))

.WithFormControl((ProgressBar)GPAL.ProgressBar

.WithText("Progress"))

.ToGPALObject();


form.Show();

// ... automation updates the progress bar ...

form.Hide();

💬 Ask GPAL