^ Screen ConsoleX INTEGER R Returns maximum column for console screen, useful under Unix. ConsoleY INTEGER R Returns maximum row for console screen, useful under Unix. Cursor INTEGER R/W Change global mouse pointer Cursors ARRAY of INTEGER R/W array of cursor handles. Height INTEGER R Returns Windows screen Height (not to be confused with Form Height) MouseX INTEGER R Returns X Coordinate of Mouse Pointer relative to your screen. MouseY INTEGER R Returns Y Coordinate of Mouse Pointer relative to your screen. Width INTEGER R Returns Windows screen Width ^ Application ExeName STRING The executable name of the application, path name is excluded (use COMMAND$(0) for full path information). Handle INTEGER hInstance of the application. HelpFile STRING HelpFile specifies the name of the file the application uses to display help. HintColor INTEGER clInfoBk HintColor determines the color of the hint boxes for the Help Hints. HintHidePause INTEGER 2500 HintHidePause specifies the time interval to wait before hiding the Help Hint if the mouse has not moved from the control or menu item. HintPause INTEGER 500 HintPause specifies the time interval that passes before the control's Help Hint appears when the user places the mouse pointer on a control or menu item. HintShortPause INTEGER 50 HideShortPause specifies the pause to wait before bringing up a hint if a hint has already been shown. Icon STRING Specify an icon filename to appear as the default icon of your application. IcoHandle RESOURCE Specify an icon resource to appear as the default icon of your application. ShowHint INTEGER RW True W Title STRING RW W HelpCommand SUB (Command AS WORD, Data AS LONG) Accesses the Help commands in the WinHelp API 2 HelpContext SUB (Context AS LONG) Bring up the Application's HelpFile at specifed Context ID 1 HelpJump SUB (JumpID AS STRING) Brings up the HelpFile and displays the screen in the Help file that has the JumpID 1 Minimize SUB Minimize Application 0 Terminate SUB Terminates Application 0 ^ ClipBoard Clear SUB Clear clipboard 0 Close SUB Free clipboard for other processes 0 GetAsHandle FUNCTION (Format%) AS INTEGER Returns handle of specified format 1 GetAsText FUNCTION (length%) AS STRING Returns text of length% 1 HasFormat FUNCTION (Format%) AS BYTE Returns true or false if the format exists or not 1 Open SUB Begin critcal section 0 SetAsHandle SUB (Format%, Handle ) Set handle and format 2 SetAsText SUB (Text$) Set text of clipboard 1 ^ Printer Aborted INTEGER R Aborted determintes if the user aborted the print job. Capabilities.Copies INTEGER R Capabilities.Copies indicates whether the print is capable of printing multiple copies. Capabilities.Orientation INTEGER R Capabilities.Orientation indicates whether the print is capable of different orientations. Capabilities.Collate INTEGER R Capabilities.Collate indicates whether the print is capable of collating. Copies INTEGER RW Number of copies to print. CopyMode INTEGER RW cmBlackNess Font QFONT W Fonts ARRAY of STRING R FontsCount INTEGER R Handle INTEGER R Orientation INTEGER RW Orientation determines if the print job prints vertically or horizontally on a page. Valid orientation values are:0 = poPortrait (Vertical print)1 = poLandscape (Horizontal print) PageHeight INTEGER R PageNumber INTEGER R PageWidth INTEGER R PrinterIndex INTEGER RW Printers ARRAY of STRING R PrintersCount INTEGER R Printing INTEGER R Title STRING RW Title is the text that appears in the Print Manager and on network header pages. Abort SUB Abort printing the document 0 BeginDoc SUB Starts new document to print 0 BeginDoc sends a print job to the printer. EndDoc SUB Nothing is printed until this is called 0 EndDoc will start the print job. NewPage SUB Start printing on a new page 0 Circle SUB (x1%, y1%, x2%, y2%, c%, fill%) Draw & Fill Circle 6 CopyRect SUB (D, Image, S) D and S are QRECTs, Image can be a QImage, QCanvas, or QBitmap 3 Draw SUB (x%, y%, BMP) Draw Bitmap on Canvas 3 FillRect SUB (x1%, y1%, x2%, y2%, c%) Draws & Fills a rectangle 5 Line SUB (x1%, y1%, x2%, y2%, c%) Draws a line 5 Paint SUB (x%, y%, c%, borderc%) Fill Region 4 Pset SUB (x%, y%, c%) Pixel plot 3 Rectangle SUB (x1%, y1%, x2%, y2%, c%) Draws a rectangle 5 RoundRect SUB (x1%, y1%, x2%, y2%, x3%, y3%, c%) Draws & Fills a rounded rectangle 7 StretchDraw SUB (Rect AS QRECT, BMP) Draw BMP and stretch to fit inside Rect 2 TextHeight FUNCTION (Text$) AS WORD Returns the height, in pixels, of Text$ string 1 TextWidth FUNCTION (Text$) AS WORD Returns the width, in pixels, of Text$ string 1 TextRect SUB (Rect AS QRECT, x%, y%, S$, fc%, bc%) Write text, and clip within region Rect 6 TextOut SUB (x%, y%, S$, fc%, bc%) Writes text to printer 5 ^ QBitmap BMP STRING W BMPHandle RESOURCE W CopyMode INTEGER RW cmBlackness Empty INTEGER R Font QFONT W Handle INTEGER RW Height INTEGER RW Monochrome INTEGER RW Pixel 2D ARRAY of INTEGER RW PixelFormat INTEGER RW pfDevice Top INTEGER RW Transparent INTEGER RW False TransparentColor INTEGER RW TransparentMode INTEGER RW 0 Width INTEGER RW Circle SUB (x1%, y1%, x2%, y2%, c%, fill%) Draw Fill Circle 6 CopyRect SUB (D, Image, S) D and S are QRECTs, Image can be a QImage, QCanvas, or QBitmap 3 Draw SUB (x%, y%, BMP) Draw Bitmap on Canvas 3 FillRect SUB (x1%, y1%, x2%, y2%, c%) Draws Fills a rectangle 5 Line SUB (x1%, y1%, x2%, y2%, c%) Draws a line 5 LoadFromFile SUB (FileName$) Load BMP from a file 1 LoadFromStream SUB (Stream) Load BMP from a stream 1 Paint SUB (x%, y%, c%, borderc%) Fill Region 4 Pset SUB (x%, y%, c%) Pixel plot 3 Rectangle SUB (x1%, y1%, x2%, y2%, c%) Draws a rectangle 5 Rotate SUB (xOrigin%, yOrigin%, Angle%) Rotates entire bitmap at specified origin 3 SaveToFile SUB (FileName$) Save BMP to a file 1 SaveToStream SUB (Stream) Save BMP to a stream 1 StretchDraw SUB (Rect AS QRECT, BMP) Draw BMP and stretch to fit inside Rect 2 TextHeight FUNCTION (Text$) AS WORD Returns the height, in pixels, of Text$ string 1 TextWidth FUNCTION (Text$) AS WORD Returns the width, in pixels, of Text$ string 1 TextRect SUB (Rect AS QRECT, x%, y%, S$, fc%, bc%) Write text, and clip within region Rect 6 TextOut SUB (x%, y%, S$, fc%, bc%) Writes text to image 5 ^ QButton Align INTEGER RW alNone BMP STRING W BMPHandle RESOURCE W Cancel INTEGER RW False Caption STRING RW Color INTEGER RW Cursor INTEGER RW crDefault Default INTEGER RW False Enabled INTEGER RW True Font QFONT W Handle INTEGER R Height INTEGER RW Hint STRING RW Kind INTEGER RW bkCustom Layout INTEGER RW blBMPLeft Left INTEGER RW 0 ModalResult INTEGER RW mrNone Name STRING RW NumBMPs INTEGER RW Parent QFORM/QPANEL/QTABCONTROL W PopupMenu QPOPUPMENU W ShowHint INTEGER RW False Spacing INTEGER RW 4 TabOrder INTEGER RW Top INTEGER RW 0 Width INTEGER RW Visible INTEGER RW True StartDrag SUB Allows Button to be dragged 0 OnClick VOID User clicked on the button 0 OnKeyDown SUB (Key AS Word, Shift AS INTEGER) Key held down 2 OnKeyPress SUB (Key AS BYTE) User presses a key 1 OnKeyUp SUB (Key AS Word, Shift AS INTEGER) User releases a key 2 OnMouseDown SUB (Button%, X%, Y%, Shift%) Mouse button held down 4 OnMouseMove SUB (X%, Y%, Shift%) Mouse moves 3 OnMouseUp SUB (Button%, X%, Y%, Shift%) Mouse button is released 4 WndProc SUB (Hwnd%, Msg%, wParam%, lParam%) Messages sent to Button 4 ^ QCanvas Align INTEGER RW alNone ClientHeight INTEGER RW ClientWidth INTEGER RW Color INTEGER RW CopyMode INTEGER RW cmBlackness Cursor INTEGER RW crDefault Enabled INTEGER RW True Font QFONT W Height INTEGER RW Hint STRING RW Left INTEGER RW 0 Name STRING RW Parent QFORM/QPANEL/QTABCONTROL W Pixel 2D ARRAY of INTEGER RW PopupMenu QPOPUPMENU W ShowHint INTEGER RW False Top INTEGER RW 0 Width INTEGER RW Visible INTEGER RW True Circle SUB (x1%, y1%, x2%, y2%, c%, fill%) Draw Fill Circle 6 CopyRect SUB (D, Image, S) D and S are QRECTs, Image can be a QImage, QCanvas, or QBitmap 3 Draw SUB (x%, y%, BMP) Draw Bitmap on Canvas 3 FillRect SUB (x1%, y1%, x2%, y2%, c%) Draws Fills a rectangle 5 Line SUB (x1%, y1%, x2%, y2%, c%) Draws a line 5 Paint SUB (x%, y%, c%, borderc%) Fill Region 4 Pset SUB (x%, y%, c%) Pixel plot 3 Rectangle SUB (x1%, y1%, x2%, y2%, c%) Draws a rectangle 5 Repaint SUB Force repainting 0 Rotate SUB (xOrigin%, yOrigin%, Angle%) Rotates entire canvas at specified origin 3 StretchDraw SUB (Rect AS QRECT, BMP) Draw image and stretch to fit inside Rect 2 TextHeight FUNCTION (Text$) AS WORD Returns the height, in pixels, of Text$ string 1 TextWidth FUNCTION (Text$) AS WORD Returns the width, in pixels, of Text$ string 1 TextRect SUB (Rect AS QRECT, x%, y%, S$, fc%, bc%) Write text, and clip within region Rect 6 TextOut SUB (x%, y%, S$, fc%, bc%) Writes text to image 5 OnClick VOID User clicked on canvas 0 OnDblClick VOID User double clicked on canvas 0 OnMouseDown SUB (Button%, X%, Y%, Shift%) Mouse button held down 4 OnMouseMove SUB (X%, Y%, Shift%) Mouse moves 3 OnMouseUp SUB (Button%, X%, Y%, Shift%) Mouse button is released 4 OnPaint VOID Receives WM_PAINT message 0 ^ QCheckBox Align INTEGER RW alNone Caption STRING RW Checked INTEGER RW False Enabled INTEGER RW True Font QFONT W Height INTEGER RW Hint STRING RW Left INTEGER RW 0 Name STRING RW Parent QFORM/QPANEL/QTABCONTROL W PopupMenu QPOPUPMENU W ShowHint INTEGER RW False TabOrder INTEGER RW Top INTEGER RW 0 Visible INTEGER RW True Width INTEGER RW OnClick VOID User clicked check box 0 ^ QComboBox Align INTEGER RW alNone Color INTEGER RW CopyMode INTEGER RW cmBlackness Cursor INTEGER RW crDefault DropDownCount INTEGER RW 8 Enabled INTEGER RW True Font QFONT W Height INTEGER RW Hint STRING RW Item ARRAY of STRING RW ItemCount INTEGER R ItemIndex INTEGER RW -1 Left INTEGER RW 0 MaxLength INTEGER RW Name STRING RW Parent QFORM/QPANEL/QTABCONTROL W PopupMenu QPOPUPMENU W ShowHint INTEGER RW False Sorted INTEGER RW False Style INTEGER RW csDropDown TabOrder INTEGER RW Text STRING RW Top INTEGER RW 0 Visible INTEGER RW True Width INTEGER RW AddItems SUBI Add items to combobox STRINGs, Infinite Circle SUB (x1%, y1%, x2%, y2%, c%, fill%) Draw Fill Circle 6 Clear SUB Clears entire Combobox 0 CopyRect SUB (D, Image, S) D and S are QRECTs, Image can be a QImage, QCanvas, or QBitmap 3 DelItems SUBI Delete items by their index Index #s, Infinite Draw SUB (x%, y%, BMP) Draw Bitmap at (X,Y) 3 FillRect SUB (x1%, y1%, x2%, y2%, c%) Draws Fills a rectangle 5 InsertItem SUB (Index%, String$) Insert item at Index% 2 Line SUB (x1%, y1%, x2%, y2%, c%) Draws a line 5 Paint SUB (x%, y%, c%, borderc%) Fill Region 4 Pset SUB (x%, y%, c%) Pixel plot 3 Rectangle SUB (x1%, y1%, x2%, y2%, c%) Draws a rectangle 5 Repaint SUB Force repainting of combobox 0 StretchDraw SUB (Rect AS QRECT, BMP) Draw BMP and stretch to fit inside Rect 2 TextHeight FUNCTION (Text$) AS WORD Returns the height, in pixels, of Text$ string 1 TextWidth FUNCTION (Text$) AS WORD Returns the width, in pixels, of Text$ string 1 TextRect SUB (Rect AS QRECT, x%, y%, S$, fc%, bc%) Write text, and clip within region Rect 6 TextOut SUB (x%, y%, S$, fc%, bc%) Writes text to image 5 OnChange VOID User selects a different item 0 OnDrawItem SUB (Index%, State%, R AS QRect) Items are redrawn for ownerdraw comboboxes 3 OnMeasureItem SUB (Index%, Height%) Calculate Height for ownerdraw variable comboboxes 3 ^ QComPort BaudRate INTEGER RW br110 Connected INTEGER R DataBits INTEGER RW 8 Handle INTEGER R InQue INTEGER R OutQue INTEGER R Parity INTEGER RW prNone PendingIO INTEGER R Port INTEGER RW 1 ReadBufSize INTEGER RW 1024 StopBits INTEGER RW sbOneStopBit WriteBufSize INTEGER RW 1024 AbortAllIO SUB Aborts all asynchronous read/write operations 0 Close SUB Closes communication port 0 Open SUB Opens communication port 0 PurgeIn SUB Clears input buffer and stops all input functions 0 PurgeOut SUB Clears output buffer and stops all output functions 0 Read SUB Read(QFile/QMemoryStream, Count%, Wait%) Reads stream data from com port, Count% < 32000 3 ReadString FUNCTION ReadString$(Count%, Wait%) Returns a string representation bytes read from comport 2 WaitForLastIO SUB Blocks until last IO is completed 0 Write SUB Write(QFile/QMemoryStream, Count%, Wait%) Writes stream to com port, Count% < 32000 3 WriteString SUB WriteString(Str$, Wait%) Writes string to communication port 2 OnBreak VOID A line break is detected, input and output is suspended until break is cleared 0 OnClose VOID Com port is closed 0 OnError VOID A line error occurs 0 OnOpen VOID Com port is successfully opened 0 OnRing VOID A ring signal is detected, used only with modems. 0 OnRxChar SUB (InQue AS INTEGER) A character(s) arrives in the input buffer. 1 OnTxEmpty VOID Output buffer is flushed 0 ^ QCoolBtn Align INTEGER RW alNone AllowAllUp INTEGER RW False BMP STRING W BMPHandle RESOURCE W Caption STRING RW Cursor INTEGER RW crDefault Down INTEGER RW False Enabled INTEGER RW True Flat INTEGER RW False Font QFONT W GroupIndex INTEGER RW 0 Height INTEGER RW Hint STRING RW Layout INTEGER RW blBMPLeft Left INTEGER RW 0 Name STRING RW NumBMPs INTEGER RW Parent QFORM/QPANEL/QTABCONTROL W ShowHint INTEGER RW False Spacing INTEGER RW TabOrder INTEGER RW Tag INTEGER RW 0 Top INTEGER RW 0 Width INTEGER RW Visible INTEGER RW True StartDrag SUB Allows Button to be dragged 0 OnClick VOID User clicked on the button 0 OnMouseDown SUB (Button%, X%, Y%, Shift%) Mouse button held down 4 OnMouseMove SUB (X%, Y%, Shift%) Mouse moves 3 OnMouseUp SUB (Button%, X%, Y%, Shift%) Mouse button is released 4 ^ QDirTree Align INTEGER RW alNone BorderStyle INTEGER RW bsSingle Color INTEGER RW Cursor INTEGER RW crDefault Directory STRING RW False Enabled INTEGER RW True FastLoad INTEGER RW False Font QFONT W Height INTEGER RW HideSelection INTEGER RW False Hint STRING RW InitialDir STRING RW Left INTEGER RW 0 Name STRING RW Parent QFORM/QPANEL/QTABCONTROL W PopupMenu QPOPUPMENU W ReadOnly INTEGER RW False ReadOnStart INTEGER RW False ShowHint INTEGER RW False TabOrder INTEGER RW Top INTEGER RW 0 Width INTEGER RW Visible INTEGER RW True AddDirTypes SUB Add directory types 0 AddDriveTypes SUB Add drive types 0 DelDirTypes SUB Del directory types 0 DelDirTypes SUB Del drive types 0 FullCollapse SUB Collapse entire directory list 0 FullExpand SUB Expand entire directory list (slow) Reload SUB Re-read directories 0 OnChange VOID Current directory changes 0 ^ QEdit Align INTEGER RW alNone AutoSize INTEGER RW BorderStyle INTEGER RW bsSingle CharCase INTEGER RW ecNormal Color INTEGER RW EditText STRING RW Enabled INTEGER RW True Font QFONT W Handle INTEGER R Height INTEGER RW Hint STRING RW InputMask STRING RW IsMasked INTEGER RW False Left INTEGER RW 0 MaxLength INTEGER RW 0 Modified INTEGER RW Name STRING RW Parent QFORM/QPANEL/QTABCONTROL W PasswordChar INTEGER RW PopupMenu QPOPUPMENU W ReadOnly INTEGER RW False SelLength INTEGER RW SelStart INTEGER RW SelText STRING RW ShowHint INTEGER RW False TabOrder INTEGER RW Text STRING RW Top INTEGER RW 0 Visible INTEGER RW True Width INTEGER RW OnChange VOID Text changed 0 OnKeyDown SUB (Key AS WORD, Shift AS INTEGER) Key held down 2 OnKeyPress SUB (Key AS BYTE) User presses a key 1 OnKeyUp SUB (Key AS Word, Shift AS INTEGER) User releases a key 2 WndProc SUB (Hwnd%, Msg%, wParam%, lParam%) Messages sent to QEdit 4 ^ QFileListBox Align INTEGER RW alNone Color INTEGER RW Cursor INTEGER RW crDefault Directory STRING RW Drive STRING RW Enabled INTEGER RW True ExtendedSelect INTEGER RW True Filename STRING RW Font QFONT W Height INTEGER RW Hint STRING RW Item ARRAY of STRING RW ItemCount INTEGER RW ItemHeight INTEGER RW ItemIndex INTEGER RW Left INTEGER RW 0 Mask STRING RW . MultiSelect INTEGER RW False Name STRING RW Parent QFORM/QPANEL/QTABCONTROL W PopupMenu QPOPUPMENU W Selected ARRAY of INTEGER RW ShowHint INTEGER RW False ShowIcons INTEGER RW False TabOrder INTEGER RW TopIndex INTEGER RW Top INTEGER RW 0 Width INTEGER RW Visible INTEGER RW True AddFileTypes SUBI Add certain file types to list box INTEGER, Infinite DelFileTypes SUBI Remove certain file types from list INTEGER, Infinite OnChange VOID Directory changes 0 OnClick VOID File was clicked on 0 OnDblClick VOID Selection was double clicked on 0 ^ QFileStream LineCount INTEGER R Position INTEGER RW Size INTEGER R Close SUB Close the stream 0 CopyFrom SUB (Stream, Bytes%) Copy from another stream 2 Open SUB (FileName$, Method%) Open a file, Method% see RAPIDQ.INC 2 ReadLine FUNCTION () AS STRING Reads an entire line, supports UNIX files 0 ReadNum FUNCTION (Size%) Read Size% bytes, returns number 1 ReadBinStr FUNCTION (Size%) Read Size% bytes, returns the binary string 1 ReadStr FUNCTION (Size%) Read Size% bytes, returns the text string 1 ReadUDT SUB (MyType) Read and store data in a MyType structure 1 Seek SUB (Position%, From%) Seek to Position%, From% see RAPIDQ.INC 2 WriteLine SUB (S AS STRING) Writes string with CR+LF 1 WriteNum SUB (number, bytes%) Writes a number to file 2 WriteBinStr SUB (string, bytes%) Writes a binary string to file (slow) 2 WriteStr SUB (string, bytes%) Writes a text string to file (fast) 2 WriteUDT SUB (MyType) Write data stored in a MyType structure 1 ^ QFont Charset INTEGER RW DEFAULT_CHARSET Color INTEGER RW FontCount INTEGER R FontName ARRAY of STRING R Pitch INTEGER RW fpDefault Name STRING RW Handle INTEGER RW Size INTEGER RW AddStyles SUBI Add styles [bold, italic, etc] INTEGER, Infinite DelStyles SUBI Delete styles [bold, italic, etc] INTEGER, Infinite ^ QFontDialog Color INTEGER RW FontCount INTEGER R FontName ARRAY of STRING R MaxFontSize INTEGER RW MinFontSize INTEGER RW Name STRING RW Size INTEGER RW AddStyles SUBI Add styles [bold, italic, etc] INTEGER, Infinite DelStyles SUBI Delete styles [bold, italic, etc] INTEGER, Infinite AddOptions SUBI Add options [fdLimitSize, fdNoSizeSel, etc.] INTEGER, Infinite DelOptions SUBI Delete options [fdNoStyleSel, fdScalableOnly, etc.] INTEGER, Infinite Execute FUNCTION Returns TRUE or FALSE 0 GetFont SUB GetFont(F AS QFONT) Get font attributes 1 SetFont SUB SetFont(F AS QFONT) Set font attributes 1 OnApply VOID User clicks on apply button 0 ^ QForm AutoScroll INTEGER RW True BorderStyle INTEGER RW bsSizeable Caption STRING RW ClientHeight INTEGER RW ClientWidth INTEGER RW Color INTEGER RW Cursor INTEGER RW crDefault FormStyle INTEGER RW fsNormal Font QFONT RW Handle INTEGER R Height INTEGER RW Hint STRING RW Icon STRING RW IcoHandle RESOURCE W KeyPreview INTEGER RW False Left INTEGER RW 0 ModalResult INTEGER W Name STRING RW PopupMenu QPOPUPMENU W ShowHint INTEGER RW False Top INTEGER RW 0 Visible INTEGER RW False Width INTEGER RW WindowState INTEGER RW wsNormal AddBorderIcons SUBI Add Border Icons INTEGER, Infinite Center SUB Used to center a form 0 Circle SUB (x1%, y1%, x2%, y2%, c%, fill%) Draw Fill Circle 6 Close SUB Close form 0 CopyRect SUB (D, Image, S) D and S are QRECTs, Image can be a QImage, QCanvas, or QBitmap 3 DelBorderIcons SUBI Remove Border Icons INTEGER, Infinite Draw SUB (x%, y%, BMP) Draw Bitmap on Canvas 3 FillRect SUB (x1%, y1%, x2%, y2%, c%) Draws Fills a rectangle 5 HideTitleBar SUB Hides Caption 0 Line SUB (x1%, y1%, x2%, y2%, c%) Draw line on form 5 Paint SUB (x%, y%, c%, borderc%) Fill Region 4 Pset SUB (x%, y%, c%) Pixel plot 3 Rectangle SUB (x1%, y1%, x2%, y2%, c%) Draws a rectangle 5 Repaint SUB Repaints the entire form 0 Show SUB Used to show form when hidden 0 ShowModal FUNCTION Display form and wait for result 0 ShowTitleBar SUB Displays Caption 0 StretchDraw SUB (Rect AS QRECT, BMP) Draw BMP and stretch to fit inside Rect 2 TextHeight FUNCTION (Text$) AS WORD Returns the height, in pixels, of Text$ string 1 TextWidth FUNCTION (Text$) AS WORD Returns the width, in pixels, of Text$ string 1 TextRect SUB (Rect AS QRECT, x%, y%, S$, fc%, bc%) Write text, and clip within region Rect 6 TextOut SUB (x%, y%, s$, fc%, bc%) Write text to form 5 OnClick VOID User clicks on open area of form 0 OnClose SUB (Action AS INTEGER) Form closes 1 OnKeyDown SUB (Key AS Word, Shift AS INTEGER) Key held down 2 OnKeyPress SUB (Key AS BYTE) User presses a key 1 OnKeyUp SUB (Key AS Word, Shift AS INTEGER) User releases a key 2 OnMouseDown SUB (Button%, X%, Y%, Shift%) Mouse button held down 4 OnMouseMove SUB (X%, Y%, Shift%) Mouse moves 3 OnMouseUp SUB (Button%, X%, Y%, Shift%) Mouse button is released 4 OnPaint VOID Form requires repainting 0 OnResize VOID Form is resized 0 OnShow VOID Form is displayed 0 WndProc SUB (Hwnd%, Msg%, wParam%, lParam%) Messages posted/sent to form 4 ^ QGauge Align INTEGER RW alNone BackColor INTEGER RW BorderStyle INTEGER RW bsSingle Color INTEGER RW Cursor INTEGER RW crDefault Enabled INTEGER RW True Font QFONT W ForeColor INTEGER RW Height INTEGER RW Hint STRING RW Kind INTEGER RW gkHorizontalBar Left INTEGER RW Max INTEGER RW 100 Min INTEGER RW 0 Name STRING RW Parent QFORM/QPANEL/QTABCONTROL W Position INTEGER RW 0 ShowHint INTEGER RW False ShowText INTEGER RW True Top INTEGER RW Visible INTEGER RW True Width INTEGER RW ^ QGlassFrame Align INTEGER RW alNone ClientHeight INTEGER RW ClientWidth INTEGER RW Color INTEGER RW Cursor INTEGER RW crDefault Handle INTEGER RW Height INTEGER RW Hint STRING RW Left INTEGER RW Moveable INTEGER RW True Name STRING RW Parent QFORM/QPANEL/QTABCONTROL W PopupMenu QPOPUPMENU W ShowHint INTEGER RW False Top INTEGER RW Transparency INTEGER RW 60 TransparentColor INTEGER RW 0 Width INTEGER RW ^ QGroupBox Align INTEGER RW alNone Caption STRING RW Color INTEGER RW Cursor INTEGER RW crDefault Enabled INTEGER RW True Font QFONT W Handle INTEGER R Height INTEGER RW Hint STRING RW Left INTEGER RW 0 Name STRING RW Parent QFORM/QPANEL/QTABCONTROL W PopupMenu QPOPUPMENU W ShowHint INTEGER RW False TabOrder INTEGER RW Top INTEGER RW 0 Visible INTEGER RW True Width INTEGER RW Repaint SUB Repaint groupbox, and anything inside it 0 OnClick VOID User clicked on groupbox 0 OnDblClick VOID User double clicked on groupbox 0 OnMouseDown SUB (Button%, X%, Y%, Shift%) Mouse button held down 4 OnMouseMove SUB (X%, Y%, Shift%) Mouse moves 3 OnMouseUp SUB (Button%, X%, Y%, Shift%) Mouse button is released 4 ^ QHeader Align INTEGER RW alNone ClientHeight INTEGER RW ClientWidth INTEGER RW CopyMode INTEGER RW cmBlackness Cursor INTEGER RW crDefault Enabled INTEGER RW True Font QFONT W Handle INTEGER RW Height INTEGER RW Hint STRING RW HotTrack INTEGER RW False Left INTEGER RW 0 Name STRING RW Parent QFORM/QPANEL/QTABCONTROL W Pixel 2D ARRAY of INTEGER RW PopupMenu QPOPUPMENU W Sections ARRAY of SectionsType RW SectionsCount INTEGER R ShowHint INTEGER RW False Top INTEGER RW 0 Width INTEGER RW Visible INTEGER RW True AddSections SUBI Add new sections to header STRING, Infinite Clear SUB Clears all sections 0 Circle SUB (x1%, y1%, x2%, y2%, c%, fill%) Draw Fill Circle 6 CopyRect SUB (D, Image, S) D and S are QRECTs, Image can be a QImage, QCanvas, or QBitmap 3 Draw SUB (x%, y%, BMP) Draw Bitmap at (X,Y) 3 FillRect SUB (x1%, y1%, x2%, y2%, c%) Draws Fills a rectangle 5 Line SUB (x1%, y1%, x2%, y2%, c%) Draws a line 5 Paint SUB (x%, y%, c%, borderc%) Fill Region 4 Pset SUB (x%, y%, c%) Pixel plot 3 Rectangle SUB (x1%, y1%, x2%, y2%, c%) Draws a rectangle 5 Repaint SUB Force repainting of header 0 StretchDraw SUB (Rect AS QRECT, BMP) Draw BMP and stretch to fit inside Rect 2 TextHeight FUNCTION (Text$) AS WORD Returns the height, in pixels, of Text$ string 1 TextWidth FUNCTION (Text$) AS WORD Returns the width, in pixels, of Text$ string 1 TextRect SUB (Rect AS QRECT, x%, y%, S$, fc%, bc%) Write text, and clip within region Rect 6 TextOut SUB (x%, y%, S$, fc%, bc%) Writes text to image 5 ^ QImage Align INTEGER RW alNone Autosize INTEGER RW False BMP STRING W BMPHandle RESOURCE W Center INTEGER RW False CopyMode INTEGER RW cmBlackness Cursor INTEGER RW crDefault Enabled INTEGER RW True Font QFONT W Handle INTEGER RW Height INTEGER RW Hint STRING RW ICOHandle RESOURCE W Icon STRING W IncrementalDisplay INTEGER RW False Left INTEGER RW 0 Name STRING RW Parent QFORM/QPANEL/QTABCONTROL W Pixel 2D ARRAY of INTEGER RW PopupMenu QPOPUPMENU W ShowHint INTEGER RW False Stretch INTEGER RW False Top INTEGER RW 0 Transparent INTEGER RW False Width INTEGER RW Visible INTEGER RW True Center SUB Centers image 0 Circle SUB (x1%, y1%, x2%, y2%, c%, fill%) Draw Fill Circle 6 CopyRect SUB (D, Image, S) D and S are QRECTs, Image can be a QImage, QCanvas, or QBitmap 3 Draw SUB (x%, y%, BMP) Draw Bitmap at (X,Y) 3 FillRect SUB (x1%, y1%, x2%, y2%, c%) Draws Fills a rectangle 5 Line SUB (x1%, y1%, x2%, y2%, c%) Draws a line 5 Paint SUB (x%, y%, c%, borderc%) Fill Region 4 Pset SUB (x%, y%, c%) Pixel plot 3 Rectangle SUB (x1%, y1%, x2%, y2%, c%) Draws a rectangle 5 Repaint SUB Force repainting of image 0 Rotate SUB (xOrigin%, yOrigin%, Angle%) Rotates entire image at specified origin 3 StretchDraw SUB (Rect AS QRECT, BMP) Draw BMP and stretch to fit inside Rect 2 TextHeight FUNCTION (Text$) AS WORD Returns the height, in pixels, of Text$ string 1 TextWidth FUNCTION (Text$) AS WORD Returns the width, in pixels, of Text$ string 1 TextRect SUB (Rect AS QRECT, x%, y%, S$, fc%, bc%) Write text, and clip within region Rect 6 TextOut SUB (x%, y%, S$, fc%, bc%) Writes text to image 5 OnClick VOID User clicked on image 0 OnDblClick VOID User double clicked on image 0 OnMouseDown SUB (Button%, X%, Y%, Shift%) Mouse button held down 4 OnMouseMove SUB (X%, Y%, Shift%) Mouse moves 3 OnMouseUp SUB (Button%, X%, Y%, Shift%) Mouse button is released 4 ^ QImageList BkColor INTEGER RW 0 BlendColor INTEGER RW 0 Count INTEGER RW DrawStyle INTEGER RW dsNormal Font QFONT W GetBMP ARRAY of IMAGES/BMP R GetICO ARRAY of IMAGES/ICO R Handle INTEGER RW Height INTEGER RW ImageType INTEGER RW itImage Masked INTEGER RW True Name STRING RW ShareImages INTEGER RW False Width INTEGER RW AddBMPFile SUB (FileName$, MaskColor%) Add BMP file to Imagelist 2 AddICOFile SUB (FileName$) Add Icon file to Imagelist 1 AddBMPHandle SUB (BMP_Resource, MaskColor%) Add BMP to Imagelist 2 AddICOHandle SUB (ICO_Resource) Add Icon to Imagelist 1 Clear SUB Removes all images 0 Delete SUB (Index%) Delete image at Index% 1 InsertBMPFile SUB (Index%, Filename$, Mask%) Insert BMP file at Index% 3 InsertICOFile SUB (Index%, Filename$) Insert Icon file at Index% 2 InsertBMPHandle SUB (Index%, BMP_Resource, Mask%) Insert BMP at Index% 3 InsertICOHandle SUB (Index%, ICO_Resource) Insert Icon at Index% 2 ^ QLabel Align INTEGER RW alNone Alignment INTEGER RW taLeftJustify Angle INTEGER RW 0 Autosize INTEGER RW False Caption STRING RW Color INTEGER RW Cursor INTEGER RW crDefault Enabled INTEGER RW True Font QFONT W Handle INTEGER R Height INTEGER RW Hint STRING RW Layout INTEGER RW Left INTEGER RW 0 LowerColor INTEGER RW clBtnShadow Name STRING RW Parent QFORM/QPANEL/QTABCONTROL W PopupMenu QPOPUPMENU W ShowHint INTEGER RW False TextStyle INTEGER RW lsNone Top INTEGER RW 0 Transparent INTEGER RW False UpperColor INTEGER RW clBtnHighlight Visible INTEGER RW True Width INTEGER RW Wordwrap INTEGER RW False OnClick VOID User clicks on label 0 OnDblClick VOID User double clicked on label 0 OnMouseDown SUB (Button%, X%, Y%, Shift%) Mouse button held down 3 OnMouseMove SUB (X%, Y%, Shift%) Mouse moves 2 OnMouseUp SUB (Button%, X%, Y%, Shift%) Mouse button is released 3 WndProc SUB (Hwnd%, Msg%, wParam%, lParam%) Messages sent to QLabel 4 ^ QListBox Align INTEGER RW alNone BorderStyle INTEGER RW bsSingle Color INTEGER RW Columns INTEGER RW 0 CopyMode INTEGER RW cmBlackness Cursor INTEGER RW crDefault Enabled INTEGER RW True ExtendedSelect INTEGER RW True Font QFONT W Height INTEGER RW Hint STRING RW 0 Item ARRAY of STRING RW ItemCount INTEGER R ItemHeight INTEGER RW ItemIndex INTEGER RW -1 Left INTEGER RW 0 MultiSelect INTEGER RW False Name STRING RW Parent QFORM/QPANEL/QTABCONTROL W PopupMenu QPOPUPMENU W Selected ARRAY of INTEGER RW ShowHint INTEGER RW False Sorted INTEGER RW False Style INTEGER RW lbStandard TopIndex INTEGER RW TabOrder INTEGER RW TabWidth INTEGER RW 0 Top INTEGER RW 0 Visible INTEGER RW True Width INTEGER RW AddItems SUBI Add items to listbox STRINGs, Infinite Circle SUB (x1%, y1%, x2%, y2%, c%, fill%) Draw Fill Circle 6 Clear SUB Clears entire listbox 0 CopyRect SUB (D, Image, S) D and S are QRECTs, Image can be a QImage, QCanvas, or QBitmap 3 DelItems SUBI Delete items by their index Index #s, Infinite Draw SUB (x%, y%, BMP) Draw Bitmap at (X,Y) 3 FillRect SUB (x1%, y1%, x2%, y2%, c%) Draws Fills a rectangle 5 InsertItem SUB (Index%, String$) Insert item at Index% 2 Line SUB (x1%, y1%, x2%, y2%, c%) Draws a line 5 Paint SUB (x%, y%, c%, borderc%) Fill Region 4 Pset SUB (x%, y%, c%) Pixel plot 3 Rectangle SUB (x1%, y1%, x2%, y2%, c%) Draws a rectangle 5 Repaint SUB Force repainting of listbox 0 StretchDraw SUB (Rect AS QRECT, BMP) Draw BMP and stretch to fit inside Rect 2 TextHeight FUNCTION (Text$) AS WORD Returns the height, in pixels, of Text$ string 1 TextWidth FUNCTION (Text$) AS WORD Returns the width, in pixels, of Text$ string 1 TextRect SUB (Rect AS QRECT, x%, y%, S$, fc%, bc%) Write text, and clip within region Rect 6 TextOut SUB (x%, y%, S$, fc%, bc%) Writes text to image 5 OnClick VOID User clicks on item 0 OnDblClick VOID User double clicks on an item 0 OnDrawItem SUB (Index%, State%, R AS QRect) Items are redrawn for ownerdraw listboxes 3 OnEnter VOID User presses enter to select item 0 OnMeasureItem SUB (Index%, Height%) Calculate Height for ownerdraw variable listboxes 3 WndProc SUB (Hwnd%, Msg%, wParam%, lParam%) Messages sent to Listbox 4 ^ QListView Align INTEGER RW alNone BorderStyle INTEGER RW bsSingle CheckBoxes INTEGER RW False Color INTEGER RW Column ARRAY of ColumnType RW ColumnClick INTEGER RW True ColumnsCount INTEGER RW Cursor INTEGER RW crDefault Enabled INTEGER RW True Font QFONT W GridLines INTEGER RW False Handle INTEGER R Height INTEGER RW Hint STRING RW HotTrack INTEGER RW False Item ARRAY of ItemType RW ItemCount INTEGER RW ItemIndex INTEGER RW LargeImages QIMAGELIST W Left INTEGER RW 0 MultiSelect INTEGER RW False Name STRING RW Parent QFORM/QPANEL/QTABCONTROL W PopupMenu QPOPUPMENU W ReadOnly INTEGER RW False RowSelect INTEGER RW False SelCount INTEGER RW Selected ARRAY of INTEGER RW ShowColumnHeaders INTEGER RW True ShowHint INTEGER RW False SmallImages QIMAGELIST W SortType INTEGER RW stNone StateImages QIMAGELIST W SubItem 2D ARRAY of STRING RW TabOrder INTEGER RW Top INTEGER RW 0 Width INTEGER RW ViewStyle INTEGER RW vsIcon Visible INTEGER RW True AddColumns SUBI Add column headers to listview STRING, Infinite AddItems SUBI Add items to listview STRING, Infinite AddSubItem SUB (Index%, String$) Add sub item to Index% 2 Clear SUB Clear all items in listview 0 ClearColumns SUB Clear all columns in listview 0 DelItems SUBI Delete items from listview INTEGER, Infinite DelSubItem SUB (Index%, SubIndex%) Delete subitem from listview 2 InsertItem SUB (Index%, String$) Insert item at Index% 2 InsertSubItem SUB (Index%, SubIndex%, String$) Insert subitem 3 SwapItem SUB (Index1%, Index2%) Swap items 2 OnClick VOID Item was clicked on 0 OnChange SUB (Index%, Change AS BYTE) Item changed (text, image, or state) 2 OnColumnClick SUB (Column%) Column header was clicked 1 OnDblClick VOID Selection was double clicked on 0 OnKeyPressed SUB (Key AS BYTE) Key was pressed 1 ^ QMainMenu Name STRING RW Parent QFORM W AddItems SUBI Add items to combobox QMENUITEMs, Infinite Insert SUB (I%, Item AS QMENUITEM) Insert an item 2 ^ QMemoryStream LineCount INTEGER R Pointer INTEGER R Position INTEGER RW SetSize INTEGER W Size INTEGER RW Close SUB Close the stream 0 CopyFrom SUB (Stream, Bytes%) Copy from another stream 2 ReadLine FUNCTION () AS STRING Reads an entire line 0 ReadNum FUNCTION (Size%) AS DOUBLE Read Size% bytes, returns number 1 ReadStr FUNCTION (Size%) AS STRING Read Size% bytes, returns the string 1 ReadBinStr FUNCTION (Size%) AS STRING Read Size% bytes, returns the binary string 1 ReadUDT SUB (MyType) Read and store data in a MyType structure 1 Seek SUB (Position%, From%) Seek to Position%, From% see RAPIDQ.INC 2 WriteLine SUB (S AS STRING) Writes string with CR+LF 1 WriteNum SUB (number, bytes%) Writes a number to memory 2 WriteBinStr SUB (string, bytes%) Writes a binary string to file (slow) 2 WriteStr SUB (string, bytes%) Writes string to memory 2 WriteUDT SUB (MyType) Write data stored in a MyType structure 1 ^ QMenuItem Caption STRING RW Checked INTEGER RW Enabled INTEGER RW True Name STRING RW RadioItem INTEGER RW False ShortCut STRING RW Visible INTEGER RW True AddItems SUBI Add Subitems to MenuItem QMENUITEMs, Infinite Insert SUB (I%, Item AS QMENUITEM) Insert an item 2 OnClick VOID User selects item 0 ^ QMySQL Connected INTEGER R DB ARRAY of STRING R DBCount INTEGER R FieldCount INTEGER R Field.Decimals INTEGER R Field.Flags INTEGER R Field.Length INTEGER R Field.MaxLength INTEGER R Field.Name STRING R Field.Table STRING R Field.Type INTEGER R Length ARRAY of INTEGER R NumRows INTEGER R Row ARRAY of STRING R RowCount INTEGER R Table ARRAY of STRING R TableCount INTEGER R Close SUB Disconnect from MySQL 0 Connect FUNCTION (Host$, User$, Passwd$) AS INTEGER Connect to MySQL 3 CreateDB FUNCTION (DB$) AS INTEGER Creates a new database 1 DropDB FUNCTION (DB$) AS INTEGER Drop database 1 EscapeString FUNCTION (S$, Length%) AS STRING Parses binary string S$ and returns a string that can be used in Blob fields 2 FetchField FUNCTION AS INTEGER Fetch next field 0 FetchLengths FUNCTION AS INTEGER Fetch lengths for current row 0 FetchRow FUNCTION AS INTEGER Fetch next row 0 FieldSeek FUNCTION (Position%) Jump to Field Position% 1 Query FUNCTION (Query$) AS INTEGER Query database 1 RealConnect SUB (Host$, User$, Passwd$, DB$, Port%, UnixSock$, Flags%) Connect to MySQL 7 Refresh FUNCTION (RefreshFlags%) AS INTEGER Refresh database 1 RowBlob FUNCTION (Row%, Bytes ) AS STRING Returns the binary blob as a string 2 RowSeek FUNCTION (Row%) Jump to a certain row 1 SelectDB FUNCTION (DB$) AS INTEGER Select database to use 1 ^ QOleContainer Align INTEGER RW alNone AllowInPlace INTEGER RW True AutoShow INTEGER RW True BorderStyle INTEGER RW bsSingle Color INTEGER RW Cursor INTEGER RW crDefault Enabled INTEGER RW True Handle INTEGER R Height INTEGER RW Hint STRING RW Left INTEGER RW 0 Modified INTEGER RW False Name STRING RW Parent QFORM/QPANEL/QTABCONTROL W ShowHint INTEGER RW False SizeMode INTEGER RW smClip State INTEGER RW osEmpty TabOrder INTEGER RW Tag INTEGER RW Top INTEGER RW 0 Width INTEGER RW Visible INTEGER RW True CreateObject FUNCTION (ClassName AS STRING) AS INTEGER Create new embedded object 1 Free SUB Release object 0 Invoke FUNCTIONI (ID AS STRING, Params, ...) AS VARIANT Invoke method/property Infinite OnKeyDown SUB (Key AS Word, Shift AS INTEGER) Key held down 2 OnKeyPress SUB (Key AS BYTE) User presses a key 1 OnKeyUp SUB (Key AS Word, Shift AS INTEGER) User releases a key 2 OnMouseDown SUB (Button%, X%, Y%, Shift%) Mouse button held down 4 OnMouseMove SUB (X%, Y%, Shift%) Mouse moves 3 OnMouseUp SUB (Button%, X%, Y%, Shift%) Mouse button is released 4 OnObjectMove SUB (Rect AS QRECT) OLE Object has moved or resized 1 OnResize VOID After OLE container is resized 0 ^ QOleObject Container QOLECONTAINER W CreateObject FUNCTION (ClassName AS STRING) AS INTEGER Create COM object, with actual name or CLSID 1 CreateRemote FUNCTION (Host AS STRING, ClassName AS STRING) AS INTEGER Create remote COM object, with actual name or CLSID 2 Free SUB Release object 0 GetIDofName FUNCTION (Name AS STRING) AS INTEGER Returns the ID of an identifier, good for checking if it exists. Returns -1 if name is not found. 1 GetObject FUNCTION (ClassName AS STRING) AS INTEGER Get active COM object, with actual name or CLSID 1 Invoke FUNCTIONI (ID AS STRING, Params, ...) AS VARIANT Invoke method/property Infinite InvokeCopy SUB (ID AS STRING, Object AS QOLEOBJECT) Copy object (might not work... yet) 2 ^ QOpenDialog Caption STRING RW FileName STRING RW Filter STRING RW FilterIndex INTEGER RW 1 InitialDir STRING RW Name STRING RW Execute FUNCTION Returns TRUE or FALSE 0 ^ QOutLine Align INTEGER RW alNone BMPClosed STRING W BMPLeaf STRING W BMPMinus STRING W BMPOpen STRING W BMPPlus STRING W BMPHandleClosed RESOURCE W BMPHandleLeaf RESOURCE W BMPHandleMinus RESOURCE W BMPHandleOpen RESOURCE W BMPHandlePlus RESOURCE W BorderStyle INTEGER RW bsSingle Color INTEGER RW Cursor INTEGER RW crDefault Enabled INTEGER RW True Font QFONT W Height INTEGER RW Hint STRING RW Item ARRAY of STRING RW ItemHeight INTEGER RW 13 ItemIndex INTEGER RW ItemSeparator STRING RW \ Left INTEGER RW 0 LineCount INTEGER RW OutLineStyle INTEGER RW osTreePictureText Name STRING RW Parent QFORM/QPANEL/QTABCONTROL W PopupMenu QPOPUPMENU W Row INTEGER RW ScrollBars INTEGER RW ssBoth ShowHint INTEGER RW False TabOrder INTEGER RW Top INTEGER RW 0 Visible INTEGER RW True Width INTEGER RW AddChild SUB (Index%, String$) Add child at Index% 2 AddLines SUBI Add lines to Outline STRING, Infinite AddOptions SUBI Add Outline options INTEGER, Infinite Clear SUB Clear all items 0 DelLines SUBI Delete lines from Outline INTEGER, Infinite DelOptions SUBI Delete Outline options INTEGER, Infinite Insert SUB (Index%, String$) Insert node at Index% 2 OnClick VOID User clicked on item 0 OnDblClick VOID User double clicked on item 0 ^ QOvalBtn Align INTEGER RW alNone BMP STRING W BMPHandle RESOURCE W Caption STRING RW Color INTEGER RW ColorHighLight INTEGER RW ColorShadow INTEGER RW Cursor INTEGER RW crDefault Down INTEGER RW False Enabled INTEGER RW True