Re: VFP9: Multiple Check Box Clicks

Author: Fred Taylor

Posted: 2011-10-21 at 14:10:56

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 end

row. If you've got both a start and an end, mark those in between. Once

marked, clear both start/end rows.

Something along those lines should work, don't have the time to try it

today.

Fred

On Fri, Oct 21, 2011 at 11:01 AM, Desmond Lloyd <desmond.lloyd@gmail.com>wrote:

> Alrighty then,

>

> VFP9 grid, with a check box as control for each record. Click on the

> check

> box and print a document, great. Grid will have up to 1,200 records in

> and

> they need to be able to highlight a range, or click on one and the final

> one (say ten records down) and have the check boxes check in between. Like

> a multiple select.

>

> Has anyone done this.... Could prompt for a range of records, seems a

> little clumsy, multiple select would be good....

>

> Regards,

> Desmond

>

>

> --- StripMime Report -- processed MIME parts ---

> multipart/alternative

> text/plain (text body -- kept)

> text/html

> ---

>

[excessive quoting removed by server]

_______________________________________________

Post Messages to: ProFox@leafe.com

Subscription Maintenance: http://leafe.com/mailman/listinfo/profox

OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech

Searchable Archive: http://leafe.com/archives/search/profox

This message: http://leafe.com/archives/byMID/profox/CAJCBksoi1CWWFzKUyB1Zmb8G+U7c3NosKwR-56ob4kF3N238jg@mail.gmail.com

** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

©2011 Fred Taylor