A Control Setis thefeature to use when there are several instances in a Window’s layout and you need to command (or access them) from code, both for those available by default in the Framework and ones based on your own graphic classes. For example, this allows us to invoke a method in a concrete instance, based on […]
Category: Uncategorized
How To Speed Timers in Windows
The Timerand Xojo.Core.Timerclasses gives us a resolution that is more than enough for most of the cases where we need to use them. In fact, under macOS we don’t find any kind of limitation when using the classes provided by the Xojo Framework: we can achieve a maximum resolution of 1 ms on any of the most […]
Tip: How To Deal with A Lot of Columns in Database Tables
Most of the time, the access to our databases tables involves a small amount of columns (fields), so the use of the Fieldmethod of the RecordSetclass is the most practical approach to retrieve the selected columns values. But what can we do when the query returns, for example, dozens of columns we need to get values from? […]
Canvas: How to Create Custom UI Controls
Xojo includes a good amount of UIcontrols available from the Library for Desktop, Web, iOSand Raspberry Pitargets. These are the pieces that allow you to layout the user interface of your apps: properties, methods and events that, when combined, define the specific behavior of the project at hand. Sometimes, subclassing the available controls is the answer to add specific behaviors […]