OpenDCL Forums

OpenDCL => Studio/Dialog Editor => Topic started by: Peter2 on November 11, 2014, 01:50:21 PM

Title: [Solved] dcl_Tree_GetItemImages and Image List
Post by: Peter2 on November 11, 2014, 01:50:21 PM
If I understand it correctly the "Image List" uses icons from Windows. Is there an example / a collection which displays which icons are used where?

Thanks

Peter
Title: Re: dcl_Tree_GetItemImages and Image List
Post by: owenwengerd on November 11, 2014, 06:32:45 PM
I'm not sure I understand the question. A tree control has an image list, but you determine which icons it contains by setting the control's Image List property in OpenDCL Studio.
Title: Re: dcl_Tree_GetItemImages and Image List
Post by: Peter2 on November 12, 2014, 12:11:43 AM
Hi Owen

the basic question is: Where do the icons come from?

I looked at the "Samples" of OpenDCL and to Tree.lsp and Tree.odcl and have no idea where the icons come from. The string "dcl-Tree-SetItemImages" is not used in the entire "Samples"-folder.

EDIT:
The string dcl_Tree_SetItemImages is used in "tree.lsp"
Title: Re: dcl_Tree_GetItemImages and Image List
Post by: Peter2 on November 12, 2014, 01:23:45 AM
Quote from: owenwengerd on November 11, 2014, 06:32:45 PM...which icons it contains by setting the control's Image List property in OpenDCL Studio.
Where? How? What????
Title: Re: dcl_Tree_GetItemImages and Image List
Post by: Peter2 on November 12, 2014, 01:28:43 AM
Quote from: Peter2 on November 12, 2014, 01:23:45 AMWhere? How? What????
Solved.
I was confused about the "Windows System Objects (Collection)" and the lisp-examples, but it is a "simple" property of the control.

Got it - sorry for the confusion.