-
Notifications
You must be signed in to change notification settings - Fork 890
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
Widget.SetVisible(false) not compatible with HSplitter/VSplitter #491
Comments
Seems to work now (although nobody reported fixing it) after update of lxn/win and lxn/walk |
There is one curious bug left in this "making invisible". I can not show all related code to this bug because the declarative is thousands of lines (divided over different classes and screens and modules by using functions that return single widgets or lists of widgets for that module). Here follows some code that I use and might also influence this (like storing the GUI position and sizes in a settings file).
|
I have isolated the problem in a little program shown here below.
I managed to fix #489 by not using SetVisible() but simply remove and add the TabPage from the Tab widget. Regrettably the same did not work when trying to alter the children list of the Splitter (the application hangs, preventable by SetSuspend() ) but none of the fixes or workarounds that I tried give a proper effect.
Does anybody want to give it a try to get this to work?
Even suggestions on what else I could try are most welcome!
The functionality is needed to hide/show a table with accounting bookings for directories on the hard disk that are not subdirectories of the directory that contains one of the accounting databases.
The text was updated successfully, but these errors were encountered: