Aller au contenu
View in the app

A better way to browse. Learn more.

Next

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

VB.net tabpage et tabcontrol

Featured Replies

Posté(e)

Bonsoir a tous, je solicite votre aide, jviens de passer a la plateform VB.net et j'ai trouvé le tabcontrol assez pratique

Maintenant j'aimerai savoir comment on le contrôle, plus particulièrement j'aimerai pouvoir automatiser l'affichage de tel ou tel tabpage automatiquement.

bcontrol

Le but faire coordonné plusieur tabpage de plusieur tabcontrol.

pour commencer, j'aimerai juste au moin savoir comment on affiche un tabpage en cliquant sur un bouton et en cliquant sur l'onglet

Merci ^

  • 2 semaines après...
Posté(e)

Je suis pas sur d'avoir bien compris la question, donc je resume : en gros, tu as 2 (ou plus) tabcontrols tabControl1 et tabControl2, avec chacun plusieurs pages, et tu voudrais que quand on sélectionne la page 1 de tabControl1 ca selectionne la page 1 de tabControl2 ?

Dans ce cas c'est tout simple, il faut utiliser l'évènement SelectedIndexChanged et la propriété SelectedIndex :

private void tabControl1_SelectedIndexChanged(object sender, EventArgs e)

{

tabControl2.SelectedIndex = tabControl1.SelectedIndex;

}

private void tabControl2_SelectedIndexChanged(object sender, EventArgs e)

{

tabControl1.SelectedIndex = tabControl2.SelectedIndex;

}

Je sais pas si c'est tout à fait ça que tu cherchais, mais ça te montre au moins comment automatiser le choix de telle ou telle page.

Archivé

Ce sujet est désormais archivé et ne peut plus recevoir de nouvelles réponses.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.