Personal tools
From wiki.swiftlytilting.com
Jump to: navigation, search

WinBinder Manual/wb set item image

Assigns a portion of an image to a control item

Syntax

bool wb_set_item_image  (int wbobject, mixed index [, int item [, int subitem]])
  • Retrieves a portion of the image already assigned to a control and assigns it to a item (and optional subitem).
  • Index specifies which portion is assigned.
  • The image must be previously assigned with wb_set_image().

Returns

Returns TRUE on success or FALSE if an error occurs.

See also

Winbinder Projects