Print Page | Close Window

Treeview Node image

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Controls
Forum Description: Topics Related to Codejock Controls
URL: http://forum.codejock.com/forum_posts.asp?TID=19517
Printed Date: 16 June 2024 at 6:57pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Treeview Node image
Posted By: palthe
Subject: Treeview Node image
Date Posted: 22 February 2012 at 8:21am
I'm working with Progress (10) and CodeJock 15.1.3.
 
I've created a treeview and attached my imagemanager to it (treeview:icons).
Then I fill the tree with a procedure, the nodes added with:
 
chNode = chTreeView:TreeView:Nodes:ADD(ParentKeyValue,4,KeyValue,TextValue,Icon).
The icon parameter is an integer, and in this case is 87 (which is the id of de icon in the imagemanager). I set the Treeview:iconsize to 16 and the size of the .png in the imagemanager is 16 x 16.
 
When the treeview is filled, I can see that the control is using blank space for the icons but no icon is showing...
How can I troubleshoot this? What kind of images are allowed here? bmp, ico, png?
Thanks in advance



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net