Controls
Many window-based applications contain different user interface controls that were designed to make the work with the application more convenient and easy to use for its users. The most frequently used controls are
labels
textboxes
buttons
listboxes
We learn in this section how to incorporate these controls into our GUI applications. When we create a new control for our form, we should add it to the controls collection of the form. We can do it by calling the Add method on the Controls property of the Form class.
with Function
When working with controls, we often need to set multiple properties for a single object representing some control. To make it easier, we can use the with function exposed by the PerlNET module. Its syntax is similar ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access