[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Menus' (#lcl)

TMergedMenuItems.DefaultSort

Implements the default sort routine for merged menu items.

Declaration

Source position: menus.pp line 131

public class function TMergedMenuItems.DefaultSort(

  aItem1: Pointer;

  aItem2: Pointer;

  aParentItem: Pointer

):Integer;

Arguments

aItem1

  

Pointer to the first menu item for the sort comparison.

aItem2

  

Pointer to the second menu item for the sort comparison.

aParentItem

  

Pointer to the Parent menu item for the compared values.