Guidance
指路人
g.yi.org
software / rapidq / Examples / QObject / Object / QSplash.html

Register 
注册
Search 搜索
首页 
Home Home
Software
Upload

  
Appendix A: QSplash  
Documentation component by D.Glodt (c)2003 Appendix A: QSplash

QSplash Component

QSplash is used for showing banner during a time before the opening of application.

         A descriptive text of application can be added below the  image or on the image.

QSplash Properties

Champs Type R/W Défault





Image QIMAGE R/W
Image to show
Text STRING R/W
Text about application
TextFont QFONT R/W
TextTransparent BOOLEAN R/W False
Display text on image
TextCenter BOOLEAN R/W False
Text centered horizontal
TextLeft SHORT R/W
TextTop SHORT R/W
Actif if property TextTransparent at True

QSplash Methods

Method Type Description Params





Show SUB(Time%) Show banner 1

QSplash Events

Event Type Occurs when... Params





QSplash Example
$TYPECHECK ON
$INCLUDE "RAPIDQ.INC"
$INCLUDE "Object\QSplash.inc"
DECLARE SUB DisplaySplashForm
$resource banner as "banner.bmp"

Dim splash as QSplash
splash.image.bmphandle=banner
splash.TextCenter=True
splash.TextFont.size=10
splash.Text="Version 1.0 Copyright(c) D.Glodt"

CREATE MainForm AS QFORM
 Caption = "MainForm"
 Width = 520
 Height = 340
 Center
 OnShow=DisplaySplashForm
END CREATE

SUB DisplaySplashForm
 Splash.Show(3)
End Sub
MainForm.ShowModal
 
 
 

掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Fri 2024-4-26  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2003-04-29 23:27:20