-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Access Violation when dragging Tab to other RemoteContainer #34
Comments
Workaround: In function TCustomChromeTabs.InsertDroppedTab: TChromeTab; If you comment out: the AV doesn't occur anymore. |
The code you commented out is needed otherwise the tab will resize when dropped. I couldn't repeat the problem, but I've added a check to make sure is FDragTabControl assigned:
Can you take a look at the new version (committing soon) and see you still get the error. If you do, please send me your demo and I'll take a look. |
The inital problem is solved now, yay! Thanks! However if you have 2 tabs in one Container and want to to drag and drop one into another container which has 0 tabs you'll get an "Argument out of bounds exception".
Video for clarification: http://gfycat.com/NippyGraciousHalcyon |
I have recreated the demo as closely as I can using your videos, but cannot repeat the problem, no matter how many times I try. I guess you have some property set that I can't see in the video. Can you please send me a copy of the project you are using? |
I use the standard ChromeTabs settings. However i forgot to mention they are place on 2 panels. |
Any news on this? The dropbox-link is broken. |
When dragging (and dropping) a Tab to an other Container it sometimes happens that the following access violation gets triggered:
I've made a quick video so you can see when this AV occurs:
http://gfycat.com/InferiorEagerItaliangreyhound
It seems like SetControlPosition gets an invalid ChromeTabsControl and therefore crashes?
Best regards,
Homer
The text was updated successfully, but these errors were encountered: