of_initialize


pfcdwsrv.pbl   >   pfc_n_cst_dwsrv_find   >   of_initialize   

Full name pfc_n_cst_dwsrv_find.of_initialize
Access public
Extend of integer
Return value integer
Prototype public function integer of_initialize(n_cst_findattrib)

Name Datatype
No Data

Name Datatype
No Data

public function integer of_initialize (n_cst_findattrib anv_findattrib);//////////////////////////////////////////////////////////////////////////////
//
//	Function:  		of_initialize
//
//	Access:  		public
//
//	Arguments:		
//	anv_findattrib	NonVisual holding the desired initial values.
//
//	Returns:  		Integer
//
//	Description:  	Initialize the options for this service.
//
//////////////////////////////////////////////////////////////////////////////
//
//	Revision History
//
//	Version
//	5.0   Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
//	Copyright © 1996-1997 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.
//
//////////////////////////////////////////////////////////////////////////////

//Check arguments.
If IsNull(anv_findattrib) Or Not IsValid(anv_findattrib) Then
	Return -1
End If

inv_findattrib.is_find = anv_findattrib.is_find
inv_findattrib.is_replacewith  = anv_findattrib.is_replacewith

//Whole word capabilities are not supported on column searches.
inv_findattrib.ib_wholewordvisible =False
inv_findattrib.ib_wholewordenabled =False
inv_findattrib.ib_wholeword = False

inv_findattrib.ib_matchcasevisible = anv_findattrib.ib_matchcasevisible
inv_findattrib.ib_matchcaseenabled = anv_findattrib.ib_matchcaseenabled
inv_findattrib.ib_matchcase = anv_findattrib.ib_matchcase

inv_findattrib.ib_directionvisible = anv_findattrib.ib_directionvisible
inv_findattrib.ib_directionenabled = anv_findattrib.ib_directionenabled
inv_findattrib.is_direction = anv_findattrib.is_direction

//Look Options are required for Column Searches.
inv_findattrib.ib_lookvisible = True
inv_findattrib.ib_lookenabled = True

Return 1

end function

     
Name Owner
No Data

     
Name Owner
systemfunctions.isnull systemfunctions
systemfunctions.isvalid systemfunctions

     
Full name
No Data

     
Name Scope
No Data