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

QGLASSFRAME Component

QGlassFrame is a 3rd party Rapid-Q component, that makes your form look transparent and shaded, made possible by Aleksey Xacker. No support is offered for this component, there are some special cases in using this component.

QGlassFrame Properties
FieldTypeR/WDefault
AlignINTEGERRWalNone
ClientHeightINTEGERRW
ClientWidthINTEGERRW
ColorINTEGERRW
CursorINTEGERRWcrDefault
HandleINTEGERRW
HeightINTEGERRW
HintSTRINGRW
LeftINTEGERRW
MoveableINTEGERRWTrue
ParentQFORM/QPANEL/QTABCONTROLW
PopupMenuQPOPUPMENUW
ShowHintINTEGERRWFalse
TopINTEGERRW
TransparencyINTEGERRW60
TransparentColorINTEGERRW0
WidthINTEGERRW

QGlassFrame Methods
MethodTypeDescriptionParams


QGlassFrame Examples
$INCLUDE "RAPIDQ.INC"

CREATE Form AS QForm
  Caption = "Transparent Form"
  Center
  CREATE GlassFrame AS QGlassFrame
      Align = alClient
  END CREATE
  ShowModal
END CREATE


'------- Weird transparency color error
$INCLUDE "RAPIDQ.INC"

CREATE Form AS QForm
  Caption = "Transparent Form"
  Center
  CREATE GlassFrame AS QGlassFrame
      Align = alClient
      TransparentColor = &HFF0000
  END CREATE
  Show
END CREATE

'-- I don't know what's wrong, but doing this seems to
'-- work better than using ShowModal when changing colors

DO
    DoEvents
LOOP UNTIL Form.Visible = 0

Prev Component Contents Next Component
Hosted by uCoz
Hosted by uCoz