Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is this grid possible in vfp
Message
From
22/08/2017 13:20:32
 
 
To
21/08/2017 12:13:13
Mk Sharma
Shrishti Solutions
Mumbai, India
General information
Forum:
Visual FoxPro
Category:
ActiveX controls in VFP
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01653517
Message ID:
01653586
Views:
82
>>>is this grid possible in vfp ?
>Please Share Some detail or Example.

1. Create a cursor with all fields as varchar(255).
2. Add a blank row at the top of the cursor and populate the remaining rows from your data.
3. In the grid, add your combo boxes to each column
3. Use DynamicCurrentControl to show the combo box only when Recno = 1
4. Add your code to populate combo boxes and filter


The real trick is to lose the idea that the grid exactly shows your data from the table..
The cursor for the grid is there just to drive the grid to behave as you wish - tied only loosely to the original data.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform