联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 Autoresize a Form and Its Controls when - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

源码库中源码数量为18996
有贡献人员名单:

-= 更多 =-
  • ffdshow
  • jasperreports
  • Air Traffic Controller
  • PoolMan
  • virtualdub-win
  • Apache-SSL-Jserv
  • CppUnit
  • GLgraph
  • FCK editor
  • Async Professional
  • -= 更多 =-

    项目描述:
    The use of the common dialog control in VB5/6 allowes the programer to easly give the user the ability to change font characterists. However resizing the controls and the form to accommodate the changes in the font characteristics poses some problems for the programmer. The problem is that there is no way to know in advance which font characterists the user will change. If you want to change the size of a control, for example a textbox, to a size that will accommodate a given font then you must know the height and width of the characters when that font is applied.
    使用VB5/6中的公共对话框控件可以让程序员方便地让用户改变字体字符。但是重新设定控件和窗体的大小以适应字体字符的变化给程序员造成一些困难,因为不能事先知道用户将改成什么字体。如果你想改变一个控件(如一个文本框)的大小以适应重新设置的字体,你必需知道使用字体的字符的高度和宽度。
    来源: http://www.codeguru.com/vb_forms/1817.shtml
    类别:
    发布者: cbd002

    最新发布源码包
    软件包 版本号 日期 本地下载
    1817_cresize  1.1  2004-03-06 下载

    原始下载连接(国外) http://www.codeguru.com/vb_forms/1817_cresize.zip
    http://www.codeguru.com/code/legacy/vb_forms/1817_cresize.zip

      » 合 作 伙 伴