VS:AddListBrowserImage: Difference between revisions

From Vectorworks Developer
Jump to navigation Jump to search
m (1 revision)
(Add note about usage.)
 
Line 43: Line 43:
<remark></remark>
<remark></remark>


See https://techboard.vectorworks.net/ubbthreads.php?ubb=showflat&Number=205690&#Post205690 for an example of use. Note that the file Vectorworks.vwr is a ZIP archive containing system image files.
-----------------------------------------------------------------------------------------------------------
-----------------------------------------------------------------------------------------------------------
<sample></sample>
<sample></sample>

Latest revision as of 21:46, 27 November 2014

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Adds an image to a list browser. Replaces AddLBImage.

FUNCTION AddListBrowserImage(
dialogID :LONGINT;
controlID :LONGINT;
imageSpecifier :DYNARRAY[] of CHAR) : INTEGER;
def vs.AddListBrowserImage(dialogID, controlID, imageSpecifier):
    return INTEGER

Parameters

dialogID LONGINT The dialog identifier given by the command to create the dialog.
controlID LONGINT The identifier of the control to be updated.
imageSpecifier DYNARRAY[] of CHAR The string identifier for the image. It should be of the form "ResourceFileNameWithoutExtension/PathOfImageFile".

Version

Availability: from Vectorworks 2012