联盟首页 协同开发 共创软件 开放源码 软件工程 共创论坛 关于联盟
  您的位置 » 开放源码库【成熟 - 项目摘要 首页 | 分类源码 | 提交源码 | 下载统计 | 原创源码 | 成熟源码 | 代码片断
 
 Edit Data in a Read Only Grid (MSFlexGri - 项目摘要
摘要 | 管理 | 论坛
文档 | 软件包

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

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

    项目描述:
    Basically, a textbox is positioned over the cell that you want to edit. When you click the cell, hit the Enter key or begin typing in the selected cell, its contents are copied into the textbox allowing you to make the desired changes. When the textbox looses focus the changed data is copied back to the grid cell and the textbox is hidden. The trick is to make this look and feel as transparent as possible. The key to doing this is positioning the textbox to correctly match the cell in the grid and allowing a simple means of navigating through the grid.
    基本上,一个文本框已放置在你所要编辑的单元格中。当你点击单元格时,按输入键或者在选择的单元格中开始输入,它的内容复制到文本框中,允许你获得想要的更改。当文本框失去焦点时更改的数据复制到网格单元中,文本框隐藏起来。这样就使得这个看起来和感觉起来可能像透明地一样。实现这个的关键是在网格中,定位文本框来正确地匹配单元格,允许一个简单的方法在网格中导航。
    来源: http://www.freevbcode.com/ShowCode.Asp?ID=247
    类别:
    发布者: cbd001

    最新发布源码包
    软件包 版本号 日期 本地下载
    EditGrid  1.0  2003-11-24 下载

    原始下载连接(国外) http://www.freevbcode.com/code/EditGrid.zip

      » 合 作 伙 伴