Results 1 to 3 of 3
  1. #1
    Join Date
    Sep 2005
    Posts
    313

    Unanswered: put the message at the center

    Hi,

    msgbox "Welcome!" & vbcrlf & "Thank You"

    I want to put that message in the center of the box. because it shows at the left side of the box, like that

    Welcome
    Thank You

    I want to change like that
    _____________Welcome
    ____________Thank You

    Please let me know, thanks.

  2. #2
    Join Date
    Mar 2003
    Location
    The Bottom of The Barrel
    Posts
    6,102
    Provided Answers: 1
    The easiest way to do this is by far is a custom form.
    oh yeah... documentation... I have heard of that.

    *** What Do You Want In The MS Access Forum? ***

  3. #3
    Join Date
    Nov 2004
    Location
    out on a limb
    Posts
    13,692
    Provided Answers: 59
    The easiest way to handle this is to leave well alone. Why fiddle the standard system interface that users get to know and love using Office products.

    I suppose you could pad the text with lots of spaces, of course you would have to change the number of spaces for each screen resolution. You would have to find out what font size the user is using. Hey you could even write a custom function make it available to all people on this forum. Might take a few weeks / months / yearrs of hard work though.

    Of course you could always have a splash form which opens very breifly and then loads the main application. have a look inthe help system on how to open a form, then open another form and close the original. look for timer events (that could contorl the amount of time your splash screen is displayed)

    offhand its soemthing like
    Private Sub Form_Timer()
    DoCmd.OpenForm "<myMainformname>"
    DoCmd.Close acForm, "<mysplashform>"
    End Sub

Posting Permissions

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