Database °æ (¾«»ªÇø)
·¢ÐÅÈË: PowerBuilder (ËïÎä¿Õ), ÐÅÇø: Database
±ê Ìâ: 3
·¢ÐÅÕ¾: ¹þ¹¤´ó×϶¡Ïã (2001Äê09ÔÂ26ÈÕ17:58:38 ÐÇÆÚÈý), Õ¾ÄÚÐżþ
·¢ÐÅÈË: icefire@argo (±ù»ð), ÐÅÇø: Datebase
±ê Ìâ: PowerBuilder ÿÈÕÐĵà (3) wdsq (ת¼Ä) (תÔØ)
·¢ÐÅÕ¾: Yat-sen Channel BBS (Sat Nov 8 22:07:41 1997)
תÐÅÕ¾: argo (local)
¡¾ ÒÔÏÂÎÄ×ÖתÔØ×Ô icefire µÄÐÅÏä ¡¿
¡¾ ÔÎÄÓÉ <bbs@s1000e.whnet.edu.cn> Ëù·¢±í ¡¿
·¢ÐÅÈË: wdsq (WonderDiscoveror), ÐÅÇø: Database
±ê Ìâ: PowerBuilderÿÈÕÐĵà (3)
·¢ÐÅÕ¾: »ªÖеØÇøÍøÂçÖÐÐÄ (Tue Sep 24 20:03:34 1996)
ÈçºÎÔÚ×ÓÀàÖе÷Óø¸ÀàµÄº¯ÊýÓëʼþ(¶ÔPB5ÊÊÓÃ)
µ±×ÓÀàÖØÔØÁ˸¸ÀàµÄº¯Êý»òʼþʱ£¬¶øÇÒ×ÓÀ౻ʵÀý»¯Îª¶ÔÏ󣬵÷ÓÃ
¸Ã¶ÔÏóµÄº¯Êý»òʼþʱ£¬×ÓÀàµÄº¯Êý»òʼþ±»Ö´ÐС£Èç¹ûÐèÒªÔÚ´Ëʱ
µ÷Óø¸ÀàµÄº¯ÊýÓëʼþ£¬¿ÉÒÔÓÃ::Óò·Ö±æ·ûʵÏÖ¡£
Óï·¨ÈçÏ£º
{objectname.}ancestorclass::{type}{when}name({arguments})
ÆäÖУº
objectname : ¶ÔÏóÃû
ancestorclass : Ðèµ÷Óõĸ¸ÀàÃû£¬¿ÉÒÔÓÃSuper¹Ø¼ü×Ö´úÌæ¡£
type : Ö¸Ã÷µ÷ÓõÄÊǺ¯Êý»¹ÊÇʼþ£¬¿ÉÈ¡ÈçÏÂÖµ
FUNCTION ±íÃ÷µ÷ÓõÄÊǺ¯Êý(ȱʡ·½Ê½)
EVENT ±íÃ÷µ÷ÓÃʼþ
when : Ö¸Ã÷ʼþ»òº¯Êý±»µ÷ÓõÄʱ¼ä£¬¿ÉÈ¡ÈçÏÂÖµ
TRIGGER Á¢¼´Ö´ÐÐ(ȱʡ·½Ê½)
POST ±¾¶Î´úÂë(Script)Ö´ÐÐÍêÔÙÖ´ÐÐ
name : ±»µ÷Óõĺ¯ÊýÃû»òʼþÃû
arguments : µ÷ÓòÎÊý
Èç¹û×ÓÀàʼþµÄÖØÔØ´úÂëÊÇextend¸¸ÀàµÄ´úÂ룬ÄÇôÔÚ×ÓÀà´úÂëÖ´ÐÐÍê±ÏÖ®ºó
ÔÙÖ´Ðи¸Àà´úÂë¡£Èç¹û¸¸ÀàµÄ´úÂëÓзµ»ØÖµµÄ»°£¬ÄÇô¸Ã·µ»ØÖµ½«»á¶ªÊ§¡£
ÈôÒª½ØÈ¡¸Ã·µ»ØÖµ£¬±ØÐëÔÚÖØÔصÄʼþ´úÂëÖÐʹÓô¥·¢¸Ãʼþ
result = Super::EVENT eventname(argumentlist)
return result
¾ÙÀý£º
w_ancestorΪ¸¸Àà´°¿Ú£¬w_childΪ×ÓÀà´°¿Ú£¬ÔÚw_childµÄOpenʼþÖÐ
µ÷Óø¸ÀàµÄOpenʼþ(¼ÙÉè¼Ì³Ð·½Ê½ÎªOverride)£¬¿ÉÓÃ
w_ancestor::EVENT Open()
»ò
þ(¼ÙÉè¼Ì³Ð·½Ê½ÎªOverride)£¬¿ÉÓÃ
w_ancestor::EVENT Open()
»ò
Super::EVENT Open();
µ÷Óø¸ÀàµÄº¯Êý
w_ancestor::wf_WinFunc( arg1, arg2 ) // Execute immediately
»ò
w_ancestor::POST wf_WinFunc(arg1, arg2) // Execute after the script finishes
--
¡ù À´Ô´:£®»ªÖеØÇøÍøÂçÖÐÐÄ 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)
Ò³ÃæÖ´ÐÐʱ¼ä£º11.109ºÁÃë