in

C1 Community

ComponentOne Community is a free source for developers and help authors to collaborate and communicate.

c1supertooltip_thumbnailtips

Last post 02-06-2008 11:45 PM by jeneeshkv. 4 replies.
Page 1 of 1 (5 items)
Sort Posts: Previous Next
  • 02-05-2008 12:22 AM

    c1supertooltip_thumbnailtips

    Windows Application 

    Qn. 1. )  How can i use a C# project in vb.net project ?

    This is becouse some functions in c# are still not available in vb.net.
    eg : tabControl1.GetTabRect(index).Contains(pt)

    Qn. 2. )  How can i get rectangle cordinates of Tabs in a DockingTab at the mouseover event of DockingTab ?

    Qn. 3. )  How is it possible to change the balloon arrow position in C1SuperTooltip ( Balloon type ) ? Because some portion of the
                 tabpage image could not able to see ( in the case of centre tab ). But it is ok, for type not balloon. could you solve this 
                 problems ?

    Plz help me asap.
     
    My id : jeneesh.kv@eteamindia.com
               jeneesh@gmail.com

     Thanks in advance.

    Thanks,

    JENEESH K. V.
    Filed under:
  • 02-06-2008 4:19 AM In reply to

    Re: c1supertooltip_thumbnailtips

    Hello,

     

    You may get rectangle of tab control by using bounds property.

     

    Therefore if you want to get X and Y co-ordinate of C1DockingTab control you may use –

     

    Me.C1DockingTab1.Bounds.Y

     

    Me.C1DockingTab1.Bounds.X

     

     

    If you want to know Y co-ordinate of Tab pages which are on Tab control you may use –

     

    Me.C1DockingTab1.Bounds.Y + Me.C1DockingTabPage1.Bounds.Y

     

    Please know that value of X co-ordinate will be same for C1DockingTab and Tab page.

     

    I hope this helps.

     

    -Dave Traister.

     

     

     

    <jeneeshkv> wrote in message news:201625@10.0.1.98...

    Windows Application 

    Qn. 1. )  How can i use a C# project in vb.net project ?

    This is becouse some functions in c# are still not available in vb.net.
    eg : tabControl1.GetTabRect(index).Contains(pt)

    Qn. 2. )  How can i get rectangle cordinates of Tabs in a DockingTab at the mouseover event of DockingTab ?

    Plz help me asap.
     
    My id : jeneesh.kv@eteamindia.com
               jeneesh@gmail.com

     Thanks in advance.



    http://helpcentral.componentone.com/cs/forums/p/74206/201625.aspx#201625

  • 02-06-2008 6:19 AM In reply to

    Re: c1supertooltip_thumbnailtips

    Hi,

     By using this code, we couldn't get the rectangle cordinates of 'TABs' in the DockingTab.

    It is not working as per my requirement. So, please retry....

    You know "tabControl1.GetTabRect(index) "     : Here GetTabRect(id) : returns the Bounds of Tab in the Docking Tab.
    That cordinate is i need......

    Thanks,

    JENEESH K. V.
  • 02-06-2008 6:28 AM In reply to

    Re: c1supertooltip_thumbnailtips

    Thank you very much for your response.

    Thanks,

    JENEESH K. V.
  • 02-06-2008 11:45 PM In reply to

    Re: c1supertooltip_thumbnailtips

    Hi, its me,

    I got the solution for my question.

    In vb.net,
                 me.C1DockingTab1.TabPages(TabPageIndex).TabBounds().Contains(Pt)
    In C#,
                this.C1DockingTab1.GetTabRec(TabPageIndex).Contains(Pt)

    It will return the rectangle cordinates of the tabs in the Docking Tab.

    Thank you...

    Thanks,

    JENEESH K. V.
Page 1 of 1 (5 items)
Contact ComponentOne: 1.800.858.2739 ©1987-2008 ComponentOne LLC All Rights Reserved.