Database °æ (¾«»ªÇø)

·¢ÐÅÈË: Powerpc_Pm@bbs.ustc.edu.cn (ËÄ´óÀÃÈËÉËÕÛÒ»¹É), ÐÅÇø: cndatabase
±ê  Ìâ: Re: vfpÇóÖú£
·¢ÐÅÕ¾: Öйú¿Æ´óBBSÕ¾ (Mon Dec 15 04:34:06 1997)
תÐÅÕ¾: Lilac!ustcnews!ustcnews!ustcbbs

> ==> ccc@SJTU(СÍÃ)                           ËµµÀ: 
> ÈçºÎÀûÓÃGRIDÒ»´ÎÐÔÊäÈë¶àÌõ¼Ç¼£¿ 
>   *********** 
 
ÔÚ±íµ¥ÀïÏȷŽøÒ»¸ö¿ÕµÄ±í¸ñ¿ØÖÆ£¬È»ºóÔÚ±í¸ñÉϵãÊó±êÓÒ¼ü
ʹÓÃÆäÖеÄÉú³ÉÆ÷£¬¼´¿ÉÒÔ¶àÐÐÊäÈ룬ÓÃ±íµ¥¹Ø±Õʱ×Ô¶¯¾Í¶¼±»±£´æ¡£
¿ÉÒÔ¹Û²ìÀïÃæ¶ÔÊôÐÔµÄÐÞ¸ÄÀ´»ñµÃ°ïÖú¡£
ÒÔÏÂÊÇÓÃÀàä¯ÀÀÆ÷ÏÔʾµÄ´úÂ룺
PUBLIC oform1

oform1=CREATEOBJECT("form1")
oform1.Show()
RETURN


**************************************************
*-- Form:         form1 (d:\teach\±íµ¥1.scx)
*-- ParentClass:  form
*-- BaseClass:    form
*
DEFINE CLASS form1 AS form


        Top = 0
        Left = 0
        Height = 250
        Width = 570
        DoCreate = .T.
        Caption = "Form1"
        LockScreen = .F.
        Name = "Form1"


        ADD OBJECT grid1 AS grid WITH ;
                ColumnCount = 5, ;
                BackColor = RGB(255,255,255), ;
                DeleteMark = .F., ;
                ForeColor = RGB(0,0,0), ;
                GridLineColor = RGB(0,128,128), ;
                GridLines = 0, ;
                GridLineWidth = 1, ;
                HeaderHeight = 20, ;
                Height = 217, ;
                Left = 12, ;
                RecordMark = .F., ;
                RecordSource = "temp____", ;
                ScrollBars = 0, ;
                Top = 24, ;
                Width = 541, ;
                Name = "Grid1", ;
                Column1.FontBold = .T., ;
                Column1.FontName = "Arial", ;
                Column1.FontSize = 9, ;
                Column1.Alignment = 0, ;
                Column1.BackColor = RGB(255,255,255), ;
                Column1.ForeColor = RGB(0,0,0), ;
                Column1.ControlSource = "temp____.±àºÅ", ;
                Column1.Width = 58, ;
                Column1.DynamicBackColor = "IIF(MOD(RECNO(),2)=1,RGB(255,255,255),RGB(192,220,192))", ;
                Column1.Name = "Column1", ;
                ......

        ADD OBJECT form1.grid1.column1.header1 AS header WITH ;
                FontBold = .T., ;
                FontName = "Arial", ;
                FontSize = 10, ;
                Alignment = 0, ;
                BackColor = RGB(192,220,192), ;
                ForeColor = RGB(0,0,0), ;
                Caption = "±àºÅ", ;
                Name = "Header1"
                ......

--
¡ù À´Ô´: Öйú¿Æ´óBBSÕ¾ [bbs.ustc.edu.cn]
[°Ù±¦Ïä] [·µ»ØÊ×Ò³] [Éϼ¶Ä¿Â¼] [¸ùĿ¼] [·µ»Ø¶¥²¿] [Ë¢ÐÂ] [·µ»Ø]
Powered by KBS BBS 2.0 (http://dev.kcn.cn)
Ò³ÃæÖ´ÐÐʱ¼ä£º3.634ºÁÃë