Can I? |
Post Reply |
Author | |
moe188
Senior Member Joined: 27 March 2006 Status: Offline Points: 220 |
Post Options
Thanks(0)
Posted: 21 February 2010 at 5:31pm |
can I do something similar to this window using CJ controls?
please a sample if it's possible
Thank you
|
|
Visual Baisc 6 SP6
Windows XP Pro Sp3, Windows 7 Codejock Xtreme SuitePro ActiveX 15.1.3 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
Check Markup page of SuiteControls sample - you can make same list using markup feature.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
moe188
Senior Member Joined: 27 March 2006 Status: Offline Points: 220 |
Post Options
Thanks(0)
|
Hi Oleg,
I did check Markup page, but it is not the same thing at all. On the screenshot, it seems like "CXTPRibbonSystemPopupBarPage", but they using it as listbox.
Thank you
|
|
Visual Baisc 6 SP6
Windows XP Pro Sp3, Windows 7 Codejock Xtreme SuitePro ActiveX 15.1.3 |
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
You can also try our CommandBars gallery - create CommandBarsFrame and add ToolBar +Gallery. search in forum, supermario attached such sample time ago.
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
moe188
Senior Member Joined: 27 March 2006 Status: Offline Points: 220 |
Post Options
Thanks(0)
|
Hi,
I do have an application where I am using a Toolbar + gallery, but it's not the same. I am looking for a listbox if its' possible
thank you
|
|
Visual Baisc 6 SP6
Windows XP Pro Sp3, Windows 7 Codejock Xtreme SuitePro ActiveX 15.1.3 |
|
JantjeKeizer
Groupie Joined: 12 February 2008 Status: Offline Points: 70 |
Post Options
Thanks(0)
|
This is possible with markup and the listbox
|
|
moe188
Senior Member Joined: 27 March 2006 Status: Offline Points: 220 |
Post Options
Thanks(0)
|
hi, I am missing something then, can you please post a small code?
thank you
|
|
Visual Baisc 6 SP6
Windows XP Pro Sp3, Windows 7 Codejock Xtreme SuitePro ActiveX 15.1.3 |
|
JantjeKeizer
Groupie Joined: 12 February 2008 Status: Offline Points: 70 |
Post Options
Thanks(0)
|
[code=VB] Private Sub Form_Load() Dim MarkupText As String Dim Icon As String ListBox1.EnableMarkup = True ListBox1.Appearance = xtpAppearanceOffice2007 Icon = "C:\Program Files (x86)\Codejock Software\ActiveX\Xtreme SuitePro ActiveX v13.2.1\Samples\Controls\VB\SuiteControls\Icons\CjSample.ico" MarkupText = " <Grid> " MarkupText = MarkupText & " <Grid Margin=""45,0,0,0"" Name=""Grid1""> " MarkupText = MarkupText & " <Grid.RowDefinitions> " MarkupText = MarkupText & " <RowDefinition Height=""25*"" /> " MarkupText = MarkupText & " <RowDefinition Height=""75*"" /> " MarkupText = MarkupText & " </Grid.RowDefinitions> " MarkupText = MarkupText & " <TextBlock FontWeight=""Bold"" Height=""21"" Text=""Title"" Grid.Row=""0""/> " MarkupText = MarkupText & " <TextBlock Height=""50"" Text=""This is a long text and is about nothing... blablablabla boooooooooooo!"" TextWrapping=""Wrap"" Grid.Row=""1"" /> " MarkupText = MarkupText & " </Grid> " MarkupText = MarkupText & " <Image HorizontalAlignment=""Left"" Width =""36"" Height=""36"" Stretch=""Fill"" Width=""40"" Source=""file://" & Icon & """/> " MarkupText = MarkupText & " </Grid> " ListBox1.AddItem MarkupText ListBox1.AddItem MarkupText ListBox1.AddItem MarkupText ListBox1.AddItem MarkupText ListBox1.AddItem MarkupText ListBox1.AddItem MarkupText End Sub [/code] Sloppy markupcode, but it's up to you to make it nice |
|
moe188
Senior Member Joined: 27 March 2006 Status: Offline Points: 220 |
Post Options
Thanks(0)
|
thank you very much
|
|
Visual Baisc 6 SP6
Windows XP Pro Sp3, Windows 7 Codejock Xtreme SuitePro ActiveX 15.1.3 |
|
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 |