Here is a simple method that returns the name of the variable that associates with the listbox's header that is clicked by the user.
` Project Method: GetClickedHeader
` Returns the name of the variable name associated with the clicked header of a list box.
` Called from: Object Method of the List Box object
If (Form event=On Header Click )
RESOLVE POINTER(Focus object;$var;$table;$field)
Note: The variable name that is returned by the method can be used to determine the type of operation that you want to perform when a specific header is clicked.