RE: VFP9: Multiple Check Box Clicks

2011-10-21 Thread Allen
You could forget the checkbox and just use one of the dynamic colours Allen -Original Message- From: profoxtech-boun...@leafe.com [mailto:profoxtech-boun...@leafe.com] On Behalf Of Desmond Lloyd Alrighty then, VFP9 grid, with a check box as control for each record. Click on the check bo

Re: VFP9: Multiple Check Box Clicks

2011-10-21 Thread Andrew Stirling
here's another one http://www.tek-tips.com/faqs.cfm?fid=433 Kind regards Andrew Stirling On 21/10/2011 19:40, Desmond Lloyd wrote: > Thank you everyone for your quick responses! Am going to try the code > below. Already have a checkbox in the grid, so will modify accordingly > > Many, ma

Re: VFP9: Multiple Check Box Clicks

2011-10-21 Thread Desmond Lloyd
Thank you everyone for your quick responses! Am going to try the code below. Already have a checkbox in the grid, so will modify accordingly Many, many thanks! Regards, Desmond On 21 October 2011 13:22, Frank Cazabon wrote: > Desmond, > > I have some old code that does that (this is

Re: VFP9: Multiple Check Box Clicks

2011-10-21 Thread Frank Cazabon
Desmond, I have some old code that does that (this is really old so no guarantees): Add a property to your form called ilCallMultiSelect and set it to .F. add a checkbox to a column in the grid and delete the default textbox that's there. This is the checkbox's MouseDown(): LPARAMETERS nButt

RE: VFP9: Multiple Check Box Clicks

2011-10-21 Thread Richard Kaye
That's really more like listbox behavior. Not sure what the performance of a list control with 1200 items would be. I usually provide some way to do a check/uncheck all. You could also have an invert selection button. Other than that, you'd probably have to get into some pretty fancy mouse down

Re: VFP9: Multiple Check Box Clicks

2011-10-21 Thread Fred Taylor
Haven't tried it but I remember doing something like this a long time ago. Instead of using just the Click event on the Checkbox, you might try using the MouseUp event and check the nShift parameter and sets a flag that Click can use to set a start row / end row. Flag not set, start row, flag set