Hello!
I'm using VB.NET 2003 and application type is Windows Forms.
I have created into DataSet a table named as 'Teams' containing columns
(fields) ID, Team, and Description.
After that ComboBox (cboTeam) is populated using this 'Teams'-table like ...
cboTeam.DataSou rce = ds.Tables("Team s")
cboTeam.Display Member = "Team"
cboTeam.ValueMe mber = "ID"
cboTeam.DataBin dings.Add("Sele ctedValue", myTable, "TeamID")
.... and it's working fine.
Anyway I would like to show 'Teams'-table 'Description'-field as ToolTip for
the user when mousepointer is on the cboTeam or user just selected new team,
because Team is just an abbreviation. How to do this?
Second question: why ComboBoxes are not changing arrearance to XP-Styles
althought other UI Components does when I use the following code in my Sub
Main ...
System.Windows. Forms.Applicati on.EnableVisual Styles()
Application.DoE vents()
System.Windows. Forms.Applicati on.Run(New frmMain)
--
Thanks in advance!
Mika
I'm using VB.NET 2003 and application type is Windows Forms.
I have created into DataSet a table named as 'Teams' containing columns
(fields) ID, Team, and Description.
After that ComboBox (cboTeam) is populated using this 'Teams'-table like ...
cboTeam.DataSou rce = ds.Tables("Team s")
cboTeam.Display Member = "Team"
cboTeam.ValueMe mber = "ID"
cboTeam.DataBin dings.Add("Sele ctedValue", myTable, "TeamID")
.... and it's working fine.
Anyway I would like to show 'Teams'-table 'Description'-field as ToolTip for
the user when mousepointer is on the cboTeam or user just selected new team,
because Team is just an abbreviation. How to do this?
Second question: why ComboBoxes are not changing arrearance to XP-Styles
althought other UI Components does when I use the following code in my Sub
Main ...
System.Windows. Forms.Applicati on.EnableVisual Styles()
Application.DoE vents()
System.Windows. Forms.Applicati on.Run(New frmMain)
--
Thanks in advance!
Mika
Comment