PopupMenu.InitialValue

From Xojo Documentation

Revision as of 19:39, 13 January 2012 by Dbrandt (talk | contribs)

Design Property (as String)

This PopupMenu property can only be set in the Inspector and is not available in code.

A list of the default items separated by returns.

This property is unreadable at runtime because the list is removed from memory once the control is created. You can set a default value for the control by populating the pop-up with InitialValue and setting the default value with ListIndex.