Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > it.comp.lang.visual-basic > #20034
| X-Received | by 2002:a05:622a:1a8e:b0:3f9:7251:3107 with SMTP id s14-20020a05622a1a8e00b003f972513107mr3554347qtc.7.1686602705029; Mon, 12 Jun 2023 13:45:05 -0700 (PDT) |
|---|---|
| X-Received | by 2002:a05:6870:712:b0:1a6:9b14:7784 with SMTP id ea18-20020a056870071200b001a69b147784mr1158686oab.6.1686602704786; Mon, 12 Jun 2023 13:45:04 -0700 (PDT) |
| Path | csiph.com!1.us.feeder.erje.net!2.eu.feeder.erje.net!feeder.erje.net!proxad.net!feeder1-2.proxad.net!209.85.160.216.MISMATCH!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail |
| Newsgroups | it.comp.lang.visual-basic |
| Date | Mon, 12 Jun 2023 13:45:04 -0700 (PDT) |
| In-Reply-To | <08954f86-ef5a-4ba2-9cbd-5ec8a89e851an@googlegroups.com> |
| Injection-Info | google-groups.googlegroups.com; posting-host=79.41.122.78; posting-account=eitZdgoAAAC6C9CXmyhLNaQM3MgI3eZM |
| NNTP-Posting-Host | 79.41.122.78 |
| References | <08954f86-ef5a-4ba2-9cbd-5ec8a89e851an@googlegroups.com> |
| User-Agent | G2/1.0 |
| MIME-Version | 1.0 |
| Message-ID | <1ff0a226-bcb5-4e54-b5e8-b9a1bc734426n@googlegroups.com> (permalink) |
| Subject | Re: TabControl nascondere pannello |
| From | Luca D <antaniserse@yahoo.it> |
| Injection-Date | Mon, 12 Jun 2023 20:45:05 +0000 |
| Content-Type | text/plain; charset="UTF-8" |
| Content-Transfer-Encoding | quoted-printable |
| Xref | csiph.com it.comp.lang.visual-basic:20034 |
Show key headers only | View raw
On Friday, February 3, 2023 at 8:54:18 AM UTC+1, Marco75 wrote:
> Ciao,
> mi tocca chiedere nuovamente aiuto...
> ho un TabControl con 4 pannelli, e vorrei che uno di questi non fosse visibile.
> le ho provate tutte, da Visible = False a Hide ma lo vedo sempre.
> con Add e Remove lo mette o lo toglie io voglio solo nasconderlo!
Funzionalmente, è la stessa cosa... aggiungere/togliere una pagina dalla collection dei pannelli non la distrugge, nè perde lo stato e i valori dei vari controlli contenuti nella pagina stessa, per cui alternare tra visibile/invisibile diventa semplicemente
If TabControl1.TabPages.Contains(TabPage2) Then
TabControl1.TabPages.Remove(TabPage2)
Else
TabControl1.TabPages.Add(TabPage2)
End If
Back to it.comp.lang.visual-basic | Previous | Next — Previous in thread | Find similar
TabControl nascondere pannello Marco75 <marcoporzi75@gmail.com> - 2023-02-02 23:54 -0800 Re: TabControl nascondere pannello Luca D <antaniserse@yahoo.it> - 2023-06-12 13:45 -0700
csiph-web