添加 窗体  选Splash屏幕

解决方案 »

  1.   

    或   该窗体 的属性  BorderStyle=0
      

  2.   

    '把下面的保存为 aa.frm
    VERSION 5.00
    Begin VB.Form Form1 
       BorderStyle     =   0  'None
       Caption         =   "Form1"
       ClientHeight    =   3195
       ClientLeft      =   0
       ClientTop       =   0
       ClientWidth     =   4680
       LinkTopic       =   "Form1"
       MaxButton       =   0   'False
       MinButton       =   0   'False
       ScaleHeight     =   3195
       ScaleWidth      =   4680
       ShowInTaskbar   =   0   'False
       StartUpPosition =   3  'Windows Default
    End
    Attribute VB_Name = "Form1"
    Attribute VB_GlobalNameSpace = False
    Attribute VB_Creatable = False
    Attribute VB_PredeclaredId = True
    Attribute VB_Exposed = False
    '或把下面的保存为 frmSplash.frm
    VERSION 5.00
    Begin VB.Form frmSplash 
       BorderStyle     =   3  'Fixed Dialog
       ClientHeight    =   4245
       ClientLeft      =   255
       ClientTop       =   1410
       ClientWidth     =   7380
       ClipControls    =   0   'False
       ControlBox      =   0   'False
       Icon            =   "frmSplash.frx":0000
       KeyPreview      =   -1  'True
       LinkTopic       =   "Form2"
       MaxButton       =   0   'False
       MinButton       =   0   'False
       ScaleHeight     =   4245
       ScaleWidth      =   7380
       ShowInTaskbar   =   0   'False
       StartUpPosition =   2  'CenterScreen
    End
    Attribute VB_Name = "frmSplash"
    Attribute VB_GlobalNameSpace = False
    Attribute VB_Creatable = False
    Attribute VB_PredeclaredId = True
    Attribute VB_Exposed = False
      

  3.   

    你可在任意窗体里(不管BorderStyle等于几)将其caption设为空,再将ControlBox=false
    这样你的窗体还可以resize,比将BorderStyle=0还多了
      

  4.   

    sorry,又打错字了,应该是
    "比将BorderStyle=0好多了"
      

  5.   


    ControlBox=False
    Caption=""
    就可以了。
    另外 BoderStyle=0也可以。