SplitContainer

0
0

We are trying to migrate from the splitter control from Visual Webgui to Wisej.

I am using a SplitContainer in wisej for this. When the splitter dock is set to bottom/horizontal it show as intended. But when we dock it to left/vertical, i see the panel width to be set to 50 by default and it does not really appears like a splitter line as it displays for horizontal splitteer. How can we fix it so that the splitter  doesn’t appear like a box/panel.

I have set Panel1.Collapsed = true and so now it shows only one panel. Can we set the width of the panel in runtime to make it look like a splitter line. We are using C#.

Please see attached image that shows how the horizontal and vertical splitter is displayed.

thanks

praveena

Attachment
  • You must to post comments
0
0

Hi Paul

This is the designer code that i have so far while using a SplitContainer in WIsej.

private void InitializeComponent()
{
((System.ComponentModel.ISupportInitialize)(this)).BeginInit();
this.SuspendLayout();
//
// Splitter
//
this.FixedPanel = Wisej.Web.FixedPanel.Panel1;

this.Name = “Splitter”;
//
//
//
this.Panel1.Enabled = true;
this.Panel1.RestoreBounds = new System.Drawing.Rectangle(0, 0, 150, 0);
this.Panel1.RightToLeft = Wisej.Web.RightToLeft.No;
this.Panel1.TabStop = true;
this.Panel1MinSize = 2;
//
//
//
this.Panel2.Enabled = true;
this.Panel2.TabStop = true;
this.Panel2Collapsed = true;
((System.ComponentModel.ISupportInitialize)(this)).EndInit();
this.ResumeLayout(false);

}

#endregion
}

Also attaching a screenshot of the result when the form is rendered in Wisej.

Is there a way that we can display the vertical splitter as similar to horizontal splitter and not display like a panel.

Thanks

Praveena

 

Attachment
  • You must to post comments
0
0

Hi Paul

Attaching is a screen shot that shows how the splitter control is rendered in Visual Webgui. It shows both the vertical splitter(dock left) and horizontal splitter (dock bottom) that gets added to the form. Our main form is created on a windows application and then it is rendered in VWG.

I am trying to achieve something similar in our efforts to migrate from VWG to WiseJ using Splitter control.

 

thanks

praveena

 

Attachment
  • Paul
    • Paul
    • Sep 2, 2021 - 3:26 pm
    Hi Praveena. Reviewing this with product team, the shortest way to help you is that send us a small runnable sample in wisej with what you do until now. This will be evaluated to if only remains a quick adjust is remained or is necessary a custom support. In the last case, we have 4 hours packages for a very rasonable value. Your sample code colud be sended at support@wisej.com Regards
  • You must to post comments
0
0

Hi Paul

 

Thanks for the response. I wanted to splitter to just show a single line instead of a panel when docked to left. Since there is no SplitterControl as such in WiseJ, i had to use the SplitContainer.

One quick question. Is there a way to just display the splitter and hide both the panels?

  • Paul
    • Paul
    • Sep 2, 2021 - 3:22 am
    Hi Pravena maybe if you mockup the result that you want to achievement we can help you in a better way. Maybe using other wisej control will be a more simple way to achievement. Regards
  • You must to post comments
0
0

Hi Pravena

I tried to follow your steps, but I not have the problem commented for you

I attached the sample and image of it

Regards

  • You must to post comments
0
0

Hi Pravena

Please, could you atach the sample code was used in the picture or another little test project equivalent ?

Regards

  • You must to post comments
Showing 5 results
Your Answer

Please first to submit.