Guidance
指路人
g.yi.org
software / RapidQ / RQ Doc / html / qopendialog.html

Register 
新用户注册
Search 搜索
首页 
Home Home
Software
Upload

  
Appendix A: QOPENDIALOG
Rapid-Q Documentation by William Yu (c)1999 Appendix A: QOPENDIALOG


QOPENDIALOG Component

QOpenDialog displays Window's file selection dialog

QOpenDialog Properties
FieldTypeR/WDefaultSupport





CaptionSTRINGRWW
FileNameSTRINGRWWX
FilterSTRINGRWW
FilterIndexINTEGERRW1W
InitialDirSTRINGRWW

QOpenDialog Methods
MethodTypeDescriptionParamsSupport





ExecuteFUNCTIONReturns TRUE or FALSE0WX


QOpenDialog Examples
  '-- Simple demo
  DIM OpenDialog AS QOpenDialog

  IF OpenDialog.Execute THEN
    ShowMessage "You selected "+OpenDialog.FileName
  END IF


'-- Using filters DIM OpenDialog AS QOpenDialog OpenDialog.Filter = "Picture files|*.BMP;*.ICO|All Files|*.*" OpenDialog.FilterIndex = 2 '' Use "All Files" as our default IF OpenDialog.Execute THEN ShowMessage "You selected "+OpenDialog.FileName END IF

Prev Component Contents Next Component
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Mon 2017-11-20  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0 Last modified:2015-12-25 19:42:43