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


Groups > comp.lang.clipper.visual-objects > #11226

Re: Experimenting with split windows

From Martin <Martin@spam.spam>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Experimenting with split windows
Date 2017-12-08 12:51 +0000
Organization A noiseless patient Spider
Message-ID <p0e1rt$lha$1@dont-email.me> (permalink)
References <p067pl$tdg$1@dont-email.me> <33ac792d-17b5-4b14-a82a-dfd77fbde9fb@googlegroups.com>

Show all headers | View raw


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
> 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

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

csiph-web