![]() |
How to use markup in combobox |
Post Reply
|
| Author | |
faakher
Groupie
Joined: 26 June 2010 Location: Saudia Arabia Status: Offline Points: 24 |
Post Options
Thanks(0)
Quote Reply
Topic: How to use markup in comboboxPosted: 06 October 2011 at 5:13am |
|
Hi,
some one tell me how to use markup feature in combobox. i want to add 3 items in combo, each item with different font. How can I achieve this?
|
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.1
Platform: Windows XP Professional - SP2 Language: Visual Basic 6.0 SP6 |
|
![]() |
|
faakher
Groupie
Joined: 26 June 2010 Location: Saudia Arabia Status: Offline Points: 24 |
Post Options
Thanks(0)
Quote Reply
Posted: 23 October 2011 at 7:46am |
|
please for god sake someone tell me how to do this?
![]() 21 views and no one tried to help me out.
|
|
|
Product: Xtreme SuitePro (ActiveX) version 15.0.1
Platform: Windows XP Professional - SP2 Language: Visual Basic 6.0 SP6 |
|
![]() |
|
SuperMario
Senior Member
Joined: 14 February 2004 Status: Offline Points: 18057 |
Post Options
Thanks(0)
Quote Reply
Posted: 08 November 2011 at 1:06pm |
|
The suite controls sample shows how:
For i = 0 To 32 ComboBoxMarkup.AddItem "<StackPanel Orientation='Horizontal'>" & _ "<Image VerticalAlignment='Center' Source='" & 1000 + i & "'/>" & _ "<TextBlock Padding = '2' VerticalAlignment='Center'>" & LanguageNames(i) & "</TextBlock></StackPanel>" Next i ComboBoxMarkup.ListIndex = 8 ComboBoxMarkup.DropDownItemCount = 10 |
|
![]() |
|
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 |