文档详情

在Delphi中用拼音首字符序列来实现检索功能(In Delphi, the first character sequence is used to realize the retrieval function).doc

发布:2017-07-21约3.93千字共7页下载文档
文本预览下载声明
在Delphi中用拼音首字符序列来实现检索功能(In Delphi, the first character sequence is used to realize the retrieval function) In Delphi, the first character sequence is used to implement the retrieval function, 2008-07-11 10:44 am In daily life we often use electronic notepad to find personal mail list information, or query customer files or business data in the application unit, this process often need to enter the Chinese characters a huge amount of information, this is a headache for people familiar with computer, who are not familiar with computer or not at all understand the user input Chinese characters simply in awe. As a new attempt for data retrieval technology, the author explores the first character sequence using Chinese characters Pinyin as a retrieval key, so that users do not have to use Chinese characters, each character can only Chinese characters Pinyin first simply type to query information. For example, if you want to find the keyword peoples Bank of China, you only need to enter zgrmyh. The author hopes that through the following example, for the vast number of computer counterparts to play a role in attracting attention, let us develop the program more convenient and easy to use. ---- the principle is very simple, find Chinese characters table Pinyin first characters are A to Z Chinese characters code range, so that the scope for searching Chinese characters only check the code in which a character, you can determine its Pinyin first character. - the procedure is more simple, including 3 controls: a list of all the retrieved information is stored; a list is used to retrieve the stored information; an edit box to enter the search keyword (i.e. Pinyin first character sequence). Details are as follows: 1. enter Delphi to create a new project: Project1 - 2. create the following controls on Form1 and fill in the attributes: Control type property name property value Edit Name Search ListBox Name SourceList Items enters a string, such as a name, that is used to provide
显示全部
相似文档