Results 1 to 8 of 8
  1. #1
    5 Star Lounger
    Join Date
    Jan 2001
    Posts
    1,119
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Splash Screen (2000)

    In a form used as a Splash screen, how do you remove the blue heading where the caption and the close/min/max buttons are displayed. I see splash screens and switchboards that don't display this but I can't seem to find a property that does this.

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Splash Screen (2000)

    Set the Border Style property of the form to None. You may want to put a box in the detail section that nearly touches the borders, otherwise your splash screen may look strange. And you will have to close the form in code after a limited number of seconds, or provide an easy way to close it (a Close command button, or close the form when the user clicks inside the form), for otherwise the user will have to remember the Ctrl+F4 shortcut to close it, since there is no x in the upper right corner.

  3. #3
    5 Star Lounger
    Join Date
    Jan 2001
    Posts
    1,119
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Splash Screen (2000)

    I do have the Border Style property of the form to None and when I open it within the database it doesn't show but when I close the database and open it again - the blue line is still at the top. I took out the caption but it just defaults to another caption. The close/min/max buttons are gone but the blue line with a default caption is still there.

  4. #4
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Splash Screen (2000)

    Do you open the form with a macro, and if so, have you set the Window Mode argument of the OpenForm action to Dialog? Or do you open the form in code, with acDialog as the WindowMode argument of DoCmd.OpenForm? The Dialog / acDialog setting overrules the Border Style setting!

  5. #5
    5 Star Lounger
    Join Date
    Jan 2001
    Posts
    1,119
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Splash Screen (2000)

    I use the following on Activate and Timer

    Private Sub Form_Activate()
    DoCmd.Restore
    End Sub

    Private Sub Form_Timer()
    Dim stDocName As String
    stDocName = "Switchboard"
    DoCmd.Close acForm, Me.Name
    DoCmd.OpenForm stDocName

    End Sub

    I also opened a Form Header on the form.

  6. #6
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Splash Screen (2000)

    OK, thanks, but how is the splash screen opened?

  7. #7
    5 Star Lounger
    Join Date
    Jan 2001
    Posts
    1,119
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Splash Screen (2000)

    I have an autoexec macro. I see a field Windows Mode that is equal to dialog....

  8. #8
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Splash Screen (2000)

    So that is the explanation. Set the Window Mode for the OpenForm action in the macro to Normal. If you want to prevent the user from clicking outside the splash form, you can set its Modal property to Yes.

Posting Permissions

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