 |
|
 |
It works on 3.5 framework but not on 4.
Any chance you will be upgrading soon?
Btw great work.
|
|
|
|
 |
|
 |
First, thanks for the great control
It would be cool if there was some autofocus when you try drag drop between MDI forms (autofocus the sheet where the cursor is hovering over in 2 seconds - but only when de left mouse button is down)
|
|
|
|
 |
|
 |
Windows Aero affects colors, a panel having a solid colour background or text is affected but images aren't a panel with backgroundcolor set a black becomes transparent but a panel with its backgroundimage set to a solid black image is not affected, is there a way to display bitmap rather than text?
|
|
|
|
 |
|
 |
Pretty good component, i came across your control and it is and interesting one. I have a question how through code can i set a tab to be selected (viewable), with foreach i could get an instance of the tab i need but how about making it the one viewable if this tab is already in the collection.
|
|
|
|
 |
|
 |
On Net framework 4 you cannot get a transparent background but on Net framed 3.5 it can, my project MUST use Net framework 4
|
|
|
|
 |
|
 |
System.ArgumentOutOfRangeException was unhandled
Message=Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
Source=mscorlib
ParamName=index
StackTrace:
at System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32 index)
at MdiTabStrip.MdiTabCollection.get_Item(Int32 index)
at MdiTabStrip.MdiTabStrip.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
at System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at WBrowser.Program.Main() in C:\Users\Jack Han\Desktop\WBrowser\WBrowser\Program.cs:line 18
at System.AppDomain._nExecuteAssembly(Assembly assembly, String[] args)
at System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
at Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
at System.Threading.ThreadHelper.ThreadStart_Context(Object state)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at System.Threading.ThreadHelper.ThreadStart()
InnerException:
|
|
|
|
 |
|
 |
I believe that the author forgot to cancel dragging when the mouse is moved outside the tabstrip.
Therefore, try to add the following function to the MdiTabStrip.vb:
Protected Overrides Sub OnDragLeave(ByVal e As System.EventArgs)
MyBase.OnDragLeave(e)
Me.IsDragging = False
Me.Invalidate()
End Sub
I could reproduce your problem and adding this function fixes it for me.
|
|
|
|
 |
|
 |
hi...this is a great solution for our application..but i have some trouble when try this to vb 2010. can you help me how to use this mditabstrip - step by step cause im just newbie! thanks brother
|
|
|
|
 |
|
 |
When I drag a tab outside the window and close every tab I get a huge error, I do not know how to catch it
|
|
|
|
 |
|
|
 |
|
 |
I really need the problem to be fixe, dragging the tab ot of the form is a massive flaw
modified on Monday, May 30, 2011 5:09 PM
|
|
|
|
 |
|
 |
I replied to your message posted on May 30th, 2011. Check my reply there.
|
|
|
|
 |
|
 |
Dear All;
I need a sample in VB.NET show me how to Change the Windows Layout in my program form Tabbed Documents into Multiple document and cand do it by conversely
Thanks
|
|
|
|
 |
|
 |
Here are my small fixes and enhancements: (1.5.5.1 version? )
Fix
- ShowTabToolTip, now applies only on tab caption (doesn't include close, new and list button).
New
- Added ShowCloseTabToolTip property: specifies whether to display ToolTip on close tab button.
- Added CloseTabToolTipText property: specifies tooltip text to display on close tab button.
- Added ShowNewTabToolTip property: specifies whether to display ToolTip on new tab button.
- Added NewTabToolTipText property: specifies tooltip text to display on new tab button.
- Added ShowListTabToolTip property: specifies whether to display ToolTip on list tab button.
- Added ListTabToolTipText property: specifies tooltip text to display on list tab button.
Internal scopes:
- Added HideToolTip() method to MdiTabStrip class: hides the tooltip.
Now how will I be able to share this with community (if you like it!) ??
Thanks.
Claudio
|
|
|
|
 |
|
 |
Please let me tell about the main functions (add tab, remove tab, change title).
|
|
|
|
 |
|
 |
Hi,
A couple of years ago I developed a custom web browser app using this control and it still works really well but the problem I have now (running it under Vista or Windows 7 beta with Flash 9 installed) is that when I exit my app I get a "program compatibility assistant" dialog saying "This program requires a missing component" and that component is Flash.ocx. I've hunted my entire two PC's and I don't have *any* occurences of flas*.ocx at all, even though I do have Flash and Adobe Reader installed.
So, is anyone else getting this problem and/or does anyone have this file that they could email me so I can try to reference it in the app and see if that fixes it?
Thanks,
Mike
|
|
|
|
 |
|
 |
Even if you set ShowTabToolTip property to false, tooltips show anyway.
They are pretty, but buggy, sometimes these tooltips cause constant tooltip blinking which also prevents tabs from switching (try dock MdiTabStrip to bottom, maximize MDI parent form and play with tooltips on tabs - you will see the bug).
I was lazy to understand the code completely, so I just made a quick fix that works:
In the MdiTabStrip class locate the UpdateToolTip function and change
Me.m_toolTip.Show(tipText, Me, MyBase.PointToClient(location), Me.m_toolTip.AutoPopDelay)
to
If Me.ShowTabToolTip Then
Me.m_toolTip.Show(tipText, Me, MyBase.PointToClient(location), Me.m_toolTip.AutoPopDelay)
End If
|
|
|
|
 |
|
 |
just need to modify the MdiTab.vb at line-696. add the condition " Me.ParentInternal.ShowTabToolTip ".
|
|
|
|
 |
|
 |
Hello,
I see people here already disscussed the flicker issue a few times.
Here is my fix:
We need to disable main form redrawing during activating a child form. It seems that the best way is to send WM_SETREDRAW message to the MDI parent form. To do this add the following code in the MdiTab class:
Private Declare Auto Function SendMessage Lib "user32.dll" ( _
ByVal hWnd As IntPtr, _
ByVal wMsg As Int32, _
ByVal wParam As IntPtr, _
ByVal lParam As IntPtr _
) As IntPtr
Private Const WM_SETREDRAW As Int32 = &HB
and then in OnMouseDown handler in this class write:
Try
SendMessage(Me.Form.MdiParent.Handle, WM_SETREDRAW, New IntPtr(CInt(False)), IntPtr.Zero)
Me.Form.Activate()
Finally
SendMessage(Me.Form.MdiParent.Handle, WM_SETREDRAW, New IntPtr(CInt(True)), IntPtr.Zero)
Me.Form.MdiParent.Refresh()
End Try
instead of simple call "Me.Form.Activate()"
Now, when you change the tabs with the mouse click on tabs - there will be no blinking anymore.
|
|
|
|
 |
|
 |
Well, unfortunately this code adds a bug - mdi parent caption is not updated when switching mdi children :(
|
|
|
|
 |
|
 |
I'm adding the control is a form that has 2 different menus. For some reason the MDI control is placing itself on top of the menu, which just looks weird.
i'm basically changing the menus as I see fit within the program. but the mdi stays on top position 0,0...
any ideas, on how to make it show under the menu?
|
|
|
|
 |
|
 |
When I create a new tab using this (excellent) control, the new tab steals focus. Is there any way to prevent this? Right now I am doing this:
If Not focusedBrowser Is Nothing Then
Dim previousTab As Form = focusedBrowser.Parent
Me.SuspendLayout()
FormX.Visible = True
previousTab.Activate()
Me.ResumeLayout()
Else
Me.SuspendLayout()
FormX.Visible = True
Me.ResumeLayout()
End If
This works fine, except I get some stupid quick flicker. I know I shouldn't be switching back to the previous tab and I need to figure out a way to just not switch to the newest tab. Any thoughts? Is this something I need to tear apart the DLL for?
|
|
|
|
 |
|
 |
Hi,
Couple of questions;
If i have three tabs running (using three forms) and the user presses a button on tab 2 (form2) can i disable the other tabs 1 and 3 ? not close them just mke it so that the user must press another button on form 2 to enable the other forms ?
Thanks,
ANdy
NOTE; Thansk for the great component
|
|
|
|
 |
|
 |
Hi crcrites,
First of all it is brilliant control and it works really well. thank you.
I am getting a run time error which i am not able to resolve please could you have a look for me.
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
at System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32 index)
at TabWindowView.MdiTabCollection.get_Item(Int32 index)
at TabWindowView.MdiTabStrip.OnPaint(PaintEventArgs e)
at System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer, Boolean disposeEventArgs)
at System.Windows.Forms.Control.WmPaint(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
many thanks.
|
|
|
|
 |
|
 |
I also saw this error when trying out the control using the provided TestBed.exe
Any ideas on cause/fix?
|
|
|
|
 |