|
Scrolls the specified item to the top.
syntax
ScrollMenu(
popupId,
position
[,autoOpen = TRUE]
[,autoScroll = "top"]
)
Parameters
popupId
|
|
Type:
|
character
|
|
Popup id. For first level menu items, specify "root".
|
position
|
|
Type:
|
Number
|
|
The position to select the menu item, starting from 0.
|
autoOpen
|
|
Type:
|
Boolean
|
|
TRUE - Automatically displays the popup menu when the menu item is selected.
FALSE - Do not automatically display the popup menu.
|
autoScroll
|
|
Type:
|
character
|
|
Whether to scroll.
"none" : No scrolling
"visible": If not displayed in the menu area, scroll minimally to make it visible.
"top": Scrolls to appear as close to the top of the menu area as possible.
|
Return Value
|
|
Type:
|
Boolean
|
|
FALSE - Failure. TRUE - Success.
|
Explanation
Scrolls the specified item to the top, but does not scroll below the last item.
|
reference
OpenPopup
SelectMenu
SelectId
SearchId
GetChildCount
GetSelectedMenu
ClearSelectedMenu
ScrollId
GetScrollPos
SetScrollPos
ReloadImage
|