[archived content]

Example

import dfl.all;

void main() {
        auto form = new Form;
        form.dockPadding.all = 5;
        form.height = 64;

        auto progress = new ProgressBar;
        progress.minimum = 0;
        progress.maximum = 100;
        progress.value = 25;
        progress.dock = DockStyle.FILL;
        form.controls.add(progress);

        Application.run(form);
}

module dfl.progressbar;
public class ProgressBar: Control
{
protected void createParams(ref CreateParams cp);
public static Color defaultForeColor; [property getter]
protected Size defaultSize; [property getter]
public final void increment(int incby);
public final int maximum; [property getter]
public final int maximum; [property setter]
public final int minimum; [property getter]
public final int minimum; [property setter]
protected void onHandleCreated(EventArgs ea);
public final void performStep();
protected void prevWndProc(ref Message msg);
public final int step; [property setter]
public final int step; [property getter]
public final int value; [property setter]
public final int value; [property getter]
[+] Inherited members
}
public static class ProgressBar.ControlCollection
{
public void add(Control ctrl);
public bool contains(Control ctrl);
public int indexOf(Control ctrl);
public int length; [property getter]
public int opApply(int delegate(ref Control) dg);
public int opIndex; [property getter]
protected final Control owner; [property getter]
public void remove(Control ctrl);
public void removeAt(int i);
}

Page last modified on July 04, 2008, at 04:13 AM