1. Tom Peters
  2. PowerBuilder
  3. Wednesday, 25 August 2021 13:03 PM UTC

Good Day -

I am guessing the property name, itself, is the answer to my question, but I am hoping there's a way to use a native image, such as DataWindow5! as a Tree Node Icon in a Tree View styled DataWindow.

I am not trying to compare Apples to Oranges, but on a TreeView control, the AddPicture( s ) function lets me use native images. I can call u_tv1.AddPicture( "DataWindow5!" ). For the Tree View Presentation Style DataWindow, it looks like I can only use file images for tree node icons. I checked the documentation and there is nothing specifically stated.

So, is it possible to use native images such as DataWindow5! as a tree node icon on a Tree View DataWindow?

Thanks,

Tom

Accepted Answer
John Fauss Accepted Answer Pending Moderation
  1. Wednesday, 25 August 2021 13:25 PM UTC
  2. PowerBuilder
  3. # Permalink

Hi, Tom - 

See the thread below. The zipped graphics do NOT include the traditional stock images in PB such as DataWindow5!, but they do contain a lot of very nice images, in PNG and BMP formats, 16x16 and 32x32. Maybe you can find an alternative that is your liking?

https://community.appeon.com/index.php/qna/q-a/how-to-leverage-new-icon-images-in-dw-example-emailbig

HTH, John

Comment
  1. Tom Peters
  2. Wednesday, 25 August 2021 13:30 PM UTC
Thank you! I will go through the nicer images and see what works. Thanks, again!
  1. Helpful
There are no comments made yet.
René Ullrich Accepted Answer Pending Moderation
  1. Wednesday, 25 August 2021 13:18 PM UTC
  2. PowerBuilder
  3. # 1

I don't know a way to use stock pictures for datawindow tree nodes.

Is there any datawindow object that can use stock pictures? 

Comment
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.