|
of_getitem
|
|
Full name
|
pfc_n_cst_mru.of_getitem
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
public function integer of_getitem(long,ref n_cst_mruattrib)
|
public function integer of_getitem (long al_row, ref n_cst_mruattrib anv_mruattrib);//////////////////////////////////////////////////////////////////////////////
//
// Function: of_GetItem
//
// Access: public
//
// Arguments:
// al_row row to return from datastore
// anv_mruattrib MRU atribute structure - passed by reference
//
// Returns: integer
// SUCCESS = 1
// ERROR = -1
//
// Description:
// Return MRU information in the datastore to calling function
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
// check arguments
if IsNull(al_row) or (al_row < 1) then
return -1
end if
// populate attribute object
anv_mruattrib.is_id = ids_mrukeys.object.s_id[al_row]
anv_mruattrib.is_classname = ids_mrukeys.object.s_classname[al_row]
anv_mruattrib.is_menuitemname = ids_mrukeys.object.s_menuitemname[al_row]
anv_mruattrib.is_menuitemkey = ids_mrukeys.object.s_menuitemkey[al_row]
anv_mruattrib.is_menuitemmhelp = ids_mrukeys.object.s_menuitemmhelp[al_row]
return 1
end function
Name
|
Owner
|
systemfunctions.isnull |
systemfunctions
|