Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #11211 > unrolled thread

Experimenting with split windows

Started byMartin <Martin@spam.spam>
First post2017-12-05 13:43 +0000
Last post2017-12-08 12:51 +0000
Articles 4 — 3 participants

Back to article view | Back to comp.lang.clipper.visual-objects


Contents

  Experimenting with split windows Martin <Martin@spam.spam> - 2017-12-05 13:43 +0000
    Re: Experimenting with split windows "Wolfgang Riedmann" <wriedmann@gmail.com> - 2017-12-06 08:45 +0100
    Re: Experimenting with split windows Mathias <mathias.hakansson@consultec.se> - 2017-12-06 02:16 -0800
      Re: Experimenting with split windows Martin <Martin@spam.spam> - 2017-12-08 12:51 +0000

#11211 — Experimenting with split windows

FromMartin <Martin@spam.spam>
Date2017-12-05 13:43 +0000
SubjectExperimenting with split windows
Message-ID<p067pl$tdg$1@dont-email.me>
So far been trying so hard I have gone round in circles.

Experimenting with a split window.

Now the difficult bit, I want it on a tab.

I can get a basic split but it is pretty ugly.

Is the below possible please?

A few fields in a fixed sized section of the tab using the form designer.

Underneath a split with top half with a bbrowser and underneath a tab 
with 2 pages, each just a simple bbrowser.

None of the samples seem to suggest anything like this.

Thanks

Martin

[toc] | [next] | [standalone]


#11214

From"Wolfgang Riedmann" <wriedmann@gmail.com>
Date2017-12-06 08:45 +0100
Message-ID<f8plhlFnqgcU1@mid.individual.net>
In reply to#11211
Hi Martin,

it works definitely. 

But I have it not on a DataWindow, but on a modeless DialogWindow.
I like the SplitWindow very much.

Wolfgang


Martin wrote:

> So far been trying so hard I have gone round in circles.
> 
> Experimenting with a split window.
> 
> Now the difficult bit, I want it on a tab.
> 
> I can get a basic split but it is pretty ugly.
> 
> Is the below possible please?
> 
> A few fields in a fixed sized section of the tab using the form
> designer.
> 
> Underneath a split with top half with a bbrowser and underneath a tab
> with 2 pages, each just a simple bbrowser.
> 
> None of the samples seem to suggest anything like this.
> 
> Thanks
> 
> Martin



-- 

[toc] | [prev] | [next] | [standalone]


#11217

FromMathias <mathias.hakansson@consultec.se>
Date2017-12-06 02:16 -0800
Message-ID<33ac792d-17b5-4b14-a82a-dfd77fbde9fb@googlegroups.com>
In reply to#11211
Have you tried working with "SubDataWindows"? 

Create your tab Control on your top level window.
Change the name of the created tab. (Current tab: Name).
Double click on the tab surface. A subwindow is created.
Put your Controls för the fixed section of the window.
Place a sub datawindow Control on the window
Change the name of the subdatawindow Control to a describing name (MySplitWindow).
Close all window editors.
Create a window class like below;

CLASS MySplitWindow INHERIT SplitWindow 
  // export oSFPane1 as Pane1
  // export oSFPane2 as Pane2
METHOD Init(oWindow, iCtlID) class MySplitWindow
  self:Layout := Dimension{1,2}

  // self:oSFPane1 := Pane1{self, MYSPLITWINDOW_PANE1}
  // self:oSFPane1 := Pane1{self, MYSPLITWINDOW_PANE2}

  //self:SetPaneClient(self:oSFPane1, 1)
  //self:SetPaneClient(self:oSFPane3, 2)

  return self
// DEFINE MYSPLITWINDOW_PANE1 := 200
// DEFINE MYSPLITWINDOW_PANE1 := 201

I leave it to you to construct the pane windows, but the window should run with empty panes as well.

/Mathias
Den tisdag 5 december 2017 kl. 14:43:18 UTC+1 skrev Martin:
> So far been trying so hard I have gone round in circles.
> 
> Experimenting with a split window.
> 
> Now the difficult bit, I want it on a tab.
> 
> I can get a basic split but it is pretty ugly.
> 
> Is the below possible please?
> 
> A few fields in a fixed sized section of the tab using the form designer.
> 
> Underneath a split with top half with a bbrowser and underneath a tab 
> with 2 pages, each just a simple bbrowser.
> 
> None of the samples seem to suggest anything like this.
> 
> Thanks
> 
> Martin

[toc] | [prev] | [next] | [standalone]


#11226

FromMartin <Martin@spam.spam>
Date2017-12-08 12:51 +0000
Message-ID<p0e1rt$lha$1@dont-email.me>
In reply to#11217
OK will try it and see what happens thanks.

On 06/12/2017 10:16, Mathias wrote:
> Have you tried working with "SubDataWindows"?
> 
> Create your tab Control on your top level window.
> Change the name of the created tab. (Current tab: Name).
> Double click on the tab surface. A subwindow is created.
> Put your Controls för the fixed section of the window.
> Place a sub datawindow Control on the window
> Change the name of the subdatawindow Control to a describing name (MySplitWindow).
> Close all window editors.
> Create a window class like below;
> 
> CLASS MySplitWindow INHERIT SplitWindow
>    // export oSFPane1 as Pane1
>    // export oSFPane2 as Pane2
> METHOD Init(oWindow, iCtlID) class MySplitWindow
>    self:Layout := Dimension{1,2}
> 
>    // self:oSFPane1 := Pane1{self, MYSPLITWINDOW_PANE1}
>    // self:oSFPane1 := Pane1{self, MYSPLITWINDOW_PANE2}
> 
>    //self:SetPaneClient(self:oSFPane1, 1)
>    //self:SetPaneClient(self:oSFPane3, 2)
> 
>    return self
> // DEFINE MYSPLITWINDOW_PANE1 := 200
> // DEFINE MYSPLITWINDOW_PANE1 := 201
> 
> I leave it to you to construct the pane windows, but the window should run with empty panes as well.
> 
> /Mathias
> Den tisdag 5 december 2017 kl. 14:43:18 UTC+1 skrev Martin:
>> So far been trying so hard I have gone round in circles.
>>
>> Experimenting with a split window.
>>
>> Now the difficult bit, I want it on a tab.
>>
>> I can get a basic split but it is pretty ugly.
>>
>> Is the below possible please?
>>
>> A few fields in a fixed sized section of the tab using the form designer.
>>
>> Underneath a split with top half with a bbrowser and underneath a tab
>> with 2 pages, each just a simple bbrowser.
>>
>> None of the samples seem to suggest anything like this.
>>
>> Thanks
>>
>> Martin
> 

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.clipper.visual-objects


csiph-web