New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple checkbox support #1
Comments
From mike.lischke on June 15, 2009 23:44:24 This change requires to store check state data in the node records. In order to Labels: Effort-High Impact-Low Workaround-None Risk-Medium |
From mike.lischke on June 15, 2009 23:47:02 Status: Accepted |
From karah...@tele2.at on October 18, 2009 16:04:02 I describe a workaround in my Tutorial Part 2 - v0.08 in 2.18.6) without any LG Wolfgang |
From a...@anse.de on October 19, 2009 11:10:46 To be honest, in the meantime I'd become unsure if VT really needs per column |
From karah...@tele2.at on October 20, 2009 00:01:24 Ok, so we have a new category of Issues: a wish ... and a clear, practicable and |
From an...@rambler.ru on November 10, 2009 09:47:43 Wolfgang, could you please describe the method in a few |
From karah...@tele2.at on November 10, 2009 15:34:20 Ok, I will try it. I hope my english is clear enough. If something ist unclear, Attachment: Issue 1 Workaround.rtf WZ_VST_TestDrive.zip |
From an...@rambler.ru on November 10, 2009 23:22:20 Wolfgang, thank you a lot! Everything's clear. |
From jchoo...@gmail.com on June 04, 2010 19:20:27 While drawing those images are functional, I wonder if you could make it "Theme using procedure TGridForm.VST5AfterCellPaint(Sender: TBaseVirtualTree; TargetCanvas: begin end; procedure TGridForm.DrawCheckBox(Sender: TVirtualStringTree; const Canvas: TCanvas;
else
end; Note, this is just a tweak to the current demo code to get basic functionality of |
From m.ton...@upscene.com on December 10, 2010 01:49:14 I would certainly like additional checkbox support without having to go through hoops for it. Drawing the checkboxes ain't that hard, but making them functional including "hot tracking" etc is getting annoying. |
From joachim....@gmail.com on May 14, 2013 13:29:15 Status: New |
From fr0st.br...@gmail.com on February 06, 2014 04:47:49 I propose adding an event: TVTGetCellCheckEvent = procedure(Sender: TBaseVirtualTree; Node: PVirtualNode; Column: TColumnIndex; out CheckType: TCheckType; out CheckState: TCheckState) of object; which will be called in GetCheckImage (which will require adding Column parameter): if Assigned(Node) then so that it will be the user who fully controls check type/state like it is done for image index, for example. A sample use could look like this: // assuming Node.CheckType is set to cbCheckBox; if not, just return it for those columns which need checkboxes I've started implementing this but then appeared pretty much little stuff like node hover/click handling, node selecting, node empty text display etc so I held it for a while. |
Help!!! Btw: I'd like to see the tutorial. We are using Delphi2010, so I am hoping for a solution that works with VST Version 5. Thanks in advance! |
Being unresolved after almost 10 years, I am closing this feature request. |
From a...@anse.de on June 14, 2009 06:25:24
Currently there is checkbox support for one (I think the main-) column.
Which is nice and useful.
There are several situtations where more than one checkbox per node is
needed. I have implemented a workaround for this in HeidiSQL, where a
checkbox image gets drawn in OnAfterCellPaint, and clicks are handled in
OnClick - not very nice code, and the checkbox doesn't behave exactly like
a normal checkbox does. For example the style of it is not adjusted to
Vista or XP. Or events like OnGetText set the cell text but that is not
displayed anywhere.
See also a forum discussion: http://support.soft-gems.net/forums/viewtopic.php?t=1526
Original issue: http://code.google.com/p/virtual-treeview/issues/detail?id=1
The text was updated successfully, but these errors were encountered: