getImageList

>>--getImageList----------------------------------------------------><

Retrieves the current image list from the tab control, if there is one.

Arguments:

There are no arguments to this method.

Return value:

This method returns the current image list, if there is one. .nil is returned if there is no current image list.

Example:

This example gets the current image list from the tab control when the dialog is closed and releases it as it is no longer userd.


::method ok
  self~releaseImageLists
  return self~ok:super

::method cancel
  self~releaseImageLists
  return self~cancel:super

::method releaseImageLists
  expose tabControl

  imageList = tabControl~getImageList
  if imageList \== .nil then imageList~release