Click here to Skip to main content
15,913,773 members
Home / Discussions / Visual Basic
   

Visual Basic

 
QuestionConverting Ascii Hex IEEE Float Pin
Ronny_K22-May-06 10:22
Ronny_K22-May-06 10:22 
AnswerRe: Converting Ascii Hex IEEE Float [modified] Pin
Guffa22-May-06 11:33
Guffa22-May-06 11:33 
AnswerRe: Converting Ascii Hex IEEE Float Pin
Joshua Quick22-May-06 15:20
Joshua Quick22-May-06 15:20 
QuestionCan a timer be started as a thread and execute with KeyDown? Pin
KaKa'22-May-06 5:54
KaKa'22-May-06 5:54 
AnswerRe: Can a timer be started as a thread and execute with KeyDown? Pin
Leeland23-May-06 3:45
Leeland23-May-06 3:45 
Questionruntime shapes Pin
antonaras22-May-06 5:05
antonaras22-May-06 5:05 
QuestionHelp: Control loops & properties in VB .Net 2005 Pin
Sugan V22-May-06 2:46
Sugan V22-May-06 2:46 
AnswerRe: Help: Control loops & properties in VB .Net 2005 [modified] Pin
sathish s22-May-06 3:30
sathish s22-May-06 3:30 
How do you loop through controls in a form
<br />
 For Each ct As Control In Me.Controls<br />
         MessageBox.Show(ct.GetType.ToString)         <br />
      Next


I suppose ctList and the SSTab are third party tools. so you need to create an object of ctList and SSTab to access their properties. Common properties of a control like background, name, etc can be accessed in above mentioned way. Properties like HeaderFont, ColoumnCount are specific to that Control.

So You need to create that particular object to access their properties. Here is an example, this is for the textbox and this should be same for SSTab and CtList, i guess.

For Each ct As Control In Me.Controls<br />
         MessageBox.Show(ct.GetType.ToString)<br />
         ct.BackColor = Color.AntiqueWhite<br />
         If ct.GetType.Name.Equals("TextBox") Then<br />
            Dim tb As TextBox 'here you can use SSTab or whatever <br />
            tb = ct<br />
            tb.BackColor = Color.Blue<br />
         End If<br />
      Next

QuestionCreate formatting toolbar Pin
thangkhonnan22-May-06 1:53
thangkhonnan22-May-06 1:53 
Questionwhat is assembly ?? Pin
Mohammed Amine22-May-06 1:40
Mohammed Amine22-May-06 1:40 
AnswerRe: what is assembly ?? Pin
Joshua Quick22-May-06 7:21
Joshua Quick22-May-06 7:21 
GeneralRe: what is assembly ?? Pin
Mohammed Amine22-May-06 11:17
Mohammed Amine22-May-06 11:17 
Questionhow to fill the Form1's controls From Form2's ones ? Pin
Mohammed Amine22-May-06 1:32
Mohammed Amine22-May-06 1:32 
AnswerRe: how to fill the Form1's controls From Form2's ones ? Pin
Joshua Quick22-May-06 7:42
Joshua Quick22-May-06 7:42 
QuestionHOWTO: make child controls scroll inside a container? Pin
batmike200021-May-06 23:54
batmike200021-May-06 23:54 
Questioncombobox selecteditem [modified] Pin
amilapradeep21-May-06 23:51
amilapradeep21-May-06 23:51 
QuestionHow to show the form in this case? Pin
cylix200021-May-06 23:35
cylix200021-May-06 23:35 
AnswerRe: How to show the form in this case? Pin
batmike200021-May-06 23:59
batmike200021-May-06 23:59 
Questioncode for delete Pin
SwatiPathania21-May-06 22:50
SwatiPathania21-May-06 22:50 
GeneralRe: code for delete Pin
_AK_22-May-06 1:14
_AK_22-May-06 1:14 
AnswerRe: code for delete Pin
Mohammed Amine22-May-06 1:23
Mohammed Amine22-May-06 1:23 
GeneralRe: code for delete Pin
Colin Angus Mackay22-May-06 1:37
Colin Angus Mackay22-May-06 1:37 
GeneralRe: code for delete Pin
Mohammed Amine22-May-06 1:49
Mohammed Amine22-May-06 1:49 
GeneralRe: code for delete Pin
Colin Angus Mackay22-May-06 1:57
Colin Angus Mackay22-May-06 1:57 
GeneralRe: code for delete Pin
Mohammed Amine22-May-06 2:00
Mohammed Amine22-May-06 2:00 

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.