tsNative Tries to set a look that is in concordance with current widgetset theme.The color used to draw fixed cells' background.įont used to draw the text in fixed cells.Ĭhanges the 3D look of fixed cells. Sets the primary color used to draw non fixed cells' background. This is to allow easy reading of grid rows data. The user can change the background color that appears on alternate rows. Following is a list of such properties: Properties and Events for customizing grids Property Some properties can affect the way the grid looks by acting when the cell is about to be painted in PrepareCanvas/OnPrepareCanvas by changing default canvas properties like brush color or font. Lazarus grids are flexible enough to allow programmers to make them look similar to other native controls alternatively they can customize the grid to obtain almost the same look in any platform or widget interface (with the exception of scrollbars, whose look is still determined by the current theme). This can be both an advantage and a disadvantage: usually programmers want to create a uniform-look application. Grid are components derived from the TCustomControl class and don't have a native widget associated with them, so they are not restricted by the look of the current interface theme. How to use Grids including StringGrids, DrawGrids and DbGrids
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
December 2022
Categories |