|
pfc_propertycontrols
|
|
Full name
|
pfc_u_tabpg_dwproperty_srvmultitable.pfc_propertycontrols
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
event integer pfc_propertycontrols()
|
Name
|
Datatype
|
lb_available
|
boolean
|
event pfc_propertycontrols;call super::pfc_propertycontrols;//////////////////////////////////////////////////////////////////////////////
//
// Event: pfc_propertycontrols
//
// Arguments: None
//
// Returns: Integer
// 1 if it succeeds.
// -1 if an error occurs.
//
// Description:
// Enable or Disable the appropriate controls.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 6.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.
//
//////////////////////////////////////////////////////////////////////////////
boolean lb_available
// Determine if the objects should available.
lb_available = cbx_register.Checked
// Disable or Enable the controls.
rb_wherekey.Enabled = lb_available
rb_wherekeyandupd.Enabled = lb_available
rb_wherekeyandmod.Enabled = lb_available
rb_keydelthenins.Enabled = lb_available
rb_keyupdate.Enabled = lb_available
lb_keycolumns.Enabled = lb_available
lb_updatecolumns.Enabled = lb_available
Return 1
end event