FindButtonBar Method
- Last UpdatedNov 06, 2025
- 1 minute read
The FindButtonBar() method searches for the named button bar on the top level container or .NET form.
'Declaration
Public Shared Function FindButtonBar( _
ByVal factControl As Control, _
ByVal buttonBarName As String _
) As Fact.Controls.ButtonBar
public static Fact.Controls.ButtonBar FindButtonBar(
Control factControl,
string buttonBarName
)
Parameters
- factControl
- Required. Holds the name of the control looking to attach to a button bar.
- buttonBarName
- Required. Holds the name of the button bar for which to search.
Return Value
Returns a reference to the button bar if found, or a null reference
if the button bar is not found.