Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Select several records within a grid
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01663827
Message ID:
01663841
Views:
59
>Hello friends; How can I select several records within a grid?

This should be possible with a cursor + index populated with/on an nRecno field and using the DynamicBackColor property. You can capture events which select the row, inserting it into the cursor, and then for the DynamicBackColor you examine your RECNO() and if it's found in that cursor use a different background color. Use an lDeleted field for if they later un-select something, and perform that logic test as part of your DynamicBackColor code.

I haven't tested this, but I think it would work. :-)
Previous
Reply
Map
View

Click here to load this message in the networking platform