SharpUI for .NET Support

Started by kchavan at 01-29-2008 4:17 AM. Topic has 5 replies.

Print Search Rate
Sort Posts:    
   01-29-2008, 4:17 AM
kchavan is not online. Last active: 2/28/2008 3:21:30 PM kchavan

Not Ranked
Joined on 10-08-2007
Posts 8
How to display toolbars in same docking row...

Attachment: ToolBars.JPG

Hi,

We are adding three toolbars at runtime. main, clipboard and view.

Following is the designer file settings, all the tool buttons are added at run time when MainForm is loaded. Problem is toolbars are displayed on three seperate row even thought DockingRow property is set to "1". I have attached the screenshot of the form.

Can anyone guide me how to display the toolbars on same row.

Regards,

Krishna

'---------------------------------------Design time settings--------------------------

'

'tlbMain

'

Me.tlbMain.AllowCustomize = False

Me.tlbMain.AllowHide = False

Me.tlbMain.DockingRow = 1

Me.tlbMain.Text = "tlbMain"

Me.tlbMain.ToolsOverflow = DataDynamics.SharpUI.Toolbars.ToolOverflowTypes.WrapTools

Me.tlbMain.Visible = False

Me.tlbMain.Name = "tlbMain"

'

'tlbClipBoard

'

Me.tlbClipBoard.DockingOffset = 470

Me.tlbClipBoard.DockingRow = 1

Me.tlbClipBoard.Text = "tlbClipBoard"

Me.tlbClipBoard.Visible = False

Me.tlbClipBoard.Name = "tlbClipBoard"

'

'tlbView

'

Me.tlbView.DockingOffset = 700

Me.tlbView.DockingRow = 1

Me.tlbView.Text = "tlbView"

Me.tlbView.Visible = False

Me.tlbView.Name = "tlbView"



   Report 
   01-29-2008, 10:57 AM
ericc is not online. Last active: 4/4/2009 4:32:14 PM ericc

Top 10 Posts
Joined on 03-01-2005
Posts 1,857

DDStaff
Re: How to display toolbars in same docking row...
Thank you for your question. Unfortunately, I have been unable to determine what may be causing the issue in your case. In my testing with the installed ToolBarFeatures sample I did not experience any issues displaying multiple toolbars on the same DockingRow with ToolsOverflow set to WrapTools. Would it be possible for you to provide me with a small running sample that demonstrates how you are adding you are setting up your toolbars so that I can attempt to determine what may be the cause in your case?

Also, please ensure you are using the latest build available (1285). You can find the update here:

http://www.datadynamics.com/forums/42/ShowForum.aspx

Thanks,
    Eric


   Report 
   02-07-2008, 8:36 AM
kchavan is not online. Last active: 2/28/2008 3:21:30 PM kchavan

Not Ranked
Joined on 10-08-2007
Posts 8
Re: How to display toolbars in same docking row...

Attachment: ToolBa-Features_VB.zip

Hi Ericc.

To illustrate the problem I am sending you the ToolBarFeatures sample program. Attached is source code, find attached screenshot in the next reply

I have set the visible property of tlbMain, tlbOptions and tlbHelp to "False" in design time. We make these toolbars visble in the form load event. When we run the code each toolbar is displayed on different docking row.

Regards,

Krishna

 

 


   Report 
   02-07-2008, 8:38 AM
kchavan is not online. Last active: 2/28/2008 3:21:30 PM kchavan

Not Ranked
Joined on 10-08-2007
Posts 8
Re: How to display toolbars in same docking row...

Attachment: ToolBarSample.JPG

Hi erric,

I have set the visible property of tlbMain, tlbOptions and tlbHelp to "False" in design time. We make these toolbars visble in the form load event. When we run the code each toolbar is displayed on different docking row.

Regards,

Krishna



   Report 
   02-07-2008, 11:24 AM
ericc is not online. Last active: 4/4/2009 4:32:14 PM ericc

Top 10 Posts
Joined on 03-01-2005
Posts 1,857

DDStaff
Re: How to display toolbars in same docking row...
Thank you for your reply. I have addressed this behavior to our delvopment staff as case 41858 and linked your email address to the case as an affected user.

Currently you can workaround this behavior by  resetting the DockingRows after toggling the visibility of your toolbars        

Ex:

        tbMain.DockingRow = 1
        tbOptions.DockingRow = 1
        tbHelp.DockingRow = 1

Thanks,
    Eric


   Report 
   02-10-2008, 3:05 AM
via is not online. Last active: 3/20/2011 8:04:54 PM via

Top 25 Posts
Joined on 08-28-2004
Posts 653
Re: How to display toolbars in same docking row...
End of Sale!!!
   Report 
GrapeCity » Product Support » SharpUI for .NE... » Re: How to display toolbars in same docking row...

Privacy Policy | Copyright © 1997-2012 — GrapeCity, inc.
All trademarks mentioned are the property of their respective owners.