Skip to main content

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

From Unit_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

  1. Use built-in themes for consistency across platforms
  2. Enable ParentFont to respect user’s system font preferences
  3. Test themes with your data to ensure readability
  4. Provide theme selection for user customization
  5. 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