Click here to Skip to main content
15,914,386 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: retrieve the salt from a mysql database for a password. Pin
Luc Pattyn11-Jul-10 13:42
sitebuilderLuc Pattyn11-Jul-10 13:42 
GeneralRe: retrieve the salt from a mysql database for a password. Pin
DaveAuld13-Jul-10 7:57
professionalDaveAuld13-Jul-10 7:57 
QuestionFile copy performance... one more time Pin
Sonhospa11-Jul-10 2:02
Sonhospa11-Jul-10 2:02 
AnswerRe: File copy performance... one more time Pin
Luc Pattyn11-Jul-10 11:01
sitebuilderLuc Pattyn11-Jul-10 11:01 
GeneralRe: File copy performance... one more time Pin
Sonhospa11-Jul-10 12:35
Sonhospa11-Jul-10 12:35 
GeneralRe: File copy performance... one more time Pin
Luc Pattyn11-Jul-10 12:51
sitebuilderLuc Pattyn11-Jul-10 12:51 
QuestionAny way to access Parent Form From a class? Pin
Аslam Iqbal9-Jul-10 21:47
professionalАslam Iqbal9-Jul-10 21:47 
AnswerRe: Any way to access Parent Form From a class? Pin
Luc Pattyn9-Jul-10 22:36
sitebuilderLuc Pattyn9-Jul-10 22:36 
Hi,

each WinForms Control has a Parent property. It gets set when the Control is added to its parent's Controls collection, which cannot happen until after its constructor finishes. Hence, no you can't predict its future parent inside its constructor, but you will get it for free later on.

If the Controls get added in Visual Designer, their parent will have been set at the time your Form loads (use the Form.Load event). If you don't know when the parent is going to be set (e.g. because all things happen dynamically), then you could use the Control.ParentChanged event to your advantage.

Smile | :)
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles] Nil Volentibus Arduum
Please use <PRE> tags for code snippets, they preserve indentation, and improve readability.


GeneralRe: Any way to access Parent Form From a class? Pin
Аslam Iqbal10-Jul-10 5:03
professionalАslam Iqbal10-Jul-10 5:03 
GeneralRe: Any way to access Parent Form From a class? Pin
darkelv10-Jul-10 18:45
darkelv10-Jul-10 18:45 
QuestionGet name in FlowLayoutPanel child control Pin
ivo759-Jul-10 4:38
ivo759-Jul-10 4:38 
AnswerRe: Get name in FlowLayoutPanel child control Pin
Dave Kreskowiak9-Jul-10 9:41
mveDave Kreskowiak9-Jul-10 9:41 
GeneralRe: Get name in FlowLayoutPanel child control Pin
ivo759-Jul-10 11:47
ivo759-Jul-10 11:47 
AnswerRe: Get name in FlowLayoutPanel child control Pin
Luc Pattyn9-Jul-10 10:11
sitebuilderLuc Pattyn9-Jul-10 10:11 
QuestionComboBox help Pin
RyJaBy8-Jul-10 3:33
RyJaBy8-Jul-10 3:33 
AnswerRe: ComboBox help PinPopular
Wayne Gaylard8-Jul-10 4:24
professionalWayne Gaylard8-Jul-10 4:24 
GeneralRe: ComboBox help Pin
RyJaBy8-Jul-10 4:34
RyJaBy8-Jul-10 4:34 
AnswerRe: ComboBox help Pin
Scubapro8-Jul-10 4:27
Scubapro8-Jul-10 4:27 
GeneralRe: ComboBox help Pin
RyJaBy8-Jul-10 4:34
RyJaBy8-Jul-10 4:34 
AnswerRe: ComboBox help Pin
Luc Pattyn8-Jul-10 8:15
sitebuilderLuc Pattyn8-Jul-10 8:15 
GeneralRe: ComboBox help Pin
Scubapro8-Jul-10 20:17
Scubapro8-Jul-10 20:17 
AnswerRe: ComboBox help Pin
programmervb.netc++11-Jul-10 18:29
programmervb.netc++11-Jul-10 18:29 
GeneralRe: ComboBox help Pin
Scubapro13-Jul-10 3:56
Scubapro13-Jul-10 3:56 
AnswerRe: ComboBox help Pin
Neville Nazerane20-Jul-10 2:37
Neville Nazerane20-Jul-10 2:37 
QuestionHow to Fill Color in Outer Area Of ARC Pin
Anubhava Dimri8-Jul-10 2:21
Anubhava Dimri8-Jul-10 2:21 

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.