home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form Form1
- Caption = "Tips Sample"
- ClientHeight = 1455
- ClientLeft = 1680
- ClientTop = 2115
- ClientWidth = 4455
- Height = 1860
- Left = 1620
- LinkTopic = "Form1"
- ScaleHeight = 1455
- ScaleWidth = 4455
- Top = 1770
- Width = 4575
- Begin TextBox Text2
- Height = 285
- Left = 1080
- TabIndex = 5
- Tag = "Enter Your Title Here"
- Top = 960
- Width = 1575
- End
- Begin TextBox Text1
- Height = 285
- Left = 1080
- TabIndex = 3
- Tag = "Enter Your Name Here"
- Top = 480
- Width = 1575
- End
- Begin MabryTips Tips1
- BackColor = &H0000E0E0&
- FontBold = 0 'False
- FontItalic = 0 'False
- FontName = "MS Sans Serif"
- FontSize = 8.25
- FontStrikethru = 0 'False
- FontUnderline = 0 'False
- Height = 240
- Interval = 750
- Left = 120
- Top = 120
- Width = 870
- XOffset = 4
- YOffset = 16
- End
- Begin CommandButton Command2
- Caption = "Close"
- Height = 375
- Left = 3000
- TabIndex = 1
- Tag = "Abandon Record"
- Top = 720
- Width = 1215
- End
- Begin CommandButton Command1
- Caption = "OK"
- Height = 375
- Left = 3000
- TabIndex = 0
- Tag = "Save Record"
- Top = 240
- Width = 1215
- End
- Begin Label Label2
- Alignment = 1 'Right Justify
- Caption = "Title:"
- Height = 255
- Left = 120
- TabIndex = 4
- Top = 960
- Width = 855
- End
- Begin Label Label1
- Alignment = 1 'Right Justify
- Caption = "Name:"
- Height = 255
- Left = 120
- TabIndex = 2
- Top = 480
- Width = 855
- End
- Option Explicit
- Sub Tips1_TipDisplay (ControlName As String, HelpContextID As Long, Tag As String)
- If Left(ControlName, 4) = "Text" Then
- Tips1.YOffset = 6
- Else
- Tips1.YOffset = 16
- End If
- End Sub
-