Lantica Software Support Center
Lantica Software Home Page
Order Sesame Getting Started Support Center Contact Us Company Downloads Q&A ™  
Search

Knowledgebase Home

Change the background color of an individual cell in a form/subform

To conditionally set the background color for a cell based on values, put something like the following in the On Draw event for the cell:


If(population > 1000000)
{
	RGBColor(City, 0, 0, 0, 255, 0, 0)
}
Else
{
	RGBColor(City, 0, 0, 0, 255, 255, 255)
}

Properties ID: 000177   Views: 841   Updated: 13 years ago
Filed under:
Programming
Form/Database Design

Copyright Lantica Software, 2003-2025 All rights reserved