StrataCollapsibleContainer Linklabel doesn't hide


Author
Message
Marcel Heitlager
Marcel Heitlager
StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)
Group: StrataFrame Users
Posts: 84, Visits: 835
Might already know about this one.



Add a couple of StrataCollapsableContainers to a FlowLayout Control. Remove the action bar. Change the header height to 26 or whatever. Set ShowNotificationArea to True and add a linklabel to the body, when the Container collapses, the linklabel shows through the notification area.



Just wanted to pass it on if it was missed.



Marcel



Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
That means that you didn't add it to the container of the control, but rather set it on top of the control.  Only the area beneath the header is a container.

There are a few tweaks that need to happen on this control, but this is one thing I know will work as we have this going in several environments and have them links together in a FlowLayoutPanel.  This has also been deployed in the field for a good while now, so I am pretty confident in this logic.

Marcel Heitlager
Marcel Heitlager
StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)
Group: StrataFrame Users
Posts: 84, Visits: 835
Nope, I added it to the cc. I tested it again. I tried it with a themedlinkmenu, and it works fine, only if I set anchor to bottom. It doesn't work at all with a textbox. Linklabel will work if I set anchor to bottom but autogrow to false.



However, it only stops working when I remove the action bar and add the notificationarea. The size of the control is 149, 145, and I made sure that the controls are in the middle.



I have three cc's in a vertical row in a flowlayoutpanel. When I move the controls to the other cc's without a notification area, it works fine (I don't have to set the anchor to bottom). Also, if I have a notification area and an action bar, the cc works fine. But remove the actionbar and keep the notification area and it breaks.



Apparently, when you remove the actionbar, the cc, control container edge becomes the bottom of the cc, even it contains a notification area, and the controls overlap the notification area.



At least that's what it is doing of my machine.Ermm







Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
Why don't you post me a sample as I may not be understanding you correctly. This should cut through the red tape.
Marcel Heitlager
Marcel Heitlager
StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)StrataFrame User (202 reputation)
Group: StrataFrame Users
Posts: 84, Visits: 835
Attached is a sample.

The top Container causes the problems.



Attachments
SampleApp.zip (110 views, 80.00 KB)
Trent Taylor
Trent Taylor
StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)StrataFrame Developer (10K reputation)
Group: StrataFrame Developers
Posts: 6.6K, Visits: 6.9K
OK, I see what was going on. I have fixed this for the next update. But there is actually a work around for today. You can drop on a ThemedPanel and set the SolidBackground to True. Then dock the ThemedPanel in the container and place your controls within the ThemedPanel. This will respect the docking and not overstep the bounds. But the next update will correct this issue.
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search