PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → How to set "Display mode of panes" on tabs via program
How to set "Display mode of panes" on tabs via program
Iniciado por sdbxox, 02,dic. 2019 16:43 - 5 respuestas
Publicado el 02,diciembre 2019 - 16:43
Hi

Does anyone know the property or function to set the display mode of panes on a tab control to "Invisible Panes". Unfortunatley, the tooltip for this on the tab description does not say what it is and aI cannot find the property to set this. I can do it in the editor, but it is a pian having to reset it each time I want to change a control on a tab in the editor. So I want to make it invisible in code.

Any ideas?

Simon
Miembro registrado
52 mensajes
Publicado el 03,diciembre 2019 - 10:32
not sure if you are asking for this:

TAB_Noname[1]..visible=False
TAB_Noname[2]..visible=not TAB_Noname[2]
Publicado el 04,diciembre 2019 - 16:58
Hi

Unfortunately not.

What I am trying to replicate is the Invisible Panes setting in the Description on the Tab control.

i.e Tab Control | Descriptions | Describing the Tab Control | Details | Display Mode of Panes = Invisible Panes.

By making the individual Panes invisible, all the controls related to that pane also become invisible. All I want to do is not have the tab control with the tabs showing so that I can control it in the program.

I'm sure I've managed this before but cannot find the way that I did it.

Thanks

Simon
Miembro registrado
52 mensajes
Publicado el 05,diciembre 2019 - 10:37
Now I understand you

If you set "paneshift" to a value greater than screen width ... it seems to work like "invisible panes" setting

Tab_NONAME1.paneshift=5000


Remember to disable "Accesible by TAB"
Publicado el 05,diciembre 2019 - 16:42
Thanks. That seems to do the trick. I'm surprised there is not a property to do this.

Simon
Miembro registrado
52 mensajes
Publicado el 05,diciembre 2019 - 19:37
Simon Phillips wrote:
Thanks. That seems to do the trick. I'm surprised there is not a property to do this.

Simon


I'm sure it exists ... but this is Windev world !