View Issue Details

IDProjectCategoryView StatusLast Update
0001433JEDI VCL04 Feature Requestpublic2004-04-05 04:49
ReporteranonymousAssigned Touser72 
PrioritynormalSeverityfeatureReproducibilityalways
Status resolvedResolutionfixed 
Product Version 
Target VersionFixed in Version 
Summary0001433: TJvDBLookupTreeViewCombo.FullExpand does not exist.
DescriptionThere's no way to tell the component that I want the treeview expand, except setting AutoExpand to True. But AutoExpand does not always expand al the branches.
TagsNo tags attached.

Activities

hasse42g

2004-03-06 10:46

reporter   ~0003247

(Copy and pasted from my reply in the newsgroup)

I took a glance at the code and you should be able to do it, but it
requires a change in the JvDBLookupTreeView unit. I'm not able to test
it myself but you could try something like this:

At the end of TJvDBLookupTreeViewCombo.DropDown method, just before the
call to Repaint, add this line:

FDataList.FTree.FullExpand;

If it works this behaviour should of course be implemented with a
published boolean property of the TJvDBLookupTreeViewCombo class, named
something like FullExpand.

user72

2004-04-02 11:03

  ~0003600

Please provide a working implementation or we will not be able to proceed with this issue.

2004-04-05 03:10

 

JvDBLookupTreeView.zip (10,196 bytes)

hasse42g

2004-04-05 03:16

reporter   ~0003645

I made the changes I suggested (added a property FullExpand and invoke FDataList.FTree.FullExpand in TJvDBLookupTreeViewCombo.DropDown), but as I said before: I could not test it. (It compiles though.)

I uploaded the file if anyone can/want to verify that it works. Otherwise I suggest you close this issue.

user72

2004-04-05 03:18

  ~0003646

Thanks. Added to CVS

anonymous

2004-04-05 03:24

viewer   ~0003647

Last edited: 2004-04-05 03:28

Oh, I was too quick! I see now that someone named "zelen" made similar changes. He called his property Expanded though. Now, there are two properties that does the same thing (Expanded and FullExpand). Please remove my changes.

P.S. (and BTW) I'm hasse42g (Hans-Eric Grönlund).

edited on: 04-05-04 03:28

user72

2004-04-05 04:49

  ~0003650

I like FullExpand better because it corresponds to the name of the treeview property so I removed Expanded instead.

Wonder how zelen got his changes into CVS?

Issue History

Date Modified Username Field Change
2004-03-05 15:05 anonymous New Issue
2004-03-06 10:46 hasse42g Note Added: 0003247
2004-04-02 11:03 user72 Note Added: 0003600
2004-04-02 11:04 user72 Status new => feedback
2004-04-05 03:10 hasse42g File Added: JvDBLookupTreeView.zip
2004-04-05 03:16 hasse42g Note Added: 0003645
2004-04-05 03:18 user72 Status feedback => resolved
2004-04-05 03:18 user72 Resolution open => fixed
2004-04-05 03:18 user72 Assigned To => user72
2004-04-05 03:18 user72 Note Added: 0003646
2004-04-05 03:24 anonymous Status resolved => feedback
2004-04-05 03:24 anonymous Resolution fixed => reopened
2004-04-05 03:24 anonymous Note Added: 0003647
2004-04-05 03:28 anonymous Note Edited: 0003647
2004-04-05 04:49 user72 Note Added: 0003650
2004-04-05 04:49 user72 Status feedback => resolved
2004-04-05 04:49 user72 Resolution reopened => fixed