home *** CD-ROM | disk | FTP | other *** search
Wrap
VERSION 2.00 Begin Form w_check_demo BackColor = &H00C0C0C0& BorderStyle = 1 'Fixed Single Caption = "Enhanced Standard Controls Demo" ClientHeight = 4410 ClientLeft = 885 ClientTop = 1425 ClientWidth = 7350 Height = 4935 Icon = CT_CHECK.FRX:0000 Left = 825 LinkTopic = "Form1" MaxButton = 0 'False MDIChild = -1 'True ScaleHeight = 4410 ScaleWidth = 7350 Top = 960 Width = 7470 Begin ctGROUP ctGroup2 Alignment = 1 'Right BackColor = &H00C0C0C0& BorderColor = &H00808080& BorderType = 4 'Lowered Inset Caption = "Radio Buttons" FontBold = 0 'False FontItalic = 0 'False FontName = "MS Sans Serif" FontSize = 9.75 FontStrikethru = 0 'False FontUnderline = 0 'False ForeColor = &H00000000& Height = 2295 Left = 4740 TabIndex = 7 TextPosition = 0 'Top Top = 1800 Width = 2115 Begin ctRADIO ctRadio4 Alignment = 1 'Right Justify BackColor = &H00C0C0C0& Caption = "User Defined" DisableColor = &H00808080& ForeColor = &H00000000& Height = 315 Left = 360 PicStyle = 0 'User Defined PictureFalse = CT_CHECK.FRX:0302 PictureTrue = CT_CHECK.FRX:03F4 ShowFocus = 0 'False TabIndex = 11 Top = 1620 Value = 0 'False Width = 1455 End Begin ctRADIO ctRadio3 Alignment = 1 'Right Justify BackColor = &H00C0C0C0& Caption = "Style #3" DisableColor = &H00808080& ForeColor = &H00000000& Height = 315 Left = 360 PicStyle = 3 'Style #3 ShowFocus = -1 'True TabIndex = 10 Top = 1200 Value = 0 'False Width = 1455 End Begin ctRADIO ctRadio2 Alignment = 1 'Right Justify BackColor = &H00C0C0C0& Caption = "Style #2" DisableColor = &H00808080& ForeColor = &H00000000& Height = 315 Left = 360 PicStyle = 2 'Style #2 ShowFocus = -1 'True TabIndex = 9 Top = 780 Value = 0 'False Width = 1455 End Begin ctRADIO ctRadio1 Alignment = 1 'Right Justify BackColor = &H00C0C0C0& Caption = "Style #1" DisableColor = &H00808080& ForeColor = &H00000000& Height = 315 Left = 360 PicStyle = 1 'Style #1 ShowFocus = -1 'True TabIndex = 8 Top = 360 Value = 0 'False Width = 1455 End End Begin ctGROUP ctGroup1 Alignment = 0 'Left BackColor = &H00C0C0C0& BorderColor = &H00808080& BorderType = 4 'Lowered Inset Caption = "Check Buttons " FontBold = 0 'False FontItalic = 0 'False FontName = "MS Sans Serif" FontSize = 9.75 FontStrikethru = 0 'False FontUnderline = 0 'False ForeColor = &H00000000& Height = 2295 Left = 360 TabIndex = 2 TextPosition = 0 'Top Top = 1800 Width = 2115 Begin ctCHECK ctCheck4 Alignment = 0 'Left Justify BackColor = &H00C0C0C0& Caption = "User Defined" DisableColor = &H00808080& ForeColor = &H00000000& Height = 315 Left = 240 PicStyle = 0 'User Defined PictureFalse = CT_CHECK.FRX:04E6 PictureTrue = CT_CHECK.FRX:05B0 ShowFocus = 0 'False TabIndex = 6 Top = 1620 Value = 0 'False Width = 1575 End Begin ctCHECK ctCheck3 Alignment = 0 'Left Justify BackColor = &H00C0C0C0& Caption = "Style #3" DisableColor = &H00808080& ForeColor = &H00000000& Height = 315 Left = 240 PicStyle = 3 'Style #3 ShowFocus = -1 'True TabIndex = 5 Top = 1200 Value = 0 'False Width = 1575 End Begin ctCHECK ctCheck2 Alignment = 0 'Left Justify BackColor = &H00C0C0C0& Caption = "Style #2" DisableColor = &H00808080& ForeColor = &H00000000& Height = 315 Left = 240 PicStyle = 2 'Style #2 ShowFocus = -1 'True TabIndex = 4 Top = 780 Value = 0 'False Width = 1575 End Begin ctCHECK ctCheck1 Alignment = 0 'Left Justify BackColor = &H00C0C0C0& Caption = "Style #1" DisableColor = &H00808080& ForeColor = &H00000000& Height = 315 Left = 240 PicStyle = 1 'Style #1 ShowFocus = -1 'True TabIndex = 3 Top = 360 Value = 0 'False Width = 1575 End End Begin CommandButton Command1 Caption = "Exit" Height = 375 Left = 3060 TabIndex = 0 Top = 3720 Width = 1095 End Begin ctFRAME ctFrame1 BackColor = &H00C0C0C0& BorderColor = &H00FFFFFF& DistanceApart = 5 Height = 1395 InnerBorder = 1 'None InnerWidth = 1 Left = 240 OuterBorder = 4 'Drop Shadow OuterWidth = 6 ShadowColor = &H00808080& ShowBottom = -1 'True ShowLeft = -1 'True ShowRight = -1 'True ShowTop = -1 'True TabIndex = 12 Top = 180 Width = 6855 Begin Label Label2 Alignment = 2 'Center BackColor = &H00C0C0C0& Caption = "This demo uses the ctCHECK (check box), ctRADIO (radio buttons), ctGROUP (group box), and ctFRAME (frame control). These controls offer some enhanced features over their standard counterparts, and offer an easy way to change the look and feel of you windows." FontBold = 0 'False FontItalic = 0 'False FontName = "MS Sans Serif" FontSize = 9.75 FontStrikethru = 0 'False FontUnderline = 0 'False ForeColor = &H00800000& Height = 1095 Left = 180 TabIndex = 1 Top = 120 Width = 6495 End End Sub Command1_Click () Unload w_check_demo End Sub Sub Form_Load () ' Center the window on the screen Move (Screen.Width - Width) / 2, (Screen.Height - Height) * .25 w_mdi_main.bt_check = BUTTON_DISABLE End Sub Sub Form_Unload (Cancel As Integer) w_mdi_main.bt_check = BUTTON_UP End Sub