Jump to content

Search the Community

Showing results for 'unitreemenu'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • uniGUI Public
    • Announcements
    • General
    • Feature Requests
    • Installation
    • Deployment
    • Other Platforms
  • Licensing
    • Licensing
    • Ordering uniGUI
  • Bug Reports
    • Active Reports
    • Closed Reports
    • Old Bug Reports
  • uniGUI Development
    • General Development
    • uniGUI Releases & Roadmaps
    • Utilities
  • Mobile Platform
    • uniGUI Mobile
    • Mobile Browsers
  • Users Area
    • Sample Projects
    • Components and Code Samples
    • Third Party Components
  • Non-English
    • Non-English
  • Miscellaneous
    • Hosting
    • Server Security
    • Jobs

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

  1. How do I change the height of the line in uniTreeMenu? Thank´s
  2. Hi, Base on this thread : http://forums.unigui.com/index.php?/topic/9773-hint-exttiptooltip/ i try to add hint/tooltip on one of treemenu item but still not working: function afterrender(sender, eOpts) { sender.tip = Ext.create('Ext.tip.ToolTip', { target: sender.el, //delegate: sender.getElementById(MainForm.UniMenuItems1.Test1.id); html: '<span class="hintClass">MyHint</span>' }); and i try this code in one of menu item : UniMenuItems1.Test1.Caption := '<div id="anim"><span class="tooltip" data-tooltip="username must' + ' consist of 29 symbols.">Test 1</span></div>'; this hint always display inside menu item. how to resolve this. thanks you in advanced.
  3. Hello, i try to use this codes for treemenu but not work function beforeInit(sender, config) { config.disabledCls=""; } and base on this thanks you in advance. TestCase.7z
  4. Someone knows how I can change the font size of the UniTreeMenu, and modify the background color. I am trying to replace my menus made with complicated panels framed by this component.
  5. In order to change the font size for the UniTreeMenu I needed to use the option LayoutConfig->Cls and then create an CSS class on the custom CSS of the ServerModule. That maded it work for the menu it self. However in the micro mode of the menu, the custom CSS does not affect the appearance of the menu. Here are some prints: Custom CSS: The menu with the correct font size: The menu in the micro mode with the wrong font size: Is there some other class that should be created on the custom CSS to make the micro mode of the menu have the same font size of the regular menu?
  6. Проблема, когда меню в свернутом виде, т.е. когда включено свойство Micro. При создании окна, если включить свойство Micro, то проблема есть (картинка 1). procedure TfmMain.UniFormCreate(Sender: TObject); begin UniTreeMainMenu.Micro := True; А если уже во время работы приложения менять свойство Micro, то проблемы нет (картинка 2).
  7. Hello! I must work with UniTreeMenu and UniMenuItems in RunTime. What I want? I want execute this is actions: Clear RunTime items of UniMenuItems. Why in UniMenuItems? Because UniMenuItems having need to me a property as is UniMenuItem.Tag. In RunTime I want create items in UniMenuItems and this is items will see in UniTreeMenu. It's need me that when I make click on item in UniTreeMenu - I give value from UniMenuItems.Tag. Where UniTreeMenu.SourceMenu=UniMenuItems. I can't found answer on my question on forum. Because, for example, UniTreeMenu.Items.Clear not delete all items from tree.
  8. Hi My uniTreemenu has a sourcemenu. When a set at design time a menu item.visible=false or menuitem.enabled=false and run the application the menuitems are still enabled or visible...why? Delphi 10.3.3. and uniGui 1.90.0.1534
  9. When UniTreeMenu is retrieved the scroll does not appear.
  10. Hi, I want my treemenu, which have a list of items, to resize, after i resize the browser which contains the page. What happens is, my last items disappear when i turn the browser window smaller. Is there a way to resize treemenu automatically? Any property i should set? If anyone could help, please. Thanks in advance.
  11. Hi I use the code below in the ServerModule.CustomCSS to modify my treemenu. See attachment. File TreeMenu_default is when no actions are done File TreeMenu_select is when i have clicked on a item and as you can see the background is lighter. How can I make the background of a selected item the same color as the background of the treemenu AND that the light blue vertical stripe (left of an item) remains visible. .treemenu .x-treelist, .treemenu .x-treelist-row{ background-color: $00161616; height: 40px; } .treemenu .x-treelist-row-over, .treemenu .x-treelist-nav .x-treelist-item-selected > .x-treelist-row{ background-color: #222831 !important; } .treemenu .x-treelist-item-text, .treemenu .x-treelist-item-icon, .treemenu .x-treelist-item-expander { color: #FFFFFF;; font-size: 12px; font-family: Roboto; vertical-align: middle; } .treemenu .x-treelist-item-wrap { position: absolute; top: 50%; -ms-transform: translateY(-50%); transform: translateY(-50%); }
  12. Hi Farshad, Maybe I am the only one, but I am experiencing some issues with the combination of uniTreeMenu and SourceMenu. 1. when you crate a submenu in sourcemenu and set it to visible = false the text of this menu item will remain available, the submenu lines will be gone. 2. set in runtime a menuitem in a sourcemenu to visible = false does not work and the menuitem remains visible 3. set in runtime a menuitem in a sourcemenu to enabled = false does not work and the menuitem remains enabled 4. assigning a different source menu at runtime does not work Tried points 2 and 3 with this code which i can't get working for what i need: Used the code form the link and created a separate procedure. Before calling the procedure i set a menuitem to visible = false and call the procedure. That doesn't work either and the menu option remains visible. I need to toggle menu items on or off in different places in my program based on the type of user. You will find many work-arounds but no concrete solution. You want to make a menuitem visible or enable, just like in a mainmenu or popmenu. Please improve the uniTreeMenu because there are more forum members having issues with it. I use Delphi 10.3.3. and 1.90.0.1534 Regards Peter
  13. uniTreeMenu does not load images added from a uniNativeImageList. What can I do to fix it? Error images
  14. While using the Unitreemenu, I added one unimenuitems and selected unimenuitems as the unitreemenude source menu. Images are not displayed even though the menus are visible
  15. Hi everyone. I was using one of the sample projects (UniTreeMenu Items). When i clicked on submenu item i want to hide them, so the Menu can regret back. I just noticed the property HideonClick doesn't work on 1.90.0.1535. I tried to follow this workaround: But unfortunately didn't make successfully on my attempt. Here some attachments, hope it helps anyone to understand my problem. Cheers!
  16. Is it possible to add fixed labels in a TUniTreeMenu? Or have a property for the Node that adds a style like cls? Thank you
  17. I have uniTreeMenu.NavUI= false I have created a customccs .treemenu .x-treelist, .treemenu .x-treelist-row{ background-color: #313A46; height: 40px; } .treemenu .x-treelist-row-over, .treemenu .x-treelist-nav .x-treelist-item-selected > .x-treelist-row{ background-color: #222831 !important; } .treemenu .x-treelist-item-text, .treemenu .x-treelist-item-icon, .treemenu .x-treelist-item-expander { color: #FFFFFF; font-size: 12px; font-family: Roboto Medium; vertical-align: middle; } The vertical-align doesn't work
  18. How do I make a search in UniTreeMenu like UnitreeView1 ?
  19. Hi, Newbie user and looks great! I'm tring to update a TUniTreeMenu inside the event handler of a menu item. When I do this, the entire menu is ducplicated. I have tried: UniTreeMenu1.BeginUpdate; UniTreeMenu1.SourceMenu := nil; MyMenuItems.Clear; etc. MyMenuItems is a sub menu. What am I doing wrong?
  20. Hi I use google fonts, and i need to change font family at run time, I managed to do it for all component except for UniTreeMenu, I need like the flowing code which works on UniTabSheet UniSession.AddJS(UniTabSheet.JSName + '.tab.btnInnerEl.setStyle("font-family", "'Cairo'")'); regards Ammar
  21. Hello, I would like to know if there is no way to shorten it (...) as an automatic line break?
  22. In newer versions of ExtJS, the filter does not work (as indicated in the forum) how can i dynamically load the items of a menu? UniGui Version 1.90.0.1534 Delphi Rio
  23. Hi. I have a problem filtering the UniTreeMenu. I've adapted this method from Extjs filterStore: function(value) { var me = this, store = me.store, searchString = value.toLowerCase(), filterFn = function(node) { var children = node.childNodes, len = children && children.length, visible = v.test(node.get('text')), i; // If the current node does NOT match the search condition // specified by the user... if (!visible) { // Check to see if any of the child nodes of this node // match the search condition. If they do then we will // mark the current node as visible as well. for (i = 0; i < len; i++) { if (children[i].isLeaf()) { visible = children[i].get('visible'); } else { visible = filterFn(children[i]); } if (visible) { break; } } } else { // Current node matches the search condition... // Force all of its child nodes to be visible as well so // that the user is able to select an example to display. for (i = 0; i < len; i++) { children[i].set('visible', true); } } return visible; }, v; if (searchString.length < 1) { store.clearFilter(); } else { v = new RegExp(searchString, 'i'); store.getFilters().replaceAll({ filterFn: filterFn }); } look like this The code was working great, until a uniGUI update, i believe it was 1498 wich introduce Ext js 6.7 (not sure). Since that update the code isn't working anymore, it does not filter the tree and furthermore, is not expanding all the tree nodes. Anyone knows anything about this? I cant use the filter as is it show on the demo files, because my tree is dynamically created. (related post: Regards
×
×
  • Create New...