摘要:        
继承关系: TObject  →  TPersistent  →  TComponent TApplication组件的属性: Active AllowTesting DialogHandle ExeName Handle HelpFile Hint HintColor HintHidePause HintPause HintShortPause Icon MainForm ShowHint ShowMainForm Terminated Title UpdateFormatSettings UpdateMetricSettings 从TCompnent继承来的: ComObject Comp    阅读全文
        
            posted @ 2010-11-29 17:15
叮/当
阅读(1552)
评论(0)
推荐(2)
        
        
            
        
        
摘要:        
TCommonDialog--TColorDialog Color属性  对应对象:TColorDialog 声明:property  Color:TColor  default  clBlack; 功能:Color属性用来确定在颜色对话框中选择哪一个颜色。当用户选择了一个新的颜色时,Color属性将被设置为新颜色的值。 例子: //Change  the  color  of  the  selected  text  when  the  user  choose  a //color  from  the  Color  dialog  box procedure  TForm1.sbC    阅读全文
        
            posted @ 2010-11-29 17:10
叮/当
阅读(316)
评论(0)
推荐(1)
        
        
            
        
        
摘要:        
ComponentCount属性  对应对象:所有组件 声明:property  ComponentCount:  Integer; 功能:此属性在运行时有效,它是只读型。同时它标明组件具有的组件数。当用户在设计时可以在窗体上放置一个组件,因此此窗体将变为这个组件的有用者。Components属性例出了当前组件的所有的组件。 例子: procedure  TForml.ButtonlClick(Sender:  TObject);  var  x:  Integer;  begin x  :=  Forml.ComponentCount; Labell.Caption  :=  IntToSt    阅读全文
        
            posted @ 2010-11-29 17:09
叮/当
阅读(458)
评论(0)
推荐(1)
        
        
            
        
        
摘要:        
四、TControl Align  属性  对应对象:TControl  声明:TAlign  =  (alNone,  alTop,  alBottom,  alLeft,  alRight,  alClient);  property  Align:  TAlign;  功能:Align属性用来确定控件在它的父类中的对齐方式。  Align属性的类型是TAlign,它可以被设置成为以下值中的一个。 值 意 义  alNone 组件被保持在它的父类放置的位置,即窗体或面板,它是属性的缺省值。  alTop 组件被移动到窗体的顶端,并且被重新决定大小以充满窗体的宽,组件 的高度不会受到影响。     阅读全文
        
            posted @ 2010-11-29 17:07
叮/当
阅读(1622)
评论(0)
推荐(3)
        
        
            
        
        
摘要:        
五、Tscreen Tobject— TPersistent— Tcomponent Tscreen的属性: 从TComponent继承来的: In  Tscreen DestroyComponents ActiveControl FindComponent ActiveCustomForm FreeNotification ActiveForm FreeOnRelease Cursor GetParentComponent Cursors HasParent CustomFormCount InsertComponent CustomForms RemoveComponent DataM    阅读全文
        
            posted @ 2010-11-29 16:55
叮/当
阅读(1038)
评论(0)
推荐(2)
        
        
            
        
        
摘要:        
六、TColorDialog TCommonDialog--TColorDialog Color属性 对应对象:TColorDialog 声明:property  Color:TColor  default  clBlack; 功能:Color属性用来确定在颜色对话框中选择哪一个颜色。当用户选择了一个新的颜色时,Color属性将被设置为新颜色的值。 例子: //Change  the  color  of  the  selected  text  when  the  user  choose  a //color  from  the  Color  dialog  box procedu    阅读全文
        
            posted @ 2010-11-29 16:52
叮/当
阅读(885)
评论(0)
推荐(1)
        
        
                    
                
浙公网安备 33010602011771号