PopupMenu.InitialValue

From Xojo Documentation

Revision as of 19:17, 2 August 2017 by PLefebvre (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

Notes

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.