p2rcoder Posted December 1, 2016 Posted December 1, 2016 TUniTreeNode Expand(Recurse: Boolean) Should this method work in unigui? last trial Quote
mika Posted February 17, 2017 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
mika Posted February 17, 2017 Posted February 17, 2017 This is weird. Right after I posted it actually did work. Sorry. Carry on Quote
RobYost Posted February 18, 2017 Posted February 18, 2017 Do you have a Tree.UpdateBegin When I put that at the start FullExpand does not work. Quote
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.