Project JEDI - Issue Tracker
Mantis Bugtracker

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006262 [JEDI VCL] 00 JVCL Components minor always 2014-03-05 16:08 2016-08-07 01:48
Reporter leobruno View Status public  
Assigned To AHUser
Priority normal Resolution fixed  
Status resolved   Product Version 3.47
Summary 0006262: TjvPageListTreeView & TjvStandardPage Enabled = False
Description I have 4 nodes on a TjvPageListTreeView linked to 4 pages of a TjvStandardPage.

Let´s say that I need to block the access to the page linked to the nodeindex 1.

tv1.Items.Item[1].Enabled := false;

After the compilation the node apears in grey collor indicating that the node is disabled, but when clicking on it, the page linked to it is normally displayed.

Is it a bug or I should use a different aproach to block the page from beaind displayed ?
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
leo_burns (reporter)
2014-03-27 01:47

I was able to solve my problem by implementing this code on the OnChanging Event of the TjvPageListTreeView:

procedure Tfrm1.tv1Changing(Sender: TObject; Node: TTreeNode;
  var AllowChange: Boolean);
  AllowChange := Node.Enabled;

But I really think that a disabled item on the TreeView, should make the Page linked to it unnavaiable.

If Jedi Project believes that this should not be implemented, I think that this example should be added to the demo projects.

Thanx ...
obones (administrator)
2014-09-03 11:34

Please provide the zipped sources of a sample application showing this
AHUser (developer)
2016-08-07 01:48

Fixed in master branch.

- Issue History
Date Modified Username Field Change
2014-03-05 16:08 leobruno New Issue
2014-03-27 01:47 leo_burns Note Added: 0020932
2014-09-03 11:34 obones Note Added: 0021027
2014-09-03 11:34 obones Status new => feedback
2016-08-07 01:48 AHUser Note Added: 0021362
2016-08-07 01:48 AHUser Status feedback => resolved
2016-08-07 01:48 AHUser Fixed in Version => Daily / GIT
2016-08-07 01:48 AHUser Resolution open => fixed
2016-08-07 01:48 AHUser Assigned To => AHUser

Mantis 1.1.6[^]
Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker