p2rcoder Posted December 1, 2016 Share Posted December 1, 2016 TUniTreeNode Expand(Recurse: Boolean) Should this method work in unigui? last trial Link to comment Share on other sites More sharing options...
Sherzod Posted December 2, 2016 Share Posted December 2, 2016 Hi, Yes, it should work. Best regards. Link to comment Share on other sites More sharing options...
mika Posted February 17, 2017 Share Posted February 17, 2017 It seems that it doesn't work. At least, not entirely as expected. When I place TUniTreeNode Expand(Recurse: Boolean) in TUniForm.AfterShow, it works as it should but for example following code does not work: TButton.OnClick(Sender... begin UniTreeView.Items.Clear; { Add some items here } if UniTreeView.Items.Count > 0 then UniTreeView.Items.GetFirstNode.Expand(True); end; Link to comment Share on other sites More sharing options...
mika Posted February 17, 2017 Share Posted February 17, 2017 This is weird. Right after I posted it actually did work. Sorry. Carry on Link to comment Share on other sites More sharing options...
RobYost Posted February 18, 2017 Share Posted February 18, 2017 Do you have a Tree.UpdateBegin When I put that at the start FullExpand does not work. Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now