pfc_default


pfcapsrv.pbl   >   pfc_w_find   >   pfc_default   

Full name pfc_w_find.pfc_default
Access public
Extend of
Return value
Prototype event pfc_default()

Name Datatype
No Data

Name Datatype
No Data

event pfc_default;call super::pfc_default;//////////////////////////////////////////////////////////////////////////////
//	Event: 			pfc_default
//	Arguments: 		None
//	Returns:  		None
//	Description:  Gather all information entered by the user and call event
// 					on requestor to search for the text
//////////////////////////////////////////////////////////////////////////////
//	Rev. History	Version
//						5.0   Initial version
//						7.0	Set FindItem Start Index to 0
//////////////////////////////////////////////////////////////////////////////
//	Copyright © 1996-1999 Sybase, Inc. and its subsidiaries.  All rights reserved.  Any distribution of the 
// PowerBuilder Foundation Classes (PFC) source code by other than Sybase, Inc. and its subsidiaries is prohibited.
//////////////////////////////////////////////////////////////////////////////

//Set Find Where index (this index is the array number the user selected).
inv_findattrib.ii_lookindex = ddlb_findwhere.finditem(ddlb_findwhere.text,0)

//Set text to Find What.
inv_findattrib.is_find = sle_findwhat.text

//Set the Direction value.
inv_findattrib.is_direction = ddlb_searchdirection.text

//Set the WholeWord flag.
inv_findattrib.ib_wholeword = cbx_wholeword.Checked

//Set the MatchCase flag.
inv_findattrib.ib_matchcase = cbx_matchcase.Checked

//Call event to process.
If inv_findattrib.ipo_requestor.dynamic event pfc_findnext(inv_findattrib) = 0 Then
	of_Messagebox("pfc_find_finishsearch", this.Title, &
		this.Title+" has finished searching.", Information!, OK!, 1)
end if

end event

     
Name Owner
pfc_w_find.cb_findnext.clicked cb_findnext

     
Name Owner
dropdownlistbox.finditem dropdownlistbox
pfc_w_master.of_messagebox pfc_w_master

     
Full name
pfc_w_find

     
Name Scope
No Data