Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Search or Browse Window
Message
From
02/05/2003 17:54:15
 
 
To
02/05/2003 16:00:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00784287
Message ID:
00784424
Views:
12
Steve,
I actually tried this. Create a form with the grid and it looks pretty nice. But I cannot make the incremental search work. I tried to set the code in the KeyPress on the TexBox of the Grid. But since the Grid is read only it work but like #&$@......bad.
So I stared doing it with the LisBox today before I left the office (when I posted this message). I wanted to avoid doing it all from scratch. I thought maybe somebody wrote something similar for these cases of have a better/simpler idea.
I checked the download bud did not find anything.
Maybe somebody can direct me to one?

Thanks


>I've done this with a grid. If you happen to be using codemine there is a good example in the download section called powerfind for codemine. My list class is essentially the same without all the searching capabilities.
>
>If you place a grid on a form and dont specify anything (with the grid) when you open the form, the grid will display the default alias in the data environment. A neat tidbit.
>
>For instance you could use a view or cursor that is created on the fly at runtime and it will automatically populate the grid with all the columns.
>
>If however you only wanted to populate certain columns, you would need to do that programatically.
>Thisform.grid1.columncount=5
>thisform.grid1.column1.controlsource=orders.customer
>thisform.grid1.header1.caption='Customer Name'
>etc....
>
>There are ways to make a grid sort by clicking the header and use incremental searching. But it's not as easy as setting a property in a listbox.
>
>I think there is a grid class in the download section that will do this.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform