09-08-2023, 04:58 AM 
(This post was last modified: 09-08-2023, 04:59 AM by DerVVulfman.)
	
	
	
		The Icon list I just presented now have a whole cadre of commands...  FUN stuff.  But when one is trying to emulate Windows objects, one must account for a variety of functions.
So far, the basic syntax for a list that shows the icons prominently appears like this:
Syntax:
object = Widgets::IconBox_List.new(x, y, icon-width, icon-height, columns, spacing, data-list)
Returned:
Parameters:
And on top of that, you can set the following after:
object.list_border_color = Color -- Sets the color of the outside list border
object.list_fill_color = Color-- Sets the background color of the list
--
object.icon_border_color = Color -- Sets the color of the individual icon borders
object.icon_fill_color = Color-- Sets the background color of each icon
object.font_name = String-- Set the font used in the icon's caption
object.font_size = Numeric-- Set the size of the font font used in the icon's caption
object.font_bold = Boolean-- Set if the font used is boldfaced
object.font_italic = Boolean-- Set if the font used is italicized
object.font_align = Numeric-- Set if the caption is aligned left, right or centered
object.font_color = Color -- Sets the color of the caption text
object.font_style = Numeric-- Set if the caption is plain, shaded, or outlined
object.font_stylecolor = Color -- Sets the color of the shadow or outline effect
object.outline_list = Boolean -- Sets if the list itself has an outline or not
object.enable_item(index) -- Sets a specific icon by index position as enabled
object.disable_item(index) -- Disables a specific icon by index position
Currently, I can use the mouse to point-n-click and switch objects within the same one list. I need to see about taking objects from one list to add into another. THAT will be fun.
But a lot has been worked out.
	
	
	
	
So far, the basic syntax for a list that shows the icons prominently appears like this:
Syntax:
object = Widgets::IconBox_List.new(x, y, icon-width, icon-height, columns, spacing, data-list)
Returned:
- object: The list object created
Parameters:
- x : x-coordinate of the list
 
- y : y-coordinate of the list
 
- icon-width : width of the icons used in pixels
 
- icon-height : height of the icons used in pixels
 
- columns : how many vertical columns in a list
 
- spacing :how much spacing (vertical and horizontal) between icons in pixels
 
- data-list : the full list under control, each item contains: [icon, caption, data returned]
And on top of that, you can set the following after:
object.list_border_color = Color -- Sets the color of the outside list border
object.list_fill_color = Color-- Sets the background color of the list
--
object.icon_border_color = Color -- Sets the color of the individual icon borders
object.icon_fill_color = Color-- Sets the background color of each icon
object.font_name = String-- Set the font used in the icon's caption
object.font_size = Numeric-- Set the size of the font font used in the icon's caption
object.font_bold = Boolean-- Set if the font used is boldfaced
object.font_italic = Boolean-- Set if the font used is italicized
object.font_align = Numeric-- Set if the caption is aligned left, right or centered
object.font_color = Color -- Sets the color of the caption text
object.font_style = Numeric-- Set if the caption is plain, shaded, or outlined
object.font_stylecolor = Color -- Sets the color of the shadow or outline effect
object.outline_list = Boolean -- Sets if the list itself has an outline or not
object.enable_item(index) -- Sets a specific icon by index position as enabled
object.disable_item(index) -- Disables a specific icon by index position
Currently, I can use the mouse to point-n-click and switch objects within the same one list. I need to see about taking objects from one list to add into another. THAT will be fun.
But a lot has been worked out.

 
 
 What's up, RMers?
 What's up, RMers?
 
 
![[Image: QrnbKlx.jpg]](https://i.imgur.com/QrnbKlx.jpg)
![[Image: sGz1ErF.png]](https://i.imgur.com/sGz1ErF.png)
![[Image: liM4ikn.png]](https://i.imgur.com/liM4ikn.png)
![[Image: fdzKgZA.png]](https://i.imgur.com/fdzKgZA.png)
![[Image: sj0H81z.png]](https://i.imgur.com/sj0H81z.png)
![[Image: QL7oRau.png]](https://i.imgur.com/QL7oRau.png)
![[Image: uSqjY09.png]](https://i.imgur.com/uSqjY09.png)
![[Image: GAA3qE9.png]](https://i.imgur.com/GAA3qE9.png)
![[Image: 2Hmnx1G.png]](https://i.imgur.com/2Hmnx1G.png)
![[Image: BwtNdKw.png%5B]](https://i.imgur.com/BwtNdKw.png%5B)