CSS new style help
All  1-2  3-6

Previous
Next
 From:  Moi3dFan
11149.3 In reply to 11149.2 
I am generally interested in the name of this container that appears on the menu button to find its properties.
After that, I think that I can already modify it.

And I would like to understand the name of this rectangular area where the white arrow is located, in order to make it not on top of the button, but along the bottom edge



  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Michael Gibson
11149.4 In reply to 11149.3 
Hi Moi3dFan,

re:
> I am generally interested in the name of this container that appears on the menu button to find its properties.

The menu button should be a <moI:CommandMenuButtton> element with a menu="" attribute which would contain the name of the .htm file for the menu.


> And I would like to understand the name of this rectangular area where the white arrow is located, in order
> to make it not on top of the button, but along the bottom edge

That's called a menu launcher, it's a little window that is shown by a <moi:CommandMenuButton> when the mouse moves over the button.

There isn't currently any way to make it launch downwards except they will go downwards if they are inside a UIPanel where the UIPanel has dock="top".

But instead of using a <moi:CommandMenuButton> you could instead use your own custom made button that would show the menu by calling:

moi.ui.showMenu( Url, ParentElement LaunchSide, LaunchDir );

LaunchSide is 0 to 3, LaunchDir is 0 or 1.
LaunchSide 0 = use top connector, LaunchDir = 0 expand to right, LaunchDir = 1 expand to left.
LaunchSide 1 = use left connector, LaunchDir = 0 expand down, LaunchDir = 1 expand up.
LaunchSide 2 = use bottom connector, LaunchDir = 0 expand right, LaunchDir = 1 expand left.
LaunchSide 3 = use right connector, LaunchDir = 0 expand down, LaunchDir = 1 expand up.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
Next
 From:  Moi3dFan
11149.5 In reply to 11149.4 
re:
> moi.ui.showMenu( Url, ParentElement LaunchSide, LaunchDir );

What is ParentElement?
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged

Previous
 From:  Michael Gibson
11149.6 In reply to 11149.5 
Hi Moi3dFan,

re:
> What is ParentElement?

It's the HTML Element that was clicked on to launch the menu, the menu will position itself next to the element.

- Michael
  Reply Reply More Options
Post Options
Reply as PM Reply as PM
Print Print
Mark as unread Mark as unread
Relationship Relationship
IP Logged
 

Reply to All Reply to All

 

 
 
Show messages: All  1-2  3-6