changing stuff in your main form from another form 
Author Message
 changing stuff in your main form from another form

Hi,

I'm trying to change the "enabled" from a menuItem from another form I
called from the main form. But since I didn't make the main form, I have no
idea of how to refer to it. The form is called frmMain, but referring to it
as  frmMain.menuItem3.Enabled doesn't work, and using the autofill gets me
up to frmMain.ActiveForm.Menu.MenuItem3.enabled and of course that doesn't
work either. Anyone have an idea?

TIA

greetz
<T!M> aka wEEdpEckEr



Sun, 02 Oct 2005 03:51:40 GMT  
 changing stuff in your main form from another form
Hello,


Quote:
> I'm trying to change the "enabled" from a menuItem from
> another form I  called from the main form. But since I
> didn't make the main form, I have no

Google Groups search:

http://makeashorterlink.com/?Z19743934

Regards,
Herfried K. Wagner



Sun, 02 Oct 2005 05:26:12 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. how to change properties of the main form from a another form

2. How to change caption on a sub from text on main form

3. Unhandled exception in system.windows.forms.dll (in my main form) - argh

4. Help altering main form from other forms

5. maximize child form display multiple tool box controls on main form

6. create main form and Sub Form

7. Forms on top of Main Form

8. VB3: modal form gets hidden by main MDI form in Win98

9. How to auto size the main form/ MDI form

10. adding controls from other forms to main form

11. create Main Form Sub form in VB6

12. How to switch Main form to other form?

 

 
Powered by phpBB® Forum Software