Class ParamsControl
Window control used by parameters form, you can use it to build a custom parameters form
Inherited Members
Namespace: Reportman.Reporting.Forms
Assembly: Reportman.Reporting.Forms.dll
Syntax
public class ParamsControl : ScrollableControl, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable
Constructors
ParamsControl()
Constructor
Declaration
public ParamsControl()
Fields
ControlWidth
Maximum control width in pixels, default 250
Declaration
public int ControlWidth
Field Value
| Type | Description |
|---|---|
| int |
MaxLabelWidth
Maximum label width in pixels, default 500
Declaration
public int MaxLabelWidth
Field Value
| Type | Description |
|---|---|
| int |
Methods
AcceptParams()
Call this method when you want to stored user selection values into the Report parameters
Declaration
public bool AcceptParams()
Returns
| Type | Description |
|---|---|
| bool | Returns true if the parameters were correctly assigned |
Dispose(bool)
Dispose resources
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type | Name | Description |
|---|---|---|
| bool | disposing |
Overrides
FocusFirst()
Set the focus to the first parameter control.
Declaration
public void FocusFirst()
SetReport(Report)
Set the report, creates internal controls to alter the parameters
Declaration
public void SetReport(Report rp)
Parameters
| Type | Name | Description |
|---|---|---|
| Report | rp | Report to be modified |