Click here to Skip to main content
15,922,166 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Basic Question: String declaration with "child values" Pin
Guffa2-Sep-06 13:06
Guffa2-Sep-06 13:06 
GeneralRe: Basic Question: String declaration with "child values" Pin
re infecta2-Sep-06 13:37
re infecta2-Sep-06 13:37 
AnswerRe: Basic Question: String declaration with "child values" Pin
Guffa2-Sep-06 15:58
Guffa2-Sep-06 15:58 
GeneralRe: Basic Question: String declaration with "child values" Pin
re infecta2-Sep-06 21:39
re infecta2-Sep-06 21:39 
Questiondynamic setup preparation Pin
Pradip Kishore2-Sep-06 0:24
Pradip Kishore2-Sep-06 0:24 
QuestionBubble up User Control event Pin
FreQi1-Sep-06 15:57
FreQi1-Sep-06 15:57 
AnswerRe: Bubble up User Control event Pin
Dave Kreskowiak2-Sep-06 7:39
mveDave Kreskowiak2-Sep-06 7:39 
AnswerRe: Bubble up User Control event Pin
Davelister3-Sep-06 6:45
Davelister3-Sep-06 6:45 
In the user controls class add
Public event TextChanged(sender as object, e as event args)

Under the textboxs normal event handler

eg
<br />
private sub TextBox1_TextChanged(sender as object, e as event args) handles textbox1.TextChanged<br />
raiseevnt textchanged(sender,e) 'Add this line<br />
end sub<br />


Now when the text boxs text is changed the event TextChanged will be raised.


It would also be possible to change this to:
Public event TextChanged(TheTextBox as textbox, TheText as string)

and
<br />
private sub TextBox1_TextChanged(sender as object, e as event args) handles textbox1.TextChanged<br />
raiseevnt textchanged(TextBox1,Textbox1.text) 'Add this line<br />
end sub<br />


So now you can also see what the text is and access the text box.

This may be a little over complicated but I dont call myself an expert but I hope this helps.;)



I'm not dumb I just have a huge command of thouroughly usless infromation.

QuestionRe: Bubble up User Control event Pin
FreQi3-Sep-06 8:14
FreQi3-Sep-06 8:14 
QuestionRemoving items from CheckedListBox Pin
The ANZAC1-Sep-06 14:11
The ANZAC1-Sep-06 14:11 
AnswerRe: Removing items from CheckedListBox Pin
Davelister3-Sep-06 7:00
Davelister3-Sep-06 7:00 
GeneralRe: Removing items from CheckedListBox Pin
The ANZAC3-Sep-06 11:14
The ANZAC3-Sep-06 11:14 
GeneralRe: Removing items from CheckedListBox Pin
Davelister4-Sep-06 10:37
Davelister4-Sep-06 10:37 
QuestionDisable maximize on a transparent form Pin
re infecta1-Sep-06 12:25
re infecta1-Sep-06 12:25 
AnswerRe: Disable maximize on a transparent form Pin
Marek Grzenkowicz1-Sep-06 23:31
Marek Grzenkowicz1-Sep-06 23:31 
GeneralRe: Disable maximize on a transparent form Pin
re infecta2-Sep-06 0:07
re infecta2-Sep-06 0:07 
GeneralRe: Disable maximize on a transparent form Pin
re infecta3-Sep-06 0:36
re infecta3-Sep-06 0:36 
GeneralRe: Disable maximize on a transparent form Pin
Dave Kreskowiak3-Sep-06 1:55
mveDave Kreskowiak3-Sep-06 1:55 
GeneralRe: Disable maximize on a transparent form Pin
Dave Kreskowiak3-Sep-06 1:54
mveDave Kreskowiak3-Sep-06 1:54 
QuestionRe: Disable maximize on a transparent form Pin
Marek Grzenkowicz3-Sep-06 6:00
Marek Grzenkowicz3-Sep-06 6:00 
AnswerRe: Disable maximize on a transparent form Pin
re infecta3-Sep-06 7:19
re infecta3-Sep-06 7:19 
GeneralRe: Disable maximize on a transparent form Pin
Marek Grzenkowicz3-Sep-06 7:27
Marek Grzenkowicz3-Sep-06 7:27 
GeneralRe: Disable maximize on a transparent form Pin
Dave Sexton4-Sep-06 3:33
Dave Sexton4-Sep-06 3:33 
Question.exe?... VB.NET Pin
Aaron1281-Sep-06 11:50
Aaron1281-Sep-06 11:50 
AnswerRe: .exe?... VB.NET Pin
Coding C#1-Sep-06 21:57
Coding C#1-Sep-06 21:57 

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.