p2rcoder Posted December 1, 2016 Share Posted December 1, 2016 TUniTreeNode Expand(Recurse: Boolean) Should this method work in unigui? last trial Quote 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. Quote 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; Quote 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 Quote 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.