当前位置: 代码迷 >> PB >> pfc 12.5 的 pfc_w_master 的 pfc_print 事件有错, 念害死人
  详细解决方案

pfc 12.5 的 pfc_w_master 的 pfc_print 事件有错, 念害死人

热度:310   发布时间:2016-04-29 05:14:31.0
pfc 12.5 的 pfc_w_master 的 pfc_print 事件有错, 想害死人啊
//////////////////////////////////////////////////////////////////////////////
//
// Event:  pfc_print
//
// Arguments: None
//
// Returns:  integer
//  1 = success
//  0 = nothing done
// -1 = error
//
// Description:
// Extends this event at descendant level in order to print windows content.
//  Extends pfc_preprint() event at descendant level to implement pre printing process
//  Extends pfc_postprint() event at descendant level  to implements post printing process.
//
//////////////////////////////////////////////////////////////////////////////
//
// Revision History
//
// Version
// 5.0  Initial version
// 12.5  Add pre & post print process handling.
//
//////////////////////////////////////////////////////////////////////////////
//
/*
 * Open Source PowerBuilder Foundation Class Libraries
 *
 * Copyright (c) 2004-2005, All rights reserved.
 *
 * Redistribution and use in source and binary forms, with or without
 * modification, are permitted in accordance with the GNU Lesser General
 * Public License Version 2.1, February 1999
 *
 * http://www.gnu.org/copyleft/lesser.html
 *
 * ====================================================================
 *
 * This software consists of voluntary contributions made by many
 * individuals and was originally based on software copyright (c) 
 * 1996-2004 Sybase, Inc. http://www.sybase.com.  For more
 * information on the Open Source PowerBuilder Foundation Class
 * Libraries see http://pfc.codexchange.sybase.com
*/
//
//////////////////////////////////////////////////////////////////////////////

// Allow for pre and post print events to occur
This.Event pfc_preopen()
This.Post Event pfc_postopen()

return 0
------解决思路----------------------
我的也是空代码。


------解决思路----------------------
有多大的系统,都用到pfc了?

------解决思路----------------------
有图比较更好。正在想要不要从pb9升级到pb125
------解决思路----------------------
刚测试了30万数据在pb9下34秒,在pb125下28秒。