The control basically loads an SDT which contains the menu items. Consequently, you will have to create a SlideDownMenuData SDT-based variable which must be assigned to the control's SlideDownMenuData property. The structure of the SlideDownMenuData SDT is as follows:

When the user clicks on a menu item, a server event will be raised. That event can be handled as follows:
Event SlideDownMenu1.SDItemClicked
msg("Selected ParentID " + str(&SelectedItem.ParentID) + " Selected SectionID " + str(&SelectedItem.SectionID)
EndEvent
Example
//Sample Code for SlideDownMenu
Sub 'SlideDownMenuSample'
&SlideDownMenuData = DPSlideDownMenuData()
EndSub
:Using a Data Provider
SlideDownMenuData
{
SlideDownMenuDataItem
where MenuPosition = MenuPosition.Left
where MenuParentID = 0
{
ParentID = MenuID
ParentTitle = MenuTitle
ParentDescription = MenuDescription
Items.Insert(MenuID)
}
}
SubGroup Items(&MenuID)
Sections
{
SectionsItem
where MenuParentID = &MenuID
{
SectionID = MenuID
SectionTitle = MenuTitle
SectionDescription = MenuDescription
SectionURL = MenuURL
}
}
EndSubGroup
The Data Provider outputs an SDT which is based on the following Menu Transaction structure:

The sample shown above will create the following Slide Down Menu:
