Click here to Skip to main content
15,888,527 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: change child form control property at runtime using vb.net 2003 Pin
Parwej Ahamad3-Sep-07 0:20
professionalParwej Ahamad3-Sep-07 0:20 
GeneralRe: change child form control property at runtime using vb.net 2003 Pin
d_smit3-Sep-07 0:38
d_smit3-Sep-07 0:38 
GeneralRe: change child form control property at runtime using vb.net 2003 [modified] Pin
Parwej Ahamad3-Sep-07 0:53
professionalParwej Ahamad3-Sep-07 0:53 
QuestionTablestyle Mapping Name ? Pin
Sachin Gokhale2-Sep-07 21:50
Sachin Gokhale2-Sep-07 21:50 
QuestionGet element from Arraylist Pin
nimolZero2-Sep-07 21:17
nimolZero2-Sep-07 21:17 
AnswerRe: Get element from Arraylist Pin
_mubashir2-Sep-07 23:56
_mubashir2-Sep-07 23:56 
QuestionMake child form label invisible Pin
d_smit2-Sep-07 20:50
d_smit2-Sep-07 20:50 
AnswerRe: Make child form label invisible Pin
Tom Deketelaere3-Sep-07 0:08
professionalTom Deketelaere3-Sep-07 0:08 
I think you might be making things a bit to complicated.

This is how I would do it:

in the mdi set a property (shared one) to true or false (for further referance: b1)
then when you open the child forms in the contstructor (or load) check this property and set you're controls to visible or not.

child.label1.visible= mdi.b1(shared property)
...

if you also need to change the visibility of you're child forms while they already exist you can run thru them everytime the property is set:

public property b1 as boolean
get
return ...
end get
set (value as boolean)
for each frm as form in mdi.MdiChildren
if frm.gettype.equals(gettype(frmsearch)) then
dim f as form = frm
f.label1.visible = 'true or false
end if
next
end set

hope this helps

If my help was helpfull let me know, if not let me know why.

The only way we learn is by making mistaks.

Questionserial number in vs.net 2005 Pin
himanshu p taunk2-Sep-07 20:31
himanshu p taunk2-Sep-07 20:31 
AnswerRe: serial number in vs.net 2005 Pin
Paul Conrad9-Sep-07 7:42
professionalPaul Conrad9-Sep-07 7:42 
QuestionHow to load and unload DLL or Plugins in VB.NET2005? Pin
rattlesnake3162-Sep-07 17:14
rattlesnake3162-Sep-07 17:14 
AnswerRe: How to load and unload DLL or Plugins in VB.NET2005? Pin
originSH3-Sep-07 0:02
originSH3-Sep-07 0:02 
QuestionDatagrid Relationship Pin
alzaabi20xx2-Sep-07 12:27
alzaabi20xx2-Sep-07 12:27 
AnswerRe: Datagrid Relationship Pin
Vimalsoft(Pty) Ltd2-Sep-07 21:15
professionalVimalsoft(Pty) Ltd2-Sep-07 21:15 
GeneralRe: Datagrid Relationship Pin
alzaabi20xx3-Sep-07 9:37
alzaabi20xx3-Sep-07 9:37 
GeneralRe: Datagrid Relationship Pin
Vimalsoft(Pty) Ltd3-Sep-07 20:42
professionalVimalsoft(Pty) Ltd3-Sep-07 20:42 
GeneralRe: Datagrid Relationship Pin
alzaabi20xx3-Sep-07 21:58
alzaabi20xx3-Sep-07 21:58 
GeneralRe: Datagrid Relationship Pin
Vimalsoft(Pty) Ltd3-Sep-07 22:22
professionalVimalsoft(Pty) Ltd3-Sep-07 22:22 
GeneralRe: Datagrid Relationship Pin
alzaabi20xx4-Sep-07 4:13
alzaabi20xx4-Sep-07 4:13 
GeneralRe: Datagrid Relationship Pin
Vimalsoft(Pty) Ltd4-Sep-07 4:22
professionalVimalsoft(Pty) Ltd4-Sep-07 4:22 
GeneralRe: Datagrid Relationship Pin
Vimalsoft(Pty) Ltd4-Sep-07 21:14
professionalVimalsoft(Pty) Ltd4-Sep-07 21:14 
GeneralRe: Datagrid Relationship Pin
alzaabi20xx4-Sep-07 23:57
alzaabi20xx4-Sep-07 23:57 
GeneralRe: Datagrid Relationship Pin
Vimalsoft(Pty) Ltd5-Sep-07 0:07
professionalVimalsoft(Pty) Ltd5-Sep-07 0:07 
QuestionInvoke event inside Flash ActiveX in VB Pin
sunco2-Sep-07 10:06
sunco2-Sep-07 10:06 
AnswerRe: Invoke event inside Flash ActiveX in VB Pin
Dave Kreskowiak3-Sep-07 4:36
mveDave Kreskowiak3-Sep-07 4:36 

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.