Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.
How can I hide the title bar
in OpenInsight
Hi,
We are creating a call center application in OI.
Part of the design is a side panel that looks like this:
We want to hide the title bar (the part in yellow). How do you do this?
Also on a somewhat related note, I want to use the Splitter control to better use the limited space we have available in the side panel, but I don't get it. Do you think the Splitter control could work? It woudl be good if you could provide screenshots of what the Splitter control does.
We are creating a call center application in OI.
Part of the design is a side panel that looks like this:
We want to hide the title bar (the part in yellow). How do you do this?
Also on a somewhat related note, I want to use the Splitter control to better use the limited space we have available in the side panel, but I don't get it. Do you think the Splitter control could work? It woudl be good if you could provide screenshots of what the Splitter control does.
Comments
untick the box in the form designer
You can 'move' it but it doesn't actually do anything other than provide visual feedback to the user.
That may be why you "don't get it". You need to programmatically move, resize controls whatever end effect you actually want.
I did that, but the title bar still appears. I think the framework we are using is automatically putting the title bar onto the form. I need to have a look.
Thanks
If the title is still appearing after unchecking it, you might be right that framework code somewhere is programmatically forcing it to appear.
Thanks
It appears you intend this panel to be a part of the MDI Frame rather than a child form. Why don't you move the controls onto the MDI Frame itself and resize the MDI Client so there is room along the left edge?
Is it dependant on the way you launch it, such as perhaps a dialog box instead of start_mdichild?
Ok thanks. If we have to show the title bar, it's not a deal breaker.
There is another option available to you that would be a hybrid of my suggestion and your form. You would still resize the MDI Client so there is room along the left side of the MDI Frame. However, instead of relocating the controls, just put the SRP Panel control there and use the SetForm method to load your form.
Hi, yes it should be stationary.
I will give that a try. I was reluctant to manually move each control, so your method is good.
As my form is quite complicated, I have my doubts that the panel will work. But we will see.
This is perfect. Thanks
: