Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.clipper.visual-objects > #7218 > unrolled thread
| Started by | Benchjoe <zweitaktfan@gmail.com> |
|---|---|
| First post | 2014-09-19 06:16 -0700 |
| Last post | 2014-09-20 21:02 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to comp.lang.clipper.visual-objects
Splitwindow and Tabcontrol Benchjoe <zweitaktfan@gmail.com> - 2014-09-19 06:16 -0700
Re: Splitwindow and Tabcontrol "Urs Eggmann" <Urs.Eggmann@shinternet.ch> - 2014-09-20 21:02 +0200
| From | Benchjoe <zweitaktfan@gmail.com> |
|---|---|
| Date | 2014-09-19 06:16 -0700 |
| Subject | Splitwindow and Tabcontrol |
| Message-ID | <455f43b1-f2bc-4cc4-baf5-800efaf17601@googlegroups.com> |
Hello!
I built a splitwindow, in the first pane there is datawindow.
In the second pane there is a tabcontrol with a few tabs on it.
The datawindow and the Tabcontrol is shown, i can switch/click between the tabs, but i cannot see anything of the tabs (contents) and its controls.
Code:
//Datawindow
oSFAuftragHeader := AuftragHeader{SELF,STERI_FENSTER_AUFTRAGHEADER}
oSFAuftragHeader:show()
// 2 Tabs
SELF:_oTPVorbereitung := Vorbereitung{SELF, 0}
SELF:oDCtbcSteri:AppendTab(#Vorbereitung, "Vorbereitung", SELF:_oTPVorbereitung, 0)
SELF:_oTPScannerInput := ScannerInput{SELF,0}
SELF:oDCtbcSteri:AppendTab(#ScannerInput, "ScannerInput", SELF:_oTPScannerInput, 0)
//Tab is selected, this works!
SELF:oDCtbcSteri:SelectTab(#ScannerInput)
SELF:SetPaneClient(SELF:oSFAuftragHeader, 1)
SELF:SetPaneSize(Dimension{SELF:CanvasArea:Width,115},1)
SELF:SetPaneClient(oDCtbcSteri, 2)
SELF:SetPaneSize(Dimension{SELF:CanvasArea:Width,SELF:CanvasArea:Height-115},2)
oDCtbcSteri:show()
//empty tabs ? why?
greetings,
Joe
[toc] | [next] | [standalone]
| From | "Urs Eggmann" <Urs.Eggmann@shinternet.ch> |
|---|---|
| Date | 2014-09-20 21:02 +0200 |
| Message-ID | <c861s9F9tbiU1@mid.individual.net> |
| In reply to | #7218 |
Hi Joe,
Check your mail.
Sent you a sample with two INIT-methods for the split window.
One with a DataWin, containing a tab control as pane Client. That works. The
other with a generated tab control as client. This is visible but without
content. Could not find the reason.
regards
Urs
"Benchjoe" <zweitaktfan@gmail.com> schrieb im Newsbeitrag
news:455f43b1-f2bc-4cc4-baf5-800efaf17601@googlegroups.com...
> Hello!
>
> I built a splitwindow, in the first pane there is datawindow.
> In the second pane there is a tabcontrol with a few tabs on it.
> The datawindow and the Tabcontrol is shown, i can switch/click between the
> tabs, but i cannot see anything of the tabs (contents) and its controls.
>
> Code:
> //Datawindow
> oSFAuftragHeader := AuftragHeader{SELF,STERI_FENSTER_AUFTRAGHEADER}
> oSFAuftragHeader:show()
> // 2 Tabs
> SELF:_oTPVorbereitung := Vorbereitung{SELF, 0}
> SELF:oDCtbcSteri:AppendTab(#Vorbereitung, "Vorbereitung",
> SELF:_oTPVorbereitung, 0)
>
> SELF:_oTPScannerInput := ScannerInput{SELF,0}
> SELF:oDCtbcSteri:AppendTab(#ScannerInput, "ScannerInput",
> SELF:_oTPScannerInput, 0)
> //Tab is selected, this works!
> SELF:oDCtbcSteri:SelectTab(#ScannerInput)
>
> SELF:SetPaneClient(SELF:oSFAuftragHeader, 1)
> SELF:SetPaneSize(Dimension{SELF:CanvasArea:Width,115},1)
>
> SELF:SetPaneClient(oDCtbcSteri, 2)
> SELF:SetPaneSize(Dimension{SELF:CanvasArea:Width,SELF:CanvasArea:Height-115},2)
> oDCtbcSteri:show()
> //empty tabs ? why?
>
>
> greetings,
> Joe
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.clipper.visual-objects
csiph-web