Click here to Skip to main content
15,916,945 members
Home / Discussions / Visual Basic
   

Visual Basic

 
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 
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 
hello

i tried the second approach i gave the tag values of each combobox in tabpage to '0' at design time..

Sub fill(ByVal tbcon As TabControl)

       Dim cnt As Control
       For Each cnt In tbcon.Controls

           If TypeOf cnt Is ComboBox Then
               Select Case Tag
                   Case 0
                       cnt.Items.Add("NP")
                       cnt.Items.Add("ND")
                       cnt.Items.Add("FP")
                       cnt.Items.Add("FD")
               End Select
           End If


       Next
   End Sub


but this shows the syntax error like

'item is no the member of 'system.windows.forms.controls'
please help....
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 
AnswerRe: Deleting Coresponding Row(s) Pin
JustinRiggs9-May-09 12:49
JustinRiggs9-May-09 12:49 
QuestionThreading Problem Pin
DarkSorrow389-May-09 5:44
DarkSorrow389-May-09 5:44 
GeneralRe: Threading Problem Pin
harold aptroot9-May-09 6:13
harold aptroot9-May-09 6:13 

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.