+ Reply to Thread
Results 1 to 3 of 3

How to open a POP UP form of specified size

  1. #1
    J.wills
    Guest

    How to open a POP UP form of specified size

    Hi,

    On start up I disable all toolbars and command bars.

    Thus my "base forms" open (Maximised) with a simple border and nothing else (other than the minimise, restore and

    close buttons in the top right corner). (everything else is disabled)

    I have a "new form" which opens on top of these "base forms". This form is a POP UP and I do NOT want it to have borders.

    I would like this "new form" to open up to exactly the same size as the "base form". Meaning that the users sees the "new form" except that the border is from the form underneath.

    I can force this to happen by setting/dragging the new form (in design view) to a certain size which is perfect for my screen resolution. But if the screen resoltuion changes then my "base form" maximises to the full screen, but my new form does not change size.

    So my question is how can I dynamically resize this pop up.

    I realise that I am probably going to have to use API calls and get the "base form" size but can someone point me at least in the right direction.

  2. #2
    Registered User
    Join Date
    02-26-2009
    Location
    India
    MS-Off Ver
    Access
    Posts
    46

    Re: How to open a POP UP form of specified size

    Hi,



    To create a command button that, when clicked, will pop open the necessary form, follow these steps:

    1. Open the Order Entry form in design mode.
    2. Click the Command Button tool on the toolbox and click and drag it to insert the command button control on the Order Entry form.
    3. Right-click the command button and select Properties.
    4. Under the Format tab, change the caption to E-mail Address.
    5. Select the Event tab, click the On-Click Property's drop-down menu, and then select Event Procedure.
    6. Click the On-Click Property's Build button.
    7. Enter the following command at the prompt:

    DoCmd.OpenForm "Customer E-mail Addresses"

    8. Press [Alt][Q].

  3. #3
    Forum Administrator ExlGuru's Avatar
    Join Date
    03-17-2009
    Location
    India
    MS-Off Ver
    2003,2007
    Posts
    222

    Re: How to open a POP UP form of specified size

    Try this:

    Please Login or Register  to view this content.
    ExlGuru

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1