Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
web:popupmenuitem [2017/09/14 09:50]
agcyphers [Properties]
web:popupmenuitem [2019/10/23 05:53] (current)
Line 13: Line 13:
 ==== Methods ==== ==== Methods ====
 ^ Definition ​     ^ Description ​      ^ ^ Definition ​     ^ Description ​      ^
-| Constructor( ItemText as [[http://​developer.xojo.com/​string|String]], ItemSelected as [[http://​developer.xojo.com/​boolean|Boolean]] = False, ItemDisabled as [[http://​developer.xojo.com/​boolean|Boolean]] = False ) | Creates and instance of the class with parameters as property values. |+| Constructor( ItemText as String, ItemSelected as Boolean = False, ItemDisabled as Boolean = False ) | Creates and instance of the class with parameters as property values. |
  
 ==== Properties ==== ==== Properties ====
 ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^ ^ Name      ^ Type       ^ Default Value       ^ Description ​      ^
-| Disabled ​| [[http://​developer.xojo.com/​boolean|Boolean]] | False | Determines if the item is selectable within the popup menu. | +| Disabled | Boolean | False | Determines if the item is selectable within the popup menu. | 
-| ID [READ-ONLY] ​| [[http://​developer.xojo.com/​integer|Integer]] | -1 | The ID of the item. This property is for internal use only. | +| Icon | String | ""​ | The FontAwesome ID of an icon to display in the row, such as "​fa-apple"​. | 
-| Selected ​| [[http://​developer.xojo.com/​boolean|Boolean]] | False | Set to true, the item will be selected. |+| IconColor | Color | &​c000000 | The color to apply to the item's Icon. | 
 +| ID [READ-ONLY] | Integer | -1 | The ID of the item. This property is for internal use only. | 
 +| Selected | Boolean | False | Set to true, the item will be selected. | 
 +| Style | WebStyle | Nil | WebStyle to apply to the item in the PopupMenu'​s display. |
 | Tag | [[http://​developer.xojo.com/​variant|Variant]] | Nil | User-defined value. ​ Useful for storing associated objects or determining which PopupMenuItem this is. | | Tag | [[http://​developer.xojo.com/​variant|Variant]] | Nil | User-defined value. ​ Useful for storing associated objects or determining which PopupMenuItem this is. |
-| Text | [[http://​developer.xojo.com/​string|String]] | ""​ | The caption of the item. |+| Text | String | ""​ | The caption of the item. |
  
 ==== Examples ==== ==== Examples ====
 There are currently no examples for this class. There are currently no examples for this class.