pfc_preopen


pfcutil.pbl   >   pfc_w_sqlspyinspect   >   pfc_preopen   

Full name pfc_w_sqlspyinspect.pfc_preopen
Access public
Extend of
Return value
Prototype event pfc_preopen()

Name Datatype
No Data

Name Datatype
No Data

event pfc_preopen;call super::pfc_preopen;//////////////////////////////////////////////////////////////////////////////
//
//	Event:  			pfc_pre_open
//
//	(Arguments:		None)
//
//	(Returns:  		None)
//
//	Description:	Handle processing that occurs before the open event.
//
//////////////////////////////////////////////////////////////////////////////
//	
//	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.
//
//////////////////////////////////////////////////////////////////////////////

// Allow window to close without the CloseQuery checks being performed.
ib_disableclosequery = True

//Set focus on the Current SQLSyntax detail
SetFocus(mle_currentsyntax)

//Prepare window for user interaction.
mle_currentheading.Text = gnv_app.inv_debug.inv_sqlspy.of_GetCurrentHeading()
mle_currentsyntax.Text = gnv_app.inv_debug.inv_sqlspy.of_GetCurrentSyntax()

//If appropriate, start the Preference service.
If gnv_app.of_IsRegistryAvailable() Then
	If Len(gnv_app.of_GetUserKey())> 0 Then 
		of_SetPreference(True)
	End If
Else
	If Len(gnv_app.of_GetUserIniFile()) > 0 Then
		of_SetPreference(True)
	End If
End If

end event

     
Name Owner
No Data

     
Name Owner
systemfunctions.len systemfunctions
systemfunctions.setfocus systemfunctions
n_cst_demopfc.of_isregistryavailable n_cst_demopfc
pfc_n_cst_appmanager.of_getuserinifile pfc_n_cst_appmanager
pfc_n_cst_appmanager.of_getuserkey pfc_n_cst_appmanager
pfc_w_master.of_setpreference pfc_w_master
pfc_n_cst_sqlspy.of_GetCurrentHeading pfc_n_cst_sqlspy
pfc_n_cst_sqlspy.of_GetCurrentSyntax pfc_n_cst_sqlspy
w_master.pfc_preopen w_master

     
Full name
pfc_w_sqlspyinspect
demopfc

     
Name Scope
No Data