Form

GPALInput

GPALInput is the primary text entry control for interactive GPAL forms. Configure it with a label and optional placeholder text. When FillInFrom is used with a data source, the input value is set from the corresponding column in the data grid. The input value is extracted when the form data is read back. Supports AppendFrom and InsertFrom for non-destructive edits.

Examples

GPAL Fluent: High-level fluent C# API

//Each GPALInput added to a form corresponds to one column in the data grid produced by FillInFrom. Inputs are populated in the order they were added to the form.

// Text input in a form

GPAL.Form

.WithTitle("New Record")

.WithFormControl((Input)GPAL.Input

.WithText("First Name"))

.WithFormControl((Input)GPAL.Input

.WithText("Last Name"))

.ShowDialog();

💬 Ask GPAL