WebListBoxImageRenderer

From Xojo Documentation

Class (inherits from WebListBoxCellRenderer)


New in 2020r1

Used to draw a picture in a WebListBox cell.

Properties
Centered URL
Constructors

Constructor(URL As String, Centered As Boolean = False)


Sample Code

This example retrieves a picture from a URL and displays it in the first cell of a WebListBox:

Me.AddRow("")
Var pic As New WebListBoxImageRenderer
pic.URL = "https://www.publicdomainpictures.net/pictures/120000/nahled/small-waterfall-in-forest.jpg"
Me.CellValueAt(0,0) = pic

Compatibility

Web projects on all supported operating systems.

See Also

WebListBox control; WebListBoxCellRenderer, WebListBoxStyleRenderer, and WebListBoxDateTimeRenderer classes.