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

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

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

    项目描述:
    How to Make a MS FlexGrid Control Editable
    There is not much documentation about MS FlexGrid; however, the technique suggested by Microsoft is to use an auxiliary Edit control for doing the task (see Reference 1).

    The idea is simple. When you want to edit the text in a cell, you only need to retieve the cell's rectangle and place an edit control over it. The edit control will manage all the keyboard input. When the editing is finished, the text in the edit control is written into the cell, replacing the previous text. Then, the edit box is hidden until you want to edit other cell again.

    如何让 MS FlexGrid Control 控件可编辑?关于 MS FlexGrid还没有很多文档,然而, Microsoft建议的技术是使用一个附加的编辑框来完成这一功能。
    想法是简单的。当你需要编辑一个网格单元中的文本时,只需要获取单元格的矩形,并在上面放置一个文本编辑框。编辑框会处理所有的键盘输入。当完成编辑后,再将编辑框中的文本复制到单元格中,取代以前的文本。接着再隐藏编辑框,直到你需要再编辑另一个单元格。
    来源: http://www.codeguru.com/controls/EditableGrid.html
    类别:
    发布者: cbd002

    最新发布源码包
    软件包 版本号 日期 本地下载
    EditableGrid  1.0  2004-04-17 下载

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

      » 合 作 伙 伴