Jump to content

Search the Community

Showing results for tags 'tunitreemenu'.

  • 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

Found 6 results

  1. In this topic , I try to share some css for you . For dear novices I will explain, you have this code in UniServerModule -- > CustomCSS Copy and assign the object to the CLS section in Layoutconfig when designing, or use this command when executing bitbtn1.JSCall('addCls', [' ...... ']); you can do if you like first, this sites can help to build css runtime https://htmlcheatsheet.com/css/
  2. Sup guys, I'd like that my TUniTreeMenu Items broke the line whenever the text surpasses the limit width, instead of cuting the text and adding "..." like in the picture below. Any ideas how, I'd appreciate.
  3. Проблема, когда меню в свернутом виде, т.е. когда включено свойство Micro. При создании окна, если включить свойство Micro, то проблема есть (картинка 1). procedure TfmMain.UniFormCreate(Sender: TObject); begin UniTreeMainMenu.Micro := True; А если уже во время работы приложения менять свойство Micro, то проблемы нет (картинка 2).
  4. TUniMTreeMenu привязано к TUniMenuItems. В UniMenuItems есть около 10 пунктов. Чтобы сделать дочерние пункты я делаю так: procedure TfmmMain.BuildMainMenu; begin // mmObjects родитель с двумя подчененными пунктами меню mmMyObjects.SetParentComponent(mmObjects); mmFav.SetParentComponent(mmObjects); ... ... ... end; 1. Проблема в том, что родительские пункты меню не отображают маркеров-треугольников. В десктопной версии меню (TUniTreeMenu) такой проблемы нет. 2. Нужно сделать, чтобы при выборе пункта меню оно либо раскрывалось, если есть дочерние пункты, либо, чтобы выполнялась определенная команда, если к пункту меню привязана команда (TAction). procedure TfmmMain.MainMenuClick(Sender: TObject); var TreeNode: TUniTreeNode; begin TreeNode := MainMenu.Selected; if Assigned(TreeNode) and not TreeNode.IsLeaf then begin if TreeNode.HasChildren then begin if TreeNode.Expanded then begin TreeNode.Collapse(False); TreeNode.Expanded := False; end else begin TreeNode.Expand(False); TreeNode.Expanded := True; end; end end;// if Assigned(N) then end; Получается, что при клике на родительский пункт меню появляется ошибка "_cnf_ is not defined". Если убрать из OnClick вышеуказанный код, то ошибок нет, но родительские пункты меню всё равно не раскрываются.
  5. I'm making a menu with icons using TUniTreeMenu. I've already learnt from the forums that normal Icon images do not work currently (will this be fixed?) and you're meant to use FontAwesome icons. Except, this does not work reliably either, the problem being that (as I've found) the "IconCls" drop down list is seemingly hard-coded and not all the entries are valid (anymore), the result of which is that not all the icons appear as they should. For example: In the above I've got a TUniNativeImageList set up: As it turns out both "locate" and "arrow_left" no longer exists on FontAwesome (it seems) so these icons don't work. It would probably be better to allow refreshing this list from FontAwesome dynamically, or to warn users that the entries may not be all functional. (Apologies if any of this is documented and I've missed it.)
  6. Hi, How can I change the background color of the selected item in TUniTreeMenu? I am using version 1.10.0.1471 Thanks
×
×
  • Create New...