Difference between revisions of "PopupMenu.InitialValue"

From Xojo Documentation

m
m
 
Line 11: Line 11:
 
|text = A list of the default items separated by returns. }}
 
|text = 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''.
 
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''.

Latest revision as of 19:17, 2 August 2017

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.