User Profile

Collapse

Profile Sidebar

Collapse
bbacher
bbacher
Last Activity: Jan 31 '12, 03:47 PM
Joined: Jan 30 '12
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Now I get it! NeoPa's linked article confused me before because I wasn't thinking of the forms on the tab control as subforms. Now that I re-read the article it makes a lot more sense.

    Thanks again.
    See more | Go to post

    Leave a comment:


  • Thank you both. That clarifies a lot.

    One more question: When the main form is open, are the subforms (the forms on the tab control) also considered 'open'?

    One of the options I tried early on gave me an error saying that I couldn't reference controls on the projects form unless it was open.
    See more | Go to post

    Leave a comment:


  • So, from a syntax standpoint, I should just consider the two tabbed forms as if they were subforms on the main form?

    Code:
    Instead of this:
    Main form
      |-- tab ctrl
            |--- form1
            |--- form2
    
    
    I should think this?
    Main form
      |--- subform1
      |--- subform2
    See more | Go to post

    Leave a comment:


  • Thanks, everyone. Stewart's answer did the trick: Form_frmProject s.PublicSubName

    NeoPa, I couldn't get your syntax to work - that's similar to the other things I tried before coming here (which also didn't work). I've done that sort of thing many times before, but never when the forms are on a tab control. I think the tab control confuses the syntax somehow. In the past I've emulated a tab control just by having buttons on the forms...
    See more | Go to post

    Leave a comment:


  • how to call subs on another form in the same tab control?

    I have a form 'frmHome'. It has a tab control 'tabCtrl'. The tab control has two forms: 'frmContacts' and 'frmProjects'.

    On the contacts form I can see the projects a person is involved with. On the Projects form I can see the people associated with a project.

    I want to dbl-click on a project from the contacts form, and have it take me to that project on the projects form. I want to similarly click a person on...
    See more | Go to post
No activity results to display
Show More
Working...