jahlxx Posted September 14, 2018 Share Posted September 14, 2018 Hi. I generate a menu (TUnimenuitems) in run time, loading items from a text file. after this, assign it to a unitreemenu, but the treemenu don't dhows nothing. I've tried to generate the unitreemenu directly, without a unimenuitems assigned. with this, all the options are loaded, but can't assign images. some help please. thanks. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 14, 2018 Share Posted September 14, 2018 Hi, Can you make a simple testcase for this ?! Quote Link to comment Share on other sites More sharing options...
jahlxx Posted September 14, 2018 Author Share Posted September 14, 2018 I'll try Quote Link to comment Share on other sites More sharing options...
Freeman35 Posted September 14, 2018 Share Posted September 14, 2018 Farshad was said, will turn this component. Remove Sourcemenu on designtime. OnFormCreate Add TUnimenuitem to TUnimenuitems, or what you want. after then add Sourcemenu in runtime. After onformcreate change TUnimenuitems not apply to unitreemenu. So if you make this, you have to do this on unitreemenu. find unitreemenu's node then change a few proprty. caption, tag etc. 1 Quote Link to comment Share on other sites More sharing options...
stylecc@China Posted August 13, 2019 Share Posted August 13, 2019 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.