Database °æ (¾«»ªÇø)
·¢ÐÅÈË: PowerBuilder (ËïÎä¿Õ), ÐÅÇø: Database
±ê Ìâ: 14
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2001Äê09ÔÂ26ÈÕ18:02:50 ÐÇÆÚÈý), Õ¾ÄÚÐżþ
·¢ÐÅÈË: icefire@argo (±ù»ð), ÐÅÇø: Datebase
±ê Ìâ: PowerBuilder ÿÈÕÐĵà (14) wdsq (ת¼Ä) (תÔØ)
·¢ÐÅÕ¾: Yat-sen Channel BBS (Sat Nov 8 22:14:04 1997)
תÐÅÕ¾: argo (local)
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô icefire µÄÐÅÏä ¡¿
¡¾ ÔÎÄÓÉ <bbs@s1000e.whnet.edu.cn> Ëù·¢±í ¡¿
·¢ÐÅÈË: wdsq (WonderDiscoveror), ÐÅÇø: Database
±ê Ìâ: PowerBuilder ÿÈÕÐĵà (14)
·¢ÐÅÕ¾: »ªÖеØÇøÍøÂçÖÐÐÄ (Fri Dec 20 09:00:04 1996)
PowerBuilder 5.0ÖÐClose()ÓëPB4ÖеÄClose()²»Ò»Ñù
ÔÚPB5ÖÐÒÆÖ²ÔÀ´PB4µÄÓ¦ÓóÌÐò£¬ÔÀ´ÔËÐеúܺõÄÓ¦ÓóÌÐò¾³£»á³öÏÖ£º
Null object reference on event ?? of window ???? µÄ´íÎó¡£ÕâÖÖ´íÎó
µÄÔÒòÍùÍùÊÇÒòΪÓÐÀàËÆÈçϵĵ÷Óã
if DataInvalid() then
Close(parent)
else
ProperHandling()
end if
OtherProcess()
ÕâÖÖµ÷ÓÃÔÚPB4ÖÐÊÇûÓÐÎÊÌâµÄ¡£µ«ÊÇPB5ÖоͿÉÄÜ»á³ö´í¡£ÒòΪPB5¶ÔClose()
µÄ¶¨ÒåºÍPB4µÄ²»Ò»Ñù¡£»òÕß˵PB5µÄClose()ÓÐȱÏÝ¡£
PB4µÄClose()Ö´Ðкó»á×Ô¶¯µØ·µ»Ø£¬²»ÔÙÖ´ÐкóÐò´úÂ룬¶øPB5»á¼ÌÐøÖ´ÐкóÐò
´úÂë¡£ÄÇô£¬Èç¹ûOtherProcess()ÖÐÓжÔÈκζÔÏóµÄÒýÓ㬾ͻáÒýÆðNull object
reference£¬ÒòΪ´Ëʱ´°¿ÚÏà¹ØµÄ¶ÔÏóÒѾ´ÓÄÚ´æÖÐDestroyµôÁË¡
ͬÑùµÄÇé¿ö¿ÉÄÜÒ²»á·¢ÉúÔÚCloseWithReturn()ÉÏ£¬µ«ÉÐδ×÷½øÒ»²½µÄ²âÊÔ¡£
½â¾öµÄ·½·¨ºÜ¼òµ¥£¬ÔÚClose(parent)ºó¼ÓÒ»¾ä return ¼´¿É¡£
£¨²»¹ý·¢ÏÖÕâÎÊÌ⻹ºÜ»¨ÁËЩʱ¼ä£©
--
ÇóÄãÁË£¬¾ÍÔÙ¸øÎÒµãÄÚ´æ°É......
¡ù À´Ô´:£®»ªÖеØÇøÍøÂçÖÐÐÄ s1000e.whnet.edu.cn£®[FROM: 202.114.6.104]
--
¡ù À´Ô´:¡¤¹þ¹¤´ó×϶¡Ïã bbs.hit.edu.cn¡¤[FROM: 202.118.229.154]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
Ò³ÃæÖ´ÐÐʱ¼ä£º7.391ºÁÃë