定制自己的提示栏VB源码程序 - vb源码程序 - 谷速源码
下载频道> 资源分类> 编程语言> VB源码> 定制自己的提示栏VB源码程序

标题:定制自己的提示栏VB源码程序
分享到:

所属分类: VB源码 资源类型: 文件大小: 24.58 KB 上传时间: 2016-01-20 22:58:15 下载次数: 7 资源积分:1分 提 供 者: vb源码代做 定制自己的提示栏VB源码程序
内容:
定制自己的提示栏VB源码程序,程序员在编程的过程中可以参考学习使用,希望对IT程序员有用,此源码程序简单易懂、方便阅读,有很好的学习价值!
部分代码如下:
VERSION 5.00
Begin VB.Form Form1 
   Caption         =   "定制自己的提示栏"
   ClientHeight    =   2565
   ClientLeft      =   2070
   ClientTop       =   2010
   ClientWidth     =   4605
   ClipControls    =   0   'False
   LinkTopic       =   "Form1"
   ScaleHeight     =   2565
   ScaleWidth      =   4605
   Begin VB.TextBox Text1 
      Height          =   705
      Left            =   120
      Locked          =   -1  'True
      TabIndex        =   1
      Text            =   "文本图形提示栏"
      Top             =   480
      Width           =   2235
   End
   Begin VB.CommandButton Command1 
      Caption         =   "多行文本提示栏"
      Height          =   615
      Left            =   2520
      TabIndex        =   0
      Top             =   480
      Width           =   1635
   End
End
Attribute VB_Name = "Form1"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
 
Dim m_cTT As New cTooltip
'
 
Private Sub Form_Load()
  Dim ctrl As Control
  
  With m_cTT
    
    ' Creat the tooltip window
    Call .Create(Me)
 
    ' Set the tooltip's width so that it displays multiline text,
    ' and that no tool's line length exceeds roughly 240 pixels.
    .MaxTipWidth = 240
 
    ' Set the tooltip window to show for 20 secs
    .DelayTime(ttDelayShow) = 20000
    
    ' Add a tooltip tool to each control on the Form
    For Each ctrl In Controls: Call .AddTool(ctrl): Next
    
    ' Set the text for Command1's tool.
    .ToolText(Command1) = "一个特别长的文本行将会显示为多行," _
                       & _
                          "并且如果 MaxTipWidth 未设置为-1, 文本格式等特点将会大致设置..."
    
    ' Set the text for Text1's tool.
    .ToolText(Text1) = " 您可以制作优美的文本图形... :-) " & vbCrLf & _
      "          +-----oOO----(_)----------------+" & vbCrLf & _
      "    |    表达特别的含义    |" & vbCrLf & _
      "         +********************************+" & vbCrLf & _
      "                        |__|  |__|" & vbCrLf & _
      "                         ||      ||" & vbCrLf & _
      "                      ooO   Ooo"
  End With   ' m_cTT
 
End Sub
 

文件列表(点击上边下载按钮,如果是垃圾文件请在下面评价差评或者投诉):

定制自己的提示栏VB源码程序/
定制自己的提示栏VB源码程序/test/
定制自己的提示栏VB源码程序/Form1.frm
定制自己的提示栏VB源码程序/MSSCCPRJ.SCC
定制自己的提示栏VB源码程序/Module1.bas
定制自己的提示栏VB源码程序/TTDefs_472.bas
定制自己的提示栏VB源码程序/Tooltip.cls
定制自己的提示栏VB源码程序/TooltipControl.VBP
定制自己的提示栏VB源码程序/TooltipControl.vbw
定制自己的提示栏VB源码程序/test/4e.exe
定制自己的提示栏VB源码程序/test/4e.vbp
定制自己的提示栏VB源码程序/test/4e.vbw
定制自己的提示栏VB源码程序/test/Form1.frm
定制自己的提示栏VB源码程序/test/Form1.log
定制自己的提示栏VB源码程序/test/Form4.frm
定制自己的提示栏VB源码程序/test/MSSCCPRJ.SCC
定制自己的提示栏VB源码程序/test/Module1.bas
定制自己的提示栏VB源码程序/test/TTDefs_472.bas
定制自己的提示栏VB源码程序/test/Tooltip.cls
定制自己的提示栏VB源码程序/test/TooltipControl.VBP
定制自己的提示栏VB源码程序/test/TooltipControl.vbw

关键词: 源码 程序

编程语言下载排行

Top_arrow
回到顶部
联系方式| 版权声明| 招聘信息| 广告服务| 银行汇款| 法律顾问| 兼职技术| 付款方式| 关于我们|
网站客服网站客服 程序员兼职招聘 程序员兼职招聘
沪ICP备19040327号-3
公安备案号:沪公网安备 31011802003874号
库纳格流体控制系统(上海)有限公司 版权所有
Copyright © 1999-2014, GUSUCODE.COM, All Rights Reserved