how to simulate a ctrl+clic

Author: Jean MAURICE

Posted: 2014-04-02 at 00:11:04

Hi,

I have to work on all the pupils in a classroom but one or two. So I built a

listbox with the name of all the pupils (about 35). In the init of the listbox,

I 'select' all the lines.

If I ctrl+clic on a pupil, it becomes unselected and selected again if I redo

the ctrl-clic. It's exactly what I want. It works great.

But if I forgot to press the CTRL key (and it will happen very often), all the

pupils become unselected at the same time and it is unbearable.

I didn't find a mean to 'simulate' the CTRL key in the click event or the

mousedown event ! Have you an idea ?

TIA

The Foxil

_______________________________________________

Post Messages to: ProFox@leafe.com

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

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

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

This message: http://leafe.com/archives/byMID/profox/533B9BE8.6070804@wanadoo.fr

** 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.

©2014 Jean MAURICE