<OBJECT>.FINDBY_DEFINEDKEY()
Syntax
<OBJECT>.FINDBY_DEFINEDKEY( [ Title as C [, Prompt as C [, Type as N [, Expression as C [, Modeless as L [, Image_Name as C ]]]]]] )
|
Argument |
Description |
|
Title |
Optional. Default = "Find by Key". The title of the dialog box. |
|
Prompt |
Optional. Default = "Search for ". The prompt to appear next to the type-in field |
|
Type |
Optional. Default = 1
|
|
Expression |
Optional. Default = "". The tag name of an index or an Xbasic expression that selects records. |
|
Modeless |
Optional. Default = .T.
|
|
Image_Name |
Optional. Default = "$a5_find_by_key". The name of the function to call. |
Description
The <OBJECT>.FINDBY_DEFINEDKEY() method applies to:
Browses (for <OBJECT> use either the <BROWSE> pointer or the name of the browse)
Forms (for <OBJECT> use either the <FORM> pointer or the name of the form)
The <OBJECT>.FINDBY_DEFINEDKEY() method is a high level approach to displaying the Find by Key dialog box that allows you to customize its appearance and preset its filter.
Supported By
Alpha Five Version 5 and Above
Limitations
Desktop applications only.
Example
|
dim ptr as P ptr = form.load("Customer Information") ptr.show() ptr.FindBy_DefinedKey() |