Overview
TeeGrid includes built-in themes (Default, iOS, Android, Black) and supports VCL/FMX styles for comprehensive visual customization.Built-in Themes
Applying Themes
Available Themes
VCL Styles
Listing Available Styles
Applying VCL Styles
Complete Example
FromUnit_Themes.pas:
Font Management
Parent Font
Custom Font
Performance Optimization
Reduce Mouse Activity
Custom Theme Creation
Manual Theme Application
FMX Themes
FireMonkey (FMX) applications use the same theme system:Theme Properties
Each theme configures:- Colors: Background, foreground, selection, headers
- Fonts: Size, style, family
- Borders: Line colors, visibility, width
- Spacing: Cell padding, row spacing
- Effects: Gradients, shadows (platform-dependent)
Platform-Specific Themes
Best Practices
- Use built-in themes for consistency across platforms
- Enable ParentFont to respect user’s system font preferences
- Test themes with your data to ensure readability
- Provide theme selection for user customization
- Match application theme with grid theme
Combining Themes with Custom Formatting
Dynamic Theme Switching
Features Demonstrated
- Built-in theme application
- VCL style integration
- Font inheritance
- Performance optimization
- Platform-specific styling
Next Steps
- Learn about Custom Bands for headers/footers
- Explore Custom Editors with themed controls
- See Performance for optimization tips
