|
pfc_undoarrange
|
|
Full name
|
pfc_n_cst_winsrv_sheetmanager.pfc_undoarrange
|
Access
|
public
|
Extend of
|
integer
|
Return value
|
integer
|
Prototype
|
event integer pfc_undoarrange()
|
Name
|
Datatype
|
li_cnt
|
integer
|
li_count
|
integer
|
event pfc_undoarrange;call n_cst_winsrv::pfc_undoarrange;//////////////////////////////////////////////////////////////////////////////
//
// Event: pfc_undoarrange
//
// Arguments: none
//
// Returns: integer
// number of sheets affected by undo
// -1 = error
//
// Description: Undo last window arrange
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 5.0 Initial version
//
//////////////////////////////////////////////////////////////////////////////
//
// 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.
//
//////////////////////////////////////////////////////////////////////////////
integer li_cnt
integer li_count
li_count = UpperBound (inv_sheet)
for li_cnt = li_count to 1 step -1
if IsValid (inv_sheet[li_cnt].w_obj) then
inv_sheet[li_cnt].w_obj.windowstate = inv_sheet[li_cnt].e_state
inv_sheet[li_cnt].w_obj.width = inv_sheet[li_cnt].i_width
inv_sheet[li_cnt].w_obj.height = inv_sheet[li_cnt].i_height
inv_sheet[li_cnt].w_obj.x = inv_sheet[li_cnt].i_x
inv_sheet[li_cnt].w_obj.y = inv_sheet[li_cnt].i_y
end if
next
SetNull (ie_arrange)
return li_count
end event
Name
|
Owner
|
systemfunctions.isvalid |
systemfunctions
|
systemfunctions.setnull |
systemfunctions
|
systemfunctions.upperbound |
systemfunctions
|