Solved TD-14401: Using icons in TD controls

Missing or incomplete OpenText Gupta product features? Discuss it here!
huiskala

TD-14401: Using icons in TD controls

Post by huiskala » 13 Dec 2010, 13:48

This posting applies to TD 6.0 Win32 applications.

I have been playing with different TD UI controls using icons and created a small test application (attached).
IconTest.png
I have used three types of icon files:

* 16 x 16 pixel icon (the "folder" icon)
* 32 x 32 pixel icon (the "graph" icon) - this seems to be the "default" size for many TD controls
* "multiframe" icon, where the same file contains same image in multiple sizes (the green icon) - these are handled quite nicely in many places

Conclusions:

Picture:
* icons can be set run-time from internal storage using SalPicSet = OK
* handles 32pix icons correctly = OK
* picks the 32pix frame from a multiframe icon = OK

Push Buttons:
* icons can be set run-time from internal storage using SalPicSet = OK
* handles 32pix icons correctly = OK
* picks the 32pix frame from a multiframe icon = OK

cPictureComboBox and cPictureListBox:
* icons can be set run-time from internal storage using InsertPictureValue and VisPicLoad = OK
* handles 32pix icons correctly = OK
* cannot handle multiframe icon correctly: picks 16pix frame and resizes it to 32pix
= Enhancement request: Enable using multiframe icons

Tree Control:
* icons can be set run-time from a file using SalTreeSetItemImage, but not from internal storage (an icon resource)
= Enhancement request: Enable using icons defined as resources
* does not handle any size of icon correctly, but makes an ugly resize, if the font used is large enough
= BUG, already reported as TD-14401 by another user in another thread

Nav Bar:
* icons can be set run-time from a file using SalNavAddPane (attributes 4 & 5), but not from internal storage (an icon resource)
= Enhancement request: Enable using icons defined as resources
* handles almost all icons nicely, at least multiframe icons = OK
You do not have the required permissions to view the files attached to this post.

Conrado Zavala

Re: TD-14401: Using icons in TD controls

Post by Conrado Zavala » 03 Feb 2011, 18:49

Hello Again Oskari:

Regarding to TD-14401: can you please confirm to me if your computer is currently running Team Developer 6.0 Service Pack 1? I will appreciate your reply... in the mean time I will keep documenting the rest of the enhancements. I will keep you apprised.

Sincerely,

Conrado Zavala

Re: TD-14401: Using icons in TD controls

Post by Conrado Zavala » 03 Feb 2011, 19:36

Oskari:

I have created the following case numbers to document the following issues:

TD-15007 - [TD60 Win32] Enable using multiframe icons for cPictureComboBox and cPictureListBox
TD-15008 - [TD60 Win32] Enable the use of icons defined as resource for NavBar and TreeControl

I will wait on your confirmation on my previous thread.

Thank you for bringing this to our attention.

Sincerely,

huiskala

Re: TD-14401: Using icons in TD controls

Post by huiskala » 04 Feb 2011, 14:03

Thank you very much for creating the enhancement requests!

Regarding TD-14401, that seems to be fixed now (I just tested with TD 6.0 SP1 + EMP).
Now the tree control always shows the icons in 16 pix size and in right proportions.

Return to “Enhancement suggestions”

Who is online

Users browsing this forum: [Ccbot] and 0 guests