How to use sets in code, such as adding to TDBGrid.Options,
at run time?
Answer / Furakan Ali
You can add items to a set (like TDBGrid.Options) at runtime by using the Add method. Here is a simple example:
```
MyDBGrid.Options := [toNoAutoTest]; // Set initial options
// At runtime, you can add more options like this:
MyDBGrid.Options.Add(toShowCheckBoxes);
```
| Is This Answer Correct ? | 0 Yes | 0 No |
How to place a bitmap in a Metafile?
What is the function of inheritance in delphi?
How to draw using LoEnglish Mapping Modes?
How to use the InterBase Express (IBX) SQL monitor?
How to Add hint windows to applications?
What are the Benefits of the ConstraintBroker?
How to Make text background transparent?
What is the function of dynamic arrays?
How to move Client Objects to a different AS/400?
How to Use Variables & For Loops in Delphi?
Where is proxies.dcu?
How to Check drive ready status?