Jump to content

RaoulW

uniGUI Subscriber
  • Posts

    10
  • Joined

  • Last visited

Posts posted by RaoulW

  1. Hi,

     

     

    Thanks for the help. Unfortunately it does not help. I have to re-create a submenu so I changed your example to:

     

        for i := SubMenu.Count-1 downto 0 do
        begin
          for j := SubMenu[i].Count-1 downto 0 do
             SubMenu[i].Delete(j);
          SubMenu.Delete(i);
        end;

     

    But that results in the entire menu dissapearing. Using the BeginUpdate and/or SourceMenu := 0 has no effect, the menu stays blank.

  2. Hmm ok, the frist two deal with hiding existing items and not adding them.

    I tried the last option but that removes all menu items. I only need to remove or add to a certain subment. No idea how to do that in JS...

     

    Thanks,

  3. Hi,

    I've set up a redirect URL for my Oauth2 authentication.

    After authentication, everything works fine but the URL is set up to go to localhost:8077. This takes me to the login screen.

    How can I bypass the login screen and stay in the same session I was in before the redirect?

    Thanks

     

  4. 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?

     

×
×
  • Create New...