📄 sle_find.htm
字号:
<HTML>
<TITLE>sle_find
</TITLE>
<BODY BGCOLOR="#FFFFFF">
<TABLE><TR><TD>
<H1>
sle_find
</TR></TR></TABLE>
<HR SIZE=1>
<TABLE WIDTH=100%>
<TR><TD VALIGN=TOP WIDTH=200><B>Ancestor</B></TD>
<TD WIDTH=100%>
singlelineedit
<BR><BR>
</TD></TR>
<TR><TD VALIGN=TOP><B>Comments</B></TD>
<TD>
DW Search V1.0
<BR><BR>
</TD></TR>
<TR><TD VALIGN=TOP><B>Modified</B></TD>
<TD>
6/12/99 10:26:11
<BR><BR>
</TD></TR>
<TR><TD VALIGN=TOP><B>Library</B></TD>
<TD>
dwsearch.pbl
<BR><BR>
</TD></TR>
<TR><TD VALIGN=TOP><B>Model</B></TD>
<TD>
<TABLE BORDER=1>
<TR><TD BGCOLOR="#DDDDDD"><B>sle_find</B></TD>
<TR><TD BGCOLOR="#EEEEEE">PRIVATE:<BR>
datawindow idw_Search<BR>
string is_ColName<BR>
boolean ib_Init = FALSE<BR>
integer ii_LastRow</TD>
<TR><TD BGCOLOR="#EEEEEE">
<A HREF="#initdwrefdatawindowadwsearchstringascolname">
initdw
(as_colname, as_colname)
returns boolean
</A><BR>
</TD>
</TABLE>
<P>
</TD></TR>
<TR><TD VALIGN=TOP><B>Functions</B></TD><TD>
<TABLE VALIGN=TOP ALIGN=TOP BORDER=0 WIDTH=100%>
<TR><TD COLSPAN=2><HR SIZE=1>
</TD></TR>
<TD VALIGN=TOP COLSPAN=2><B>
<A NAME="initdwrefdatawindowadwsearchstringascolname">
initdw
</A>
</B><BR><BR>
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=100><STRONG>Description</TD>
<TD>
Set a datawindow instance variable with the datawindow
passed to this method. Also, set the column that in which
the developer wants the search to be performed.
</TD>
<TR>
<TD VALIGN=TOP><STRONG>Return</TD>
<TD>
boolean<BR>
<LI> TRUE, Initialized OK
<LI> FALSE, Initialize failed
</TD>
<TR>
<TD VALIGN=TOP><STRONG>Access</TD>
<TD>
public
</TD>
<TR>
<TR>
<TD VALIGN=TOP><STRONG>Arguments</TD>
<TD>
<TABLE BORDER=1 WIDTH=100%>
<TR BGCOLOR="#DDDDDD">
<TD><STRONG>Argument</STRONG></TD>
<TD><STRONG>DataType</STRONG></TD>
<TD><STRONG>Description</STRONG></TD>
</TR>
<TR VALIGN=TOP BGCOLOR="#EEEEEE">
<TD>adw_Search</TD>
<TD>datawindow</TD>
<TD> Datawindow in which the search is to be
performed
</TD>
</TR>
<TR VALIGN=TOP BGCOLOR="#EEEEEE">
<TD>as_ColName</TD>
<TD>string</TD>
<TD> Column name to search for the entered value.
</TD>
</TR>
</TABLE>
<BR>
</TD></TR>
</TABLE>
</TD>
</TR>
<TR><TD VALIGN=TOP><B>Events</TD><TD>
<TABLE VALIGN=TOP ALIGN=TOP BORDER=0 WIDTH=100%>
<TR><TD COLSPAN=2><HR SIZE=1></TD></TR>
<TR><TD VALIGN=TOP COLSPAN=2><B>
key_press
</B><BR>
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=100><STRONG>Description</TD>
<TD>
Whenever a key is pressed, Check to see if the arrow
up or down has been pressed. If it has then scroll the
datawindow up or down accordingly. Otherwise we
Post the Modified event for this object.
We want the modified event to
fire after every key is pressed, but the Modified
event is only fired after the user tabs
away from the field or mouse clicks somewhere else
on the window.
<BR>
</TD></TR>
<TR><TD COLSPAN=2><HR SIZE=1></TD></TR>
<TR><TD VALIGN=TOP COLSPAN=2><B>
modified
</B><BR>
</TD>
</TR>
<TR>
<TD VALIGN=TOP WIDTH=100><STRONG>Description</TD>
<TD>
Check to see if the data entered in the sle is found in the
appropriate column in the datawindow. If so, scroll to the
row in the datawindow.
<BR>
</TD></TR>
</TABLE>
</TD></TR>
</TABLE>
<HR SIZE=1>
<FONT SIZE="-1">
Document Generated:
6/12/99 10:26:40
</FONT>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -