Welcome! Log In Create A New Profile

Advanced

TAB_Pane

Posted by ICI 
ICI
TAB_Pane
April 15, 2009 01:57PM
Regards to all !
One question if it is not a problem smiling smiley

I have Window with Tab control with 11 Tabs
On one Tab I insert browsing table and one button.
I need to open Pane2 just on that TAB not to all TABS become Pane1
Tab_Sifarnici[1]..Plane is not supported
TAB_Sifarnici["Kontni Plan"] also not supported (..Plane) is not supported for single Tab
just for complete TAB control.

How to code to change only TAB_Sifarnici..MyTab..Plane = 2

Once again, not for Window, or complete TAB control.

Thank you !
Stefan Bentvelsen
Re: TAB_Pane
April 15, 2009 04:42PM
Hi ICI,

your question is not totally clear to me,
but to activate a pane of a tab-control you can use Tab_Sifarnici=1 for pane 1, Tab_Sifarnici=2 for pane 2, Tab_Sifarnici=3 for pane 3, etc. I usually define a constant for each pane and use than for example:

constant
csAlgemeen=1
csArtikelen=2
csRest=3
end

Tab_Sifarnici=csArtikelen // Make pane 2 active.

If you insert a pane later, you only have to insert a constant and change the defined values of the panes after the inserted one. Works OK to me.
ICI
Re: TAB_Pane
April 15, 2009 11:07PM
Hi Stefan !
First, Thank you for your answer.

I write about Plane into Pane (Tab).
I know how to change active Pane (Tab) and this is not my question
Window can have up to 99 Planes into one window. Also is enabled to into one Pane
You define example: Table (Browse) Into Plane and change Planes with PgUp-PgDn but can not activate it with W_language.

Tab_Sifarnici=1
I need next

Tab_Sifarnici[1]..Plane = 1
or
Tab_Sifarnici.TabPane1..Plane = 1
but this is not supported
I have propertie example: MyWindow..Plane = 1
but I do not need to change planes of window I need it for one Pane (Tab) smiling smiley

I hope you understand now my question.






Edited 1 time(s). Last edit at 04/15/2009 11:09PM by ICI.
Piet van Zanten
Re: TAB_Pane
April 16, 2009 12:41PM
Hi ICI,

A tab is a control, a plane is not. A plane is a kind of a built-in easy way of assigning a group to controls. A plane can only belong to a Window. So a plane can contain a tab control, but a tab control cannot contain a plane. You could try using groups and the visible/invisible attribute to achieve what you want.

Regards,
Piet
ICI
Re: TAB_Pane
April 16, 2009 09:57PM
Yes, Piet !
Thank you for your answer.
I read it in the help , about Planes and Windows.
But it is interesting (You can try) you can create Tab control with many Tabs, put Table into one Tab control and than from description for this table change Plane. This table, from this Tab disappear from TAB but other tables on other TAB controls are still there and this make me confused. So, conclusion ! Controls from TAB control are not docked strictly into TAB control but remain into whole window.
It will be interesting to me, other opinions about this situation !
Regards to all !
Fabrice Harari.pcs.crosspost
Re: TAB Pane
April 17, 2009 02:16PM
Hi...

When you create your tabs with tables on it, all of those controls are
in the same plane (ie the one on which you created the TAB control
originally)... When you go in the description of a table and say that it
is NOW in the plane X (different from the tab), then, OF COURSE, the
table will disappear from the tab control, as they are not in the same
plane anymore and cannot be visible at the same time because of that

You have to understand that every control is in a plane (or NO plane, of
course), including a TAB control, not the contrary (you do not have
planes inside a control of any type)

Best regards

--
Fabrice Harari
Consultant WinDev, WebDev et WinDev Mobile International

Plus d'information sur [fabriceharari.com]


ICI wrote:
> Yes, Piet !
> Thank you for your answer.
> I read it in the help , about Planes and Windows.
> But it is interesting (You can try) you can create Tab control with many Tabs, put Table into one Tab control and than from description for this table change Plane. This table, from this Tab disappear from TAB but other tables on other TAB controls are still there and this make me confused. So, conclusion ! Controls from TAB control are not docked strictly into TAB control but remain into whole window.
> It will be interesting to me, other opinions about this situation !
> Regards to all !
>
Message forwarded from pcsoft.us.windev
ICI
Re: TAB Pane
April 18, 2009 09:21AM
Yes, off course .
I have better picture about planes and controls.
So, planes remain only on windows and don't remain into controls.
But , I need to say ones more, TABs are not like Edit or Combo controls and these controls don't need Planes but it will be very interesting to exist similar option for TABs.

Regards to all and thank you for your answers !
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: