Posted 4 years ago by Montasser Ben Ouhida - Lead Software Engineering, Integration Objects
Version: 14.1.0322
Avatar

Dear all,

I devellop my own language and I use the intellisence to help end users to write codes.

I use this instruction to fill items in the instellisence:

memberListItemHashtable["MySuggestion"] = new IntelliPromptMemberListItem("MySuggestion", (int)ActiproSoftware.Products.SyntaxEditor.IconResource.Keyword);
                                            

 

To set the item icon, I can use only an integer parameter to choose one from default list(ActiproSoftware.Products.SyntaxEditor.IconResource).

My question:

It can be possible to specify a custom icon and how do it.

 

Thx and regards,

 

Montasser

Comments (2)

Answer - Posted 4 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Montasser,

While you can't pass a direct icon in there, you can set a custom ImageList on the IntelliPromptMemberList class. 

You can also get the existing ImageList we provide and add your own images to it.  Then just reference the index of the image you added in the list item.


Actipro Software Support

Posted 4 years ago by Montasser Ben Ouhida - Lead Software Engineering, Integration Objects
Avatar

Thx,

The latest build of this product (v2018.1 build 0341) was released 3 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.