当前位置:首页 » 软件开发
开发技术指南» 文章正文
    引言: Delphi中实现汉字拼音声母查询,unit代码如下:unit
 

 

 ·delphi编程控制摄像头    »显示摘要«
    摘要: 你的电脑有没有摄像头?看到别人用qq玩视屏你会不会去想怎么实现的?这里介绍使用delphi使用ms的avicap32.dll就可轻松的实现对摄像头编程,如果再加上你的网络编程水平,实现一个视屏聊天就不成什么问题了。看看下面代码的代码:const wm_cap_start = wm_user;const wm_cap_stop = wm_ca......
 ·lua头文件翻译之lauxlib    »显示摘要«
    摘要: {** $id: lauxlib.h,v 1.60 2003/04/03 13:35:34 roberto exp $** auxiliary functions for building lua libraries** see copyright notice in lua.h} { this .h header file is translated by melice } unit lau......


Delphi中实现汉字拼音声母查询

delphi中实现汉字拼音声母查询,unit代码如下:

【程序编程相关:delphi小技巧集锦

【推荐阅读:模拟Nokia手机输入的编辑框

unit unit1; 【扩展信息:使TStringGrid自适应宽度

interface

uses

  windows, messages, sysutils, classes, graphics, controls, forms, dialogs,

  stdctrls;

type

  tform1 = class(tform)

    listbox1: tlistbox;

    listbox2: tlistbox;

    edit1: tedit;

    label1: tlabel;

    procedure edit1change(sender: tobject);

    procedure formshow(sender: tobject);

    procedure formdestroy(sender: tobject);

    procedure edit1enter(sender: tobject);

    procedure edit1exit(sender: tobject);

  private

    { private declarations }

  public

     resultlist1:tstrings;

  end;

var

  form1: tform1;

  procedure searchbypyindexstr(pyindexstr :string);

implementation

{$r *.dfm}

function getpyindexchar(hzchar:string):string;

begin


...   下一页
 ·simple    »显示摘要«
    摘要: ......
» 本期热门文章:

©2000-2007 All Rights Reserved. 最佳浏览:1024X768 MSIE