Andrew Posted October 9, 2024 Posted October 9, 2024 Hello. Tell me how I can replace the icons with my own, so that each sublevel has its own icon. Perhaps it would be better to use another component for this. I tried replacing the icons in the style, but there are only two options: expanded and collapsed. I attach an image with the required view. https://photos.app.goo.gl/bKQtYM2zPUpAbAeK9 Quote
Sherzod Posted October 9, 2024 Posted October 9, 2024 Hello, Can you specify first which edition and build of uniGUI are you using? Quote
Sherzod Posted October 10, 2024 Posted October 10, 2024 2 minutes ago, Andrew said: Professional_1.95.0.1591 Quote
Fomin Andres Posted October 10, 2024 Posted October 10, 2024 I didn't find the "Forum email" field in the settings, I logged in under a different account Quote
Fomin Andres Posted October 17, 2024 Posted October 17, 2024 Hello. Tell me how I can replace the icons with my own, so that each sublevel has its own icon. Perhaps it would be better to use another component for this. I tried replacing the icons in the style, but there are only two options: expanded and collapsed. I attach an image with the required view. https://photos.app.goo.gl/bKQtYM2zPUpAbAeK9 Quote
Sherzod Posted October 18, 2024 Posted October 18, 2024 22 hours ago, Fomin Andres said: Tell me how I can replace the icons with my own, so that each sublevel has its own icon. Hello, And what is the logic behind loading custom icons? Quote
Fomin Andres Posted October 21, 2024 Posted October 21, 2024 On 18.10.2024 at 15:03, Sherzod said: Привет, И какова логика загрузки пользовательских иконок? use a prepared icon for each database field. Quote
Sherzod Posted October 21, 2024 Posted October 21, 2024 4 minutes ago, Fomin Andres said: use a prepared icon for each database field. Hello, What database are you using? If possible, create a simple testcase. Quote
Fomin Andres Posted October 21, 2024 Posted October 21, 2024 3 hours ago, Sherzod said: Hello, What database are you using? If possible, create a simple testcase. Hello, The data will be stored in a json file. You can use the demo component DBTreeGrid as an example. The image shows how it should look. https://photos.app.goo.gl/SEZW9rkWrecBBKKC7 Quote
Fomin Andres Posted October 21, 2024 Posted October 21, 2024 2 hours ago, Sherzod said: OK, do you have a simple testcase? UniGui DBTreeGrid.zip Quote
Sherzod Posted October 21, 2024 Posted October 21, 2024 9 minutes ago, Fomin Andres said: UniGui DBTreeGrid.zip 3.5 MB · 0 downloads Sorry for the clarification, and how should I test this test case, where to get the icons to show? Quote
Fomin Andres Posted October 21, 2024 Posted October 21, 2024 44 minutes ago, Sherzod said: Sorry for the clarification, and how should I test this test case, where to get the icons to show? Found in UniNativeImageList1 Quote
unikart Posted December 18, 2024 Posted December 18, 2024 One option could be the TTreeView component from the TMS component pack. It has built-in support for custom icons per node, which should give you the flexibility you need to achieve the look you're going for. You can set the ImageIndex and SelectedIndex properties on each node to specify the desired icons. 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.