Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to use a GRID for display and select only - no editi
Message
From
27/04/2000 09:00:42
 
 
To
24/04/2000 23:25:38
Peter Brama
West Pointe Enterprises
Detroit, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00363004
Message ID:
00364069
Views:
22
Peter:

For the record mark to show on the grid upon loading try a this.grid.setfocus() in the activate of the page.

To prevent a cursor in an active cell, I usually put code in the when event of whatever control is in each column (textbox, etc...)that looks something like:

if this.readonly = .t.
return .f.
else
return .t.
endif

This way if i set it readonly it will not take a cursor but the row still gets focus and if i set readonly off it works the way it normally would.

As for getting the entire row to highlight, I'm not sure off the top of my head but you might try something with dynamicbackcolor in the columns.

Hope this helps
Previous
Reply
Map
View

Click here to load this message in the networking platform