Form

GPALButton

GPALButton is a standard push button that can be added to a GPALForm with WithFormControl. Configure the button text with WithText. Wire a click handler to execute logic when the user clicks. The button integrates with GPAL.Application selectors for automation and with GPAL.Browser for web form interactions. ToGPALObject returns the control as its interface type for passing to WithFormControl.

Examples

GPAL Fluent: High-level fluent C# API

//Use WithText to set the text displayed on the button face. The button's click event integrates with GPAL's data flow - the CallAfterFillIn and workflow callback system handles button-triggered actions.

// Add a button to a form

GPAL.Form

.WithTitle("Actions")

.WithFormControl((Button)GPAL.Button

.WithText("Process"))

.ShowDialog();

💬 Ask GPAL