Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Interactively Changing Object Properties in Grid
Message
From
31/01/2004 13:29:11
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Interactively Changing Object Properties in Grid
Miscellaneous
Thread ID:
00872669
Message ID:
00872669
Views:
53
I thought the following code in the ProgrammaticChange method would change the font for a textbox in my grid, but when its value is changed in code the font does not change. Trying to show the font differently for this cell depending on whether the value is TRUE or FALSE. Thanks!

Regards, Renoir
THISFORM.Lockscreen = .T.

WITH THIS
	IF .Value = .T.
		.ForeColor = RGB(255,0,0)
		.FontBold = .T.
	ELSE
		.ForeColor = RGB(0,0,0)
		.FontBold = .F.
	ENDIF
ENDWITH

THISFORM.Lockscreen = .F.
Next
Reply
Map
View

Click here to load this message in the networking platform