Click here to Skip to main content
15,902,114 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: graphics Pin
TheMrProgrammer11-May-09 4:24
TheMrProgrammer11-May-09 4:24 
GeneralRe: graphics Pin
Henry Minute11-May-09 4:27
Henry Minute11-May-09 4:27 
Questionproblem with combobox in tabcontrol Pin
nazimghori9-May-09 17:29
nazimghori9-May-09 17:29 
AnswerRe: problem with combobox in tabcontrol Pin
Dave Kreskowiak9-May-09 19:26
mveDave Kreskowiak9-May-09 19:26 
JokeRe: problem with combobox in tabcontrol Pin
Mycroft Holmes9-May-09 21:26
professionalMycroft Holmes9-May-09 21:26 
QuestionRe: problem with combobox in tabcontrol Pin
nazimghori9-May-09 21:33
nazimghori9-May-09 21:33 
AnswerRe: problem with combobox in tabcontrol [modified] Pin
Dave Kreskowiak10-May-09 6:10
mveDave Kreskowiak10-May-09 6:10 
AnswerRe: problem with combobox in tabcontrol [modified] Pin
Luc Pattyn10-May-09 0:28
sitebuilderLuc Pattyn10-May-09 0:28 
There are several approaches possible:

1.
create a ComboBox array or collection (a generic list), copy a reference to each of the comboboxes in the list once (say in your form load handler), then do a foreach over that array every time you need to.

2.
assuming there is only the one combobox on every tab page, execute the following pseudocode:
foreach tabpage in tabcontrol
    foreach control in tabpage
        if control is combobox  (skipping the other controls, e.g. buttons)
            do what needs to be done


Smile | :)

Luc Pattyn [Forum Guidelines] [My Articles]

The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Show formatted code inside PRE tags, and give clear symptoms when describing a problem.

modified on Sunday, May 10, 2009 8:03 AM

QuestionRe: problem with combobox in tabcontrol Pin
nazimghori10-May-09 1:43
nazimghori10-May-09 1:43 
AnswerRe: problem with combobox in tabcontrol Pin
Luc Pattyn10-May-09 2:05
sitebuilderLuc Pattyn10-May-09 2:05 
QuestionRe: problem with combobox in tabcontrol Pin
nazimghori10-May-09 17:38
nazimghori10-May-09 17:38 
AnswerRe: problem with combobox in tabcontrol Pin
Luc Pattyn11-May-09 1:11
sitebuilderLuc Pattyn11-May-09 1:11 
AnswerRe: problem with combobox in tabcontrol Pin
DidiKunz12-May-09 22:22
DidiKunz12-May-09 22:22 
AnswerRe: problem with combobox in tabcontrol Pin
nazimghori10-May-09 19:33
nazimghori10-May-09 19:33 
QuestionRe: problem with combobox in tabcontrol Pin
nazimghori10-May-09 19:39
nazimghori10-May-09 19:39 
AnswerRe: problem with combobox in tabcontrol Pin
Andy_L_J10-May-09 22:13
Andy_L_J10-May-09 22:13 
QuestionRe: problem with combobox in tabcontrol Pin
nazimghori10-May-09 22:21
nazimghori10-May-09 22:21 
QuestionVB help please! Pin
tommyjay9-May-09 10:57
tommyjay9-May-09 10:57 
AnswerRe: VB help please! Pin
Christian Graus9-May-09 11:05
protectorChristian Graus9-May-09 11:05 
AnswerRe: VB help please! Pin
Colin Angus Mackay9-May-09 13:22
Colin Angus Mackay9-May-09 13:22 
GeneralRe: VB help please! Pin
EliottA11-May-09 2:51
EliottA11-May-09 2:51 
QuestionDeleting Coresponding Row(s) Pin
JustinRiggs9-May-09 9:49
JustinRiggs9-May-09 9:49 
AnswerRe: Deleting Coresponding Row(s) Pin
Henry Minute9-May-09 10:05
Henry Minute9-May-09 10:05 
GeneralRe: Deleting Coresponding Row(s) Pin
JustinRiggs9-May-09 10:26
JustinRiggs9-May-09 10:26 
GeneralRe: Deleting Coresponding Row(s) Pin
Noctris10-May-09 12:23
Noctris10-May-09 12:23 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.