Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Vfp5.0a Backcolor property of trextbox in grid
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Vfp5.0a Backcolor property of trextbox in grid
Miscellaneous
Thread ID:
00297483
Message ID:
00297483
Views:
67
Hello,

I'd like to change the backcolor property of textbox in a grid whenever the user clicks in the textbox in question.

I've added the following to the click event of the textbox (along with someother code).

ThisForm.Stgrid1.Column7.Text1.backcolor = rgb(255,0,0)
thisform.refresh

Unfortunately it only changes the backcolor to red while the mouse is actually on the textbox with the left mousebutton depressed.

As soon as the user releases the mousebutton the backcolor returns to its original color.

Any help would be appreciated.

Jim Harvey
jharvey@netrax.net
Next
Reply
Map
View

Click here to load this message in the networking platform