Skip to content

ImageList

Xusinboy Bekchanov edited this page Nov 5, 2023 · 6 revisions

Table of Contents

Definition

Namespace: My.Sys.Forms

ImageList - An image list is a collection of images of the same size, each of which can be referred to by its index.

Properties

Name Description
BackColor
Count
Designer
DesignMode Gets a value that indicates whether the Component is currently in design mode.
DrawingStyle
ExtraMargins Returns/sets the extra space between controls.
GrowCount
Handle
Height Returns/sets the height of an object.
ImageHeight
ImageType
ImageWidth
InitialCount
Items
LayoutHandle
Left Returns/sets the distance between the internal left edge of an object and the left edge of its container.
Margins Returns/sets the space between controls.
MaskColor
Name Returns the name used in code to identify an object.
Parent Gets or sets the parent container of the control.
ParentWindow
Tag Stores any extra data needed for your program.
Top Returns/sets the distance between the internal top edge of an object and the top edge of its container.
Width Returns/sets the width of an object.

Methods

Name Description
Add
AddFromFile
AddMasked
ClassAncestor Returns ancestor class of control.
ClassName
Clear
Draw
FullTypeName Function to get any typename in the inheritance up hierarchy of the type of an instance (address: 'po') compatible with the built-in 'Object' ('baseIndex = 0' to get the typename of the instance) ('baseIndex = -1' to get the base.typename of the instance, or "" if not existing) ('baseIndex = -2' to get the base.base.typename of the instance, or "" if not existing)
GetBitmap
GetBounds Gets the bounds of the control to the specified location and size.
GetCursor
GetIcon
GetMask
GetTopLevel Determines if the control is a top-level control.
IndexOf
IsEmpty
ReadProperty
Remove Declare Sub AddPng(ByRef ResName As WString, ByRef Key As WString = "", ModuleHandle As Any Ptr = 0) Declare Sub Set(Index As Integer, Bitmap As My.Sys.Drawing.BitmapType, Mask As My.Sys.Drawing.BitmapType, ByRef Key As WString = "") Declare Sub Set(ByRef Key As WString, Bitmap As My.Sys.Drawing.BitmapType, Mask As My.Sys.Drawing.BitmapType, ByRef Key As WString = "") Declare Sub Set(Index As Integer, Icon As My.Sys.Drawing.Icon, ByRef Key As WString = "") Declare Sub Set(ByRef Key As WString, Icon As My.Sys.Drawing.Icon, ByRef Key As WString = "") Declare Sub Set(Index As Integer, Cursor As My.Sys.Drawing.Cursor, ByRef Key As WString = "") Declare Sub Set(ByRef Key As WString, Cursor As My.Sys.Drawing.Cursor, ByRef Key As WString = "") Declare Sub Set(Index As Integer, ByRef ResName As WString, ModuleHandle As Any Ptr = 0) Declare Sub Set(ByRef Key As WString, ByRef ResName As WString, ModuleHandle As Any Ptr = 0) Declare Sub SetFromFile(Index As Integer, ByRef File As WString) Declare Sub SetFromFile(ByRef Key As WString, ByRef File As WString)
SetBounds Sets the bounds of the control to the specified location and size.
ToString Returns a string that represents the current object.
WriteProperty

Events

Name Description
OnChange

See also

Clone this wiki locally