Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Command Bars
  New Posts New Posts RSS Feed - Can I?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Can I?

 Post Reply Post Reply
Author
Message
moe188 View Drop Down
Senior Member
Senior Member


Joined: 27 March 2006
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote moe188 Quote  Post ReplyReply Direct Link To This Post Topic: Can I?
    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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 22 February 2010 at 3:21am
Hi,
 
Check Markup page of SuiteControls sample - you can make same list using markup feature.
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
moe188 View Drop Down
Senior Member
Senior Member


Joined: 27 March 2006
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote moe188 Quote  Post ReplyReply Direct Link To This Post Posted: 22 February 2010 at 8:43am
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
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post Posted: 23 February 2010 at 1:13am
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
Back to Top
moe188 View Drop Down
Senior Member
Senior Member


Joined: 27 March 2006
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote moe188 Quote  Post ReplyReply Direct Link To This Post Posted: 24 February 2010 at 12:46pm
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
Back to Top
JantjeKeizer View Drop Down
Groupie
Groupie


Joined: 12 February 2008
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote JantjeKeizer Quote  Post ReplyReply Direct Link To This Post Posted: 24 February 2010 at 6:10pm
This is possible with markup and the listbox
Back to Top
moe188 View Drop Down
Senior Member
Senior Member


Joined: 27 March 2006
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote moe188 Quote  Post ReplyReply Direct Link To This Post Posted: 25 February 2010 at 8:23am

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
Back to Top
JantjeKeizer View Drop Down
Groupie
Groupie


Joined: 12 February 2008
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote JantjeKeizer Quote  Post ReplyReply Direct Link To This Post Posted: 25 February 2010 at 11:12am

[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
Back to Top
moe188 View Drop Down
Senior Member
Senior Member


Joined: 27 March 2006
Status: Offline
Points: 220
Post Options Post Options   Thanks (0) Thanks(0)   Quote moe188 Quote  Post ReplyReply Direct Link To This Post Posted: 25 February 2010 at 11:13am
thank you very much
Visual Baisc 6 SP6

Windows XP Pro Sp3, Windows 7
Codejock Xtreme SuitePro ActiveX 15.1.3
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.188 seconds.