Difference between revisions of "WebListBoxImageRenderer"

From Xojo Documentation

(See Also)
 
Line 29: Line 29:
  
 
==See Also==
 
==See Also==
[[WebListBox]] control; [[WebListBoxCellRenderer]], [[WebListBoxStyleRenderer]], [[WebListBoxDateTimeRenderer]] and [[WebListBoxTextRenderer]] classes.
+
[[WebListBox]] control; [[WebListBoxCellRenderer]], [[WebListBoxStyleRenderer]], and [[WebListBoxDateTimeRenderer]] classes.
  
 
[[Category:Web]]
 
[[Category:Web]]
 
[[Category:Framework]]
 
[[Category:Framework]]

Latest revision as of 20:20, 17 November 2020

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.