Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
7
Erster Beitrag:
vor 2 Jahren, 10 Monaten
Letzter Beitrag:
vor 2 Jahren, 10 Monaten
Beteiligte Autoren:
PETER ZHOU, Fabrice Harari, Piet van Zanten, Peter Zhou, Steven Sitas

WB19 - TAB CONTROL

Startbeitrag von PETER ZHOU am 04.04.2015 13:45

Hi,

for example i have 4 tabs, if i hide the 2nd tab,
i will see a BLANK tab between the first and third tab,

Is there any way to avoid seeing BLANK tab so that i can see 1st, 3rd & 4th tab ( 3 tabs) ?

Regards,

PETER ZHOU

Antworten:

Hi Peter

what do you call hiding ? What code are you using ?

Best regards

von Fabrice Harari - am 06.04.2015 11:48
Hi fabrice,

I used the following code to hide the 2nd tab.
Tab[2]..visible = false

Regards,

PETER ZHOU

von Peter Zhou - am 07.04.2015 05:47
Hi Peter,

you will have to give us more details...

As I was curious, I did a quick test in wd19 US :
- created a page
- created a tab control with 5 tab
- created a button
- in server code of button, typed:
if tab_noname1[2]..visible=true then
tab_noname1[2]..visible=false
else
tab_noname1[2]..visible=true
end

when I click on the button, tab 2 disappear (tab 3 is sticking against tab 1)
So everything seems to be working fine in that case...

Of course, you may be using different settings (awp, php, ajax, etc...) that you are not telling us about

Best regards

von Fabrice Harari - am 07.04.2015 11:55
Hi Fabrice,

Let's used the WWTABCONTROL example in webdev 19.

there's 4 tabs in the example.

Under the "Initialization of PAGE_Tabcontrol (Server)",
TAB_Tab1[2]..Visible = False

tab screenshot

as you can see from the screenshot, there's a gap between the 1st and 3rd tab

von PETER ZHOU - am 08.04.2015 04:47
Hi Peter,
same problem here ...
I think I saw that this is fixed/feature in WB20

Steven Sitas

von Steven Sitas - am 08.04.2015 07:42
Hi Peter,

Oh, I see.
The horizontal tab does not have this problem.

Regards,
Piet

von Piet van Zanten - am 08.04.2015 10:53
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.