Getting and setting properties (only visual project type)


At design time you can read and/or write properties from/to objects through the properties window. To get and set properties dinamically (at run time), the Easy Code library provides several methods with the same name of the property but begining with Get (for getting) and Set (for setting). All of these methods are colored as Easy Code reserved words in the text editor. For example, to access the Text property of an object, the corresponding methods are GetText and SetText. Most properties, but not all, can be modified at run time. For Get properties methods, the value of the property is returned in the Eax/Rax register, while for Set properties methods the Eax/Rax register returns TRUE if successful, or FALSE if the object does not support the property. The available methods for getting and setting properties at run time are the following:

WARNING: All methods listed below use the fastcall calling convention for 64-bit visual projects.

GetAlign
GetAutoSize
GetBackColor
GetCancel
GetCaseStyle
GetCursorIcon
GetCursorShape
GetDefault
GetDrawFocus
GetDrawingStyle
GetDrawingWidth
GetEnabled
GetFlickerFree
GetFont
GetFontBold
GetFontItalic
GetFontName
GetFontNameA
GetFontNameW
GetFontSize
GetFontStrikethru
GetFontUnderline
GetForeColor
GetHeight
GetIconBig
GetIconSmall
GetLayoutRTL
GetLeft
GetMaxLength
GetMaxValue
GetMDIChild
GetMinValue
GetMultLine
GetName
GetNameA
GetNameW
GetNoPrefix
GetPageSize
GetPasswordChar
GetPicture
GetPicturePosition
GetRightToLeft
GetScaleMode
GetScrollBars
GetShowMode
GetStretch
GetTabOrder
GetTabStop
GetText
GetTextA
GetTextW
GetTextAlignment
GetTimerInterval
GetTop
GetType
GetValue
GetVisible
GetVisibleRows
GetWidth

SetAlign
SetAutoSize
SetBackColor
SetCursorIcon
SetCursorShape
SetDefault
SetDrawFocus
SetDrawingStyle
SetDrawingWidth
SetEnabled
SetFlickerFree
SetFontBold
SetFontItalic
SetFontName
SetFontNameA
SetFontNameW
SetFontSize
SetFontStrikethru
SetFontUnderline
SetForeColor
SetHeight
SetIconBig
SetIconSmall
SetLayoutRTL
SetLeft
SetMarquee
SetMaxLength
SetMaxValue
SetMinValue
SetPageSize
SetPasswordChar
SetPicture
SetPicturePosition
SetRightToLeft
SetScrollBars
SetShowMode
SetTabStop
SetText
SetTextA
SetTextW
SetTimerInterval
SetTop
SetValue
SetVisible
SetVisibleRows
SetWidth