Bonjour,
Débutant en VB.Net, je me trouve devant un souci. Au taf, une solution
d'appli par onglet a été retenue...et sur qui ça tombe...sur kiki !
Bref voici mon souci :
J'ai une form contenant un tabControl ( TBC1 )
Ce TBC1 comporte n tabPages (TBP1,2,3,...)
Pour chaque TBPn, j'ai définit une série de contrôles bien précis (
regroupé dans des usercontroles ( un par TBP ).
Mon soucis est de faire communiquer tous les TBP.
Ex :
Dans TBP1, un liste de valeur permet de sélectionner un utilisateur.
Après clique sur bouton détail, je voudrai que le TBP2 ( qui
représente une fiche utilisateur ) soit reseigné et s'affiche à
l'écran...
Je ne sais pas si j'ai été assez clair, mais en résumé voici la
question :
"Comment faire communiquer entre eux des UserControls inclut dans des
TabPages différents ?"
Merci d'avance pour votre aide
Mail_taf 1 2421
Chris,
Please do it in English, this are international newsgroups where is written
English,
(And because it is international most people do not notice your writting
errors)
To select a tabpage is quiet easy, just set the selectedindex from the
tabpage or the name of the selectedtab
The controls from your tabpages belong as well to your formclass, so that
cannot be a problem.
Be aware that the tabpage has a bug which makes that it rearange. For fixing
that is the best way to remove and add it everytime to the underlying
tabcontrol.
A better newsgroup for your VBNet problems is in my opinion the newsgroup
microsoft.public.dotnet.languages.vb
I hope this helps?
Cor
"ChrisK" <ma******@yahoo.fr> Bonjour,
Débutant en VB.Net, je me trouve devant un souci. Au taf, une solution d'appli par onglet a été retenue...et sur qui ça tombe...sur kiki !
Bref voici mon souci : J'ai une form contenant un tabControl ( TBC1 ) Ce TBC1 comporte n tabPages (TBP1,2,3,...) Pour chaque TBPn, j'ai définit une série de contrôles bien précis ( regroupé dans des usercontroles ( un par TBP ).
Mon soucis est de faire communiquer tous les TBP. Ex :
Dans TBP1, un liste de valeur permet de sélectionner un utilisateur. Après clique sur bouton détail, je voudrai que le TBP2 ( qui représente une fiche utilisateur ) soit reseigné et s'affiche à l'écran...
Je ne sais pas si j'ai été assez clair, mais en résumé voici la question : "Comment faire communiquer entre eux des UserControls inclut dans des TabPages différents ?"
Merci d'avance pour votre aide
Mail_taf This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: ChrisK |
last post by:
Bonjour,
Débutant en VB.Net, je me trouve devant un souci. Au taf, une solution
d'appli par onglet a été retenue...et sur qui ça tombe...sur kiki !
Bref voici mon souci :
J'ai une form contenant un tabControl ( TBC1 )
Ce TBC1 comporte n tabPages (TBP1,2,3,...)
Pour chaque TBPn, j'ai définit une série de contrôles bien précis (
regroupé...
|
by: RA |
last post by:
Hi
1) I want to create a TabPage class in design mode - how do I do it? What
type of project should I use? Is it going to be a custom control?
2) I have a TabControl that I would like to add to it the TabPage created in
step 1. I don't want to draw the TabPage on the Tabcontrol in design mode,
but to have a few TabPage controls that I...
|
by: Richard |
last post by:
Hi,
Simple tabcontrol question:
I have a tab control with a number of tabpages on it. What I want is to
show a particular tabpage when I click a button that is not on the
tabcontrol. Can anyone tell me how I would code this?
Thanks
Richard
|
by: Michael Turner |
last post by:
Hi Guys
Having problem with the tab control, I need to set the background color to
something different than the standard, I have found code on the web and now
can redraw the tabpage buttons so the are set to the right color, I can
obviously change the tabpage colour but I am left with a grey top edge(Where
there are no buttons) when the...
|
by: ChrisK |
last post by:
Hi,
I'm beginner with VB.net and i have a trouble... At work, they decided
to program with tabcontrol...and i'mm in charge of this !
There is my problem.
I've a form with one tabcontrol (TBC1 ). This TBC1 contents n TabPages
( TBP1,2,3,..,n)
For each TBPn i 've got an specific usercontrol which have controls
and code ( data access, ......
| |
by: scorpion53061 |
last post by:
I am trying to be able to share a groupbox and its related controls
among all of my tab pages.
This does not error but the controls do not appear either.
Thank you for your help!!
Private Sub TabControl1_TabIndexChanged(ByVal sender As Object, ByVal e
|
by: Sagaert Johan |
last post by:
I have a tabcontrol whith on one of the tabpages a custom control
(mycontrol) derived from UserControl.
When i call the tabcontrol.TabPages.Clear() , the mycontrol OnLoad events
gets called . Why ?
How can i avoid this ?
Johan
|
by: Kevin |
last post by:
Although lots of people described how to workaround the lack of ability
to hide and show tab pages on a tab control, I couldnt find a code
example so I made one. Create a class that inherits from the
tabcontrol and then add the following
Private htVisibleVal As New Hashtable
Private htVisibleKey As New Hashtable
Private htInvisibleKey As...
|
by: =?Utf-8?B?TWFydGluIw==?= |
last post by:
Hello everybody!
Please note that I have posted same question in different forums with no
success. So If you tried to help me there, please do not consider the repost
as rude!
I'm working on an application which has UserControls (GUI pages) with
TabControls on it.
This TabControls are Usercontrols derived from Windows.Forms.TabControl....
|
by: Gav |
last post by:
I am writing an application where I will have a TabControl and 3 styles of
Tabs to go in it, each containing different controls. The tabs will be added
to the tabcontrol when items are clicked on in a TreeView. So the the
application starts by displaying no tabs and adds them in as required. There
could be any number of each tab (0 upwards).
...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...
| | |