prob with menu item

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • badri narayanan
    New Member
    • Dec 2010
    • 1

    #1

    prob with menu item

    hi my requirement is that i have got two forms. In form1 i got a menu item which should be checked when clicked..and form2 should be loaded.when i close form2 the tick in menuitem of form1 should go off.
    the prob is tat the tick in menuitem of form1 is not going off after i close form2. I tried with form2.visible and even isformloaded methods.please help me
  • Guido Geurs
    Recognized Expert Contributor
    • Oct 2009
    • 767

    #2
    use in form1:

    Code:
    Private Sub CLICK_Click()
       Form2.Show
    End Sub
    form2: (CLICK is the menu item name)

    Code:
    Private Sub Form_Unload(Cancel As Integer)
       Form1.CLICK.Checked = False
    End Sub

    Comment

    Working...