BackstageListBox with Markup-Icons / Hyperlinks |
Post Reply |
Author | |
Sven3
Newbie Joined: 12 June 2020 Status: Offline Points: 2 |
Post Options
Thanks(0)
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, xtpImageNormalMe.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 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |