Differences

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

Link to this comparison view

Next revision
Previous revision
desktop:textfield [2019/06/06 22:34]
agcyphers created
desktop:textfield [2019/10/23 05:53] (current)
Line 20: Line 20:
 | DoSearch(SearchFor as String) | Fired when the users presses ''​Enter''​ or ''​Return''​ in the field. | | DoSearch(SearchFor as String) | Fired when the users presses ''​Enter''​ or ''​Return''​ in the field. |
 | LabelClicked | Fired when the user clicks the label. | | LabelClicked | Fired when the user clicks the label. |
 +| TextChanged | Raised when the hosted control is a TextField or TextArea and its value changes. |
  
 ==== Methods ==== ==== Methods ====
Line 32: Line 33:
 | BorderColor | Color | &​c000000 | Color used to draw the border of the component when SystemColors = False. | | BorderColor | Color | &​c000000 | Color used to draw the border of the component when SystemColors = False. |
 | BorderRadius | Double | 0 | Radius of control corners. | | BorderRadius | Double | 0 | Radius of control corners. |
-| Field | TextField ​| Nil | The TextField ​instance to incorporate. |+| Field | RectControl ​| Nil | The UI element ​instance to incorporate. |
 | FieldBackColor | Color | &​c000000 | Color used to draw the backcolor of the component and apply to the TextField when SystemColors = False. | | FieldBackColor | Color | &​c000000 | Color used to draw the backcolor of the component and apply to the TextField when SystemColors = False. |
 | FieldTextColor | Color | &​c000000 | Color applied to the TextField'​s text when SystemColors = False. | | FieldTextColor | Color | &​c000000 | Color applied to the TextField'​s text when SystemColors = False. |
Line 49: Line 50:
 | LabelTextUnderline | Boolean | False | Underline decoration for label text. | | LabelTextUnderline | Boolean | False | Underline decoration for label text. |
 | LabelWidth | Integer | -1 | Width of the label area. Use ''​-1''​ for auto. | | LabelWidth | Integer | -1 | Width of the label area. Use ''​-1''​ for auto. |
 +| ResizeFieldHeight | Boolean | True | When True, will resize the contained control to fill the area. |
 +| ResizeFieldWidth | ::: | ::: | ::: |
 | ShiftIcon | Boolean | False | When True, the component will attempt to shift the icon's colors. Use transparent icons for best effect. | | ShiftIcon | Boolean | False | When True, the component will attempt to shift the icon's colors. Use transparent icons for best effect. |
 | ShowClearButton | Boolean | True | If True, the clear button ''​x''​ will be shown in the field on the opposite side of the TextField from the label. | | ShowClearButton | Boolean | True | If True, the clear button ''​x''​ will be shown in the field on the opposite side of the TextField from the label. |