Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - BackstageListBox with Markup-Icons / Hyperlinks
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

BackstageListBox with Markup-Icons / Hyperlinks

 Post Reply Post Reply
Author
Message
Sven3 View Drop Down
Newbie
Newbie


Joined: 12 June 2020
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Sven3 Quote  Post ReplyReply Direct Link To This Post Topic: BackstageListBox with Markup-Icons / Hyperlinks
    Posted: 12 June 2020 at 8:59am
Hello,

how can i add an icons to BackstageListBox1 items?

tried by adding them in different ways:
Me.BackstageListBox1.Icons.LoadBitmap DLLPath & "\button-add.bmp", 1, xtpImageNormal
XtremeSuiteControls.Icons.LoadBitmap DLLPath & "\button-add.bmp", 2, xtpImageNormal
Me.BackstageListBox1.Gallery.items.Icons.LoadBitmap DLLPath & "\button-add.bmp", 3, xtpImageNormal

even used sample code from codejock markup sample:

XtremeSuiteControls.Icons.LoadBitmap "C:\Program Files (x86)\Codejock Software\ActiveX\Xtreme SuitePro ActiveX v19.1.0\Samples\Common\VB\MarkupSample\Icons\Favorites.png", 10, xtpImageNormal

Me.BackstageListBox1.Gallery.items.addItem 100, "<Border BorderThickness='2' BorderBrush='Orange' Margin='0, 2, 0, 2' Padding='3'><StackPanel Orientation='Horizontal'>" & _
    "<Image Source='10'/>" & _
    "<Grid><Grid.ColumnDefinitions><ColumnDefinition Width='Auto'/><ColumnDefinition Width='*'/></Grid.ColumnDefinitions>" & _
    "<Grid.RowDefinitions><RowDefinition/><RowDefinition/></Grid.RowDefinitions>" & _
    "<TextBlock TextAlignment='Right' FontWeight='Bold' Foreground='Navy' Text='Description:'/>" & _
    "<TextBlock TextAlignment='Right' Grid.Row='1' FontWeight='Bold' Foreground='Navy' Text='Current Price:'/>" & _
    "<TextBlock Margin='6, 0, 0, 0' Grid.Column='1' Text='Snowboard and bindings'/>" & _
    "<TextBlock Margin='6, 0, 0, 0'  Grid.Column='1' Grid.Row='1'  Text='$150'/>" & _
    "</Grid></StackPanel></Border>"

Icon does not show up! How to make the icon appear?

Many thanks
Sven

Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.141 seconds.