Results 1 to 4 of 4
  1. #1
    Join Date
    May 2004
    Posts
    80

    Unanswered: Run form as pop-up?

    How can I run a form in pop-up mode by using a basic toggle button in an existing form? By this I mean being able to define the width, height, screen location etc of the pop-up form.

  2. #2
    Join Date
    Dec 2003
    Location
    Dallas, TX
    Posts
    1,004
    Quote Originally Posted by graceadair
    How can I run a form in pop-up mode by using a basic toggle button in an existing form? By this I mean being able to define the width, height, screen location etc of the pop-up form.
    Hi graceadair,

    Just create the form you wish to be a PopUp form and size it how you wish. Then set the PopUp to YES on the OtherTab. On the CommandButton you create direct it to OpenForm and direct it to that form. That's all there is to it.

    see ya again later,
    Bud

  3. #3
    Join Date
    May 2004
    Posts
    65
    Your button on say "FormA" opens "FormB"
    Once FormB is open you can then set the variables of that form. For example:

    (In the OnClick procedure of FormA)

    docmd.openform "FormB"

    Forms!FormB.windowleft = 300
    Forms!FormB.popup = True
    Forms!FormB.width = 1500

    (By the way the values 300 and 1500 - Im only guessing)

  4. #4
    Join Date
    May 2004
    Location
    Moscow, Russia
    Posts
    29

    my sample of this

    This sample use popup form which similar datepicker control


    download access 2000 and above mdb in RAR (65 kb)


    this sample developed by group of programmers from www.sql.ru
    welcome ))

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •