Jump to content

Getting default symbol bmp's from Listboxes/Tree controls


Mellroth

Recommended Posts

Hi,

I'd like to be able to get the current symbol from a selected item in a Tree-control or Listbox control.

It is possible to do this for custom symbols, but I'd like to be able to do this for the built in symbols as well.

Does anyone know if this is possible, or do I have to create bmp's of all built in symbols from Screenshots?

/J

Link to comment

QUOTE (orko @ Sep 23 2008, 03:25 AM)

Is this not the case?

Thanks Orko,

I was probably a bit unclear in my first post.

Built in symbols are accessible for usage, but in my case I'd like to be able to retrieve the actual pictures being used, regardless if it is a custom symbol or a built in symbol.

From the link you posted;

QUOTE

You can use the Custom Item Symbols:Get Symbol and Custom Item Symbols:Get Symbol Array methods only to retrieve custom symbols. If you use these methods with symbols of indexes 1 through 40, these methods return images only for any custom symbols that overwrite the built-in defaults.

The question is whether there is a way around this to actually get the pictures representing the built in symbols?

/J

Link to comment

QUOTE (PJM_labview @ Sep 24 2008, 07:21 PM)

I had a look at the other thread, very nice little VI :thumbup: Thanks!

I first tried to go for a built in method to access the bmp's, but as I realized it could not be done, I also decided to get the images programmatically.

So far I haven't got the time to do it, and now you spoil all my fun :shifty:

/J

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.