Multiselect with Tablecontrol

mcflaytasche

Member
Licensed User
Longtime User
Hello,
is it posible to make multiselect in tablecontrol?
Or is there a other control where I can do this?

Greet
Stefan
 

mcflaytasche

Member
Licensed User
Longtime User
Thank you Erel,
I have use treeview and it works fine.
But now the next question:
When I use the Checkbox funktion for the nodes is there a way to count how many are checked?
Greets
Stefan
 

mcflaytasche

Member
Licensed User
Longtime User
Hello specci48,
thanks for the link.
It works when I select a node
but how can I make it when I check a checkbox?
 

specci48

Well-Known Member
Licensed User
Longtime User
Sorry but I don't understand your question.

If you use the treeview with additional checkboxes, every node has a checkbox. And the code sample in the other thread shows how to find out, which checkboxes (of the complete treeview) have been checked.


specci48
 

mcflaytasche

Member
Licensed User
Longtime User
Hello specci48,
I have understrand how that code-sample work.
But I only get a change when I select a node directly and not when I change a Checkbox.
 

specci48

Well-Known Member
Licensed User
Longtime User
... I still didn't get it ...:sign0013:
Do you want something like a checkboxCheckedEvent?
 

mcflaytasche

Member
Licensed User
Longtime User
Something like treeview_change or treeview_click.
What I want to do:
Everey time a Checkbox will be checked or unchecked I want to get a number
which shows me the number of the checked Checkboxes.
My program I'm working on will write a textfile in which I can place maximally 50 entries and so I need a querie about the checked Checkboxes.
Please excuse me about my english I'm from Germany and not experienced in writing english.:signOops:
 

specci48

Well-Known Member
Licensed User
Longtime User
Since the AfterSelect event is not fired on checking a checkbox (even checking a checkbox on a different node) it is not possible to do what you want.

I think the only way is to count the existing nodes to prevent that there are more than 50 available checkboxes.


specci48
 
Top