• VSFlexGrid 控件属性方法一览


     

    VSFlexGrid 控件属性方法一览

    VSFlexGrid 控件属性方法一(()方法)
    属性/方法名称                    功能                                                 示例
    AddItem()                          
    增加一行                       O.A String[, RowIndex]
    Aggregate                                       
    返回集合合(,平均,等等)   O.A = (A,Row1,Col1,Row2,Col2)
    Align                                 
    象在窗体上的示位置         O.A = 0|1|2|3|4
    AllowBigSelection              
    定列是否整行或整列选择     O.A = True|False
    AllowSelection                   
    是否可多选择               O.A = True|False
    AllowUserFreezing            
    运行用鼠标冻结行或列         O.A = 0|1|2|3
    AllowUserResizing             
    (/)大小方式            O.A = 0|1|2|3|4
    Appearance                      
    框平面/凹陷/凸起             O.A = 0|1|2
    Archive()                           
    或清除一个二制文件内容   O.A ArcFileName,FileName,0|1|2|3
    ArchiveInfo                        
    返回一个二制文件信息         O.A ArcFileName,0|1|2|3|4,LineIndex
    AutoReSize                       
    是否自动调整大小               O.A = True|False
    AutoSearch                       
    置自搜索                   O.A = 0|1|2
    AutoSearchDelay              
    AutoSearch多少秒刷新       O.A = 2
    AutoSize()                         
    动调整列到指定           O.A Col1,Col2,True|False,1000
    AutoSizeMode                   
    动调整适合行列内容           O.A = 0|1
    AutoSizeMouse                 
    是否双列首自动调整适合行列   O.A = True|False
    BackColor                                       
    所有非固定行列的背景色         O.A = Color
    BackColorAlternate           
    所有非固定行列的交替行     O.A = Color
    BackColorBkg                   
    表格背景坐底色                 O.A = Color
    BackColorFixed                
    固定的行/列背景色              O.A = Color
    BackColorFrozen              
    冻结部分的行列背景色           O.A = Color
    BackColorSel                    
    元被中的背景色             O.A = Color
    BindToArray()                   
    定数        O.A ArrayStr,RowDim,ColDim,PageDim,CurrentPage
    Bookmark                         
    返回ADO Recordset书签()  O.A(Row)
    BorderStyle                       
    框粗细样                   O.A = 0|1
    BottomRow                       
    返回可的最大行号()   O.A
    BuildComboList()              
    将数据中的内容写入下拉框     O.A(rs, FieldList, KeyField, BackColor)
    CausesValidation               ???
    事件确                O.A = False|True
    Cell                                   
    选择部分的相则值           O.A(, Row1, Col1, Row2, Col2) = 则值
    CellAlignment                    
    元里数据的排列方式       O.A = 0  9
    CellBackColor                   
    指定元范的背景         O.A = Color
    CellBorder()                                    
    选择单元范         O.A Color,,,,,垂直,水平
    CellButtonPicture              
    选择单元范的按钮图         O.A = LoadPicture("D:\Icon.ico")
    CellChecked                     
    选择单元范复选           O.A = 0|1|2
    CellFloodColor                    
    选择单元范的流程         O.A = Color
    CellFloodPercent              
    选择单元范的流程百分比       O.A = 1  100
    CellFontBold                     
    指定元范围设为黑体字         O.A = False|True
    CellFontItalic                     
    指定元范围设为斜体字         O.A = False|True
    CellFontName                   
    象所使用的字体名称           O.A = FontName
    CellFontSize                     
    象文字像数大小(9pt)      O.A = 9
    CellFontStrikethru             
    选择是否有线           O.A = False|True
    CellFontUnderline             
    选择是否有下画线           O.A = False|True
    CellFontWidth                   
    元或指定范字体的   O.A = 2
    CellForeColor                   
    元或指定范字体的   O.A = Color
    CellHeight                         
    返回/示到当前元高度()  O.A
    CellLeft                             
    返回当前元的左端位置()   O.A
    CellPicture                        
    示在元或指定范中的   O.A = LoadPicture("D:\Icon.ico")
    CellPictureAlingment         
    元或指定范围图片的示位置   O.A = 0  10
    CellTextStyle                     
    元文本的示形式         O.A = 0|1|2|3|4
    CellTop                             
    返回当前元的端位置()   O.A
    CellWidth                          
    返回当前元的()       O.A
    Clear()                              
    清除表格内容                   O.A([0|1|2],[0|1|2|3])
    ClientHeight                                    
    返回客高度           O.A
    ClientWidth                                     
    返回客围宽           O.A
    Clip                                   
    选择的内容             O.A = Text
    ClipSeparators                   ???
    Col                                    
    置激活元的列号             O.A = 2
    ColAlignment                      
    对齐排列方式                 O.A(Col) = 0  9
    ColComboList                   
    向下拉框写入管道字符           O.A(Col) = "|ListStr1|ListStr2|..."
    ColData                           
    置用整形数据       O.A(Col) = UserLong
    ColDataType                    
    列数据                     O.A(Col)=01420(&H14),30(&H1E),31(&H1F)
    ColEditMask                      
    编辑套用格式字符串           O.A(Col) = 指定的格式如:######
    ColFormat                         
    格式化示列                   O.A(Col) = "Currency"|"#.###%"...
    ColHidden                         
    是否藏指定列                 O.A(Col) = True|False
    ColImageList                     
    像列表句柄到列
    ColIndent                          
    缩进指定列                     O.A Col= 100
    ColIndex                            
    返回列索引()               O.A Col
    ColIsVisible                       
    返回列是否可()           O.A Col
    ColKey                              
    置列                     O.A(Col) = KeyStr
    ColPos                              
    返回列距左边宽()         O.A Col
    ColPosition                                     
    列的位置                   O.A(Col) = ReCol
    Cols                                  
    返回/列数                O.A = 2
    ColSel                               
    返回/置最后选择的列          O.A = 3
    ColSort                             
    置列种类                     O.A(Col) = 0  10
    ColWidth                           
    返回/置指定列              O.A(Col) = 100
    ColWidthMax                     
    最大列                       O.A(Col) = 5000
    ColWidthMin                     
    最小列                       O.A(Col) = 100
    ComboCount                    
    取得Combo下拉按钮总()    O.A
    ComboData                       Combo
    下拉按数据()        O.A
    ComboIndex                       Combo
    下拉按索引              O.A = 1
    ComboItem                        Combo
    下拉按钮项()        O.A
    ComboList                                        
    向下拉框写入管道字符内容       O.A = "a|b|c"

    ComboSearch                    Combo下拉按方式          O.A = 0|1|2|3
    Container                          
    返回/象的容器            O.A.Caption = "Forms"
    DataBindings                    
    返回数据装入数()           O.A
    DataMember                     
    返回/置数据描述成          O.A = DataStr
    DataMode                         
    置数据接状               O.A = 0|1|2|3|4
    DataRefresh()                   
    刷新数据源                     O.A
    DataSource                      
    置数据源                     Set O.A = DataDim
    Drag()                               
    拖放                           O.A [0|1|2]
    DragIcon                           
    拖放图标                       O.A = LoadPicture("D:\Icon.ico")
    DragMode                         
    拖放方式                       O.A = 0|1
    DragRow()                        
    拖放行(本示例在MouseDown)  O.A O.RowSel
    Editable                            
    置表格是否可编辑修改         O.A = 0|1|2
    EditCell()                           
    当移到当前动选择     O.A
    EditMask                           
    编辑时只能使用指定         O.A = Strvalue
    EditMaxLength                  
    所有元限制字大小           O.A = 2
    EditSelLength                   
    编辑时选择长                 O.A = 5
    EditSelStart                       
    的光位置         O.A = 0(或者Len(vsg.text))
    EditSelText                                     
    编辑选择处放文本               O.A = "Str"
    EditText                            
    编辑文本                       O.A = "Str"
    EditWindow                       
    返回编辑窗口()             O.A
    Ellipsis                              
    字符加省略号               O.A = 0|1|2
    Enabled                            
    象是否激活可用               O.A = False|True
    ExplorerBar                       
    单击选择、拖或排 O.A = 0  15
    ExtendLastCol                  
    是否充最后的列到适合     O.A = False|True
    FillStyle                             
    是否改当前范的内容或格式   O.A = 0|1
    FindRow                                         
    找符和条件返回的行()     O.A FindStr,[Row],[Col],[敏感],[精度])
    FinishEditing()                  
    完成编辑                     O.A = False|True
    FixedAlignment                 
    固定列的对齐方式               O.A(Col) = 0  9
    FixedCols                          
    固定几列                       O.A = 1
    FixedRows                        
    固定几行                       O.A = 1
    FlexDataSource                
    数据源                     O.A = rsDate
    FloodColor                                      
    置流程                   O.A = Color
    FocusRect                        
    元的选择虚框          O.A = 0|1|2|3|4|5
    Font                                  
    定字体                       O.A = FontName
    FontBold                           
    定字体粗体                   O.A = False|True
    FontItalic                           
    定字体斜体                   O.A = False|True
    FontName                         
    定字体名称                   O.A = FontName
    FontSize                           
    定字体大小                   O.A = 10
    FontStrikethru                   
    定字体线                 O.A = False|True
    FontUnderline                   
    定字体下划线                 O.A = False|True
    FontWidth                                       
    定字体的()         O.A = 2
    ForeColor                                       
    定字体前景               O.A = Color
    ForeColorFixed                 
    定固定元的文本         O.A = Color
    ForeColorFrozen              
    定字体冻结部分的前景     O.A = Color
    ForeColorSel                    
    选择单元的文本         O.A = Color
    FormatString                     
    设计管道符格式化行/列字符串    O.A = Format(1,"#0.00")
    FrozenCols                       
    需要冻结的列数                 O.A = 2
    FrozenRows                      
    需要冻结的行数                 O.A = 2
    GetMergedRange()           ???
    得合并山脉
    GetNode()                          ???

    GetNodeRow()                   ???
    点行
    GetSelection()                   ???
    选择                   O.A Row1, Col1, Row2, Col2
    GridColor                          
    元行列的网格线颜           O.A = Color
    GridColorFixed                 
    定固定网格线           O.A = Color
    GridLines                          
    编辑区的网格线类           O.A = 0  14
    GridLinesFixed                 
    固定行列网格效果           O.A = 0  14
    GridLineWidth                   
    编辑区的网格线线           O.A = 1
    Height                               
    象高度                   O.A = 1000
    HelpContextID                   
    象缺省上下文帮助ID           O.A = HelpID
    HighLight                          
    是否突出加亮       O.A = 0[]|1[]|2[焦点]
    hWnd                                
    象句柄                   O.A
    Index                                 
    象索引号(运行)         O.A
    IsCollapsed                        ???
    IsSelected                         
    是否已选择                     O.A
    IsSubtotal                          
    是否已小                     O.A
    Left                                   
    象距左位置                 O.A = 100
    LeftCol                              
    指定示在最左的列           O.A = 1
    LoadArray()                      
    入数
    LoadGrid()                                      
    入网格                       O.A FileName, 0  6[,True(含固定行列)|False]
    LoadGridURL()                 
    入网格URL
    MergeCells                       
    相同内容的元格合并       O.A = 0|1|2|3|4|5|6
    MergeCol                                        
    是否上下列合并                 O.A(Col) = True
    MergeCompare                 
    返回/置合并比较类          O.A = 0|1|2
    MergeRow                        
    是否左右行合并                 O.A(Row) = True
    MouseCol                         
    返回鼠向的当前列号         O.A
    MouseIcon                        
    定鼠指向的当前         O.A = LoadPicture("C:\.ico")
    MousePointer                   
    象的鼠针样         O.A = 0  15|99
    MouseRow                        
    返回鼠指向的当前行号         O.A
    Move()                              
    动对                       O.A Left,[Top],[Width],[Height]
    MultiTotals                         ???Multi

    Name                                 象名称(运行)           O.A
    NodeClosedPicture           
    点封图标                 O.A = LoadPicture("C:\.ico")
    NodeOpenPicture             
    点打图标                 O.A = LoadPicture("C:\.ico")
    Object                               
    返回/该对            Set DimObjName = O.A
    OLEDrag()                         OLE
    拖拽数据                    O.A
    OLEDragMode                   OLE
    拖拽方式                    O.A = 0|1
    OLEDropMode                   OLE
    拖拽落下方式                O.A = 0|1|2
    Outline()                            ???
    外面的线
    OutlineBar                                      
    返回/示目录树线       O.A = 0  6
    OutlineCol                          ???
    外面的线
    OwnerDraw                       
    返回或 DrawCell 事件   O.A = 0  6
    Parent                               
    返回该对象所在的()     O.A.Caption = "Forms"
    Picture                              
    返回控件的()           O.A.属性|方法 = 应值
    PicturesOver                     
    返回控件               O.A = False|True
    PictureType                      
    Picture属性生成的    O.A = 0|1
    PrintGrid()                         
    打印网格数据                   O.A ["",True|False,1|2,左右空,上下空]
    Redraw                             
    定是否刷新控件               O.A = 0|1|2
    Refresh()                          
    刷新表格                       O.A
    RemoveItem()                   
    除指定行                     O.A VSG1.RowSel
    RightCol                            
    返回右最大的可列范       O.A
    RightToLeft                                     
    是否将固定行放到右           O.A = True
    Row                                  
    置激活元的行号             O.A = 2
    RowData                           
    置用整形数据       O.A(Row) = UserLong
    RowHeight                        
    返回/置指定行高              O.A(Row) = 100
    RowHeightMax                  
    行高的最大                   O.A(Row) = 500
    RowHeightMin                   
    行高的最小                   O.A(Row) = 230
    RowHidden                       
    是否藏指定行                 O.A(2) = True|False
    RowIsVisible                      
    返回行是否在可()   O.A(Row)
    RowOutlineLevel               
    返回/置水平行小            O.A(Row) = 0|1
    RowPos                                          
    返回行距上高度()         O.A Row
    RowPosition                        
    行的位置                   O.A(Row) = NewRow
    Rows                                 
    返回/行数                O.A = 2
    RowSel                             
    返回/置最后选择的行          O.A = 2
    RowStatus                        
    置行状                     O.A = 0|1|2|3
    SaveGrid()                                      
    保存网格内容到二制文件       O.A FileName, 0  6[,True(含固定行列)|False]
    ScrollBars                         
    定卷动轴的方式               O.A = 0|1|2|3
    ScrollTips                          
    提示                       O.A = False|True
    ScrollTipText                     
    提示文本                   O.A = "Text"
    ScrollTrack                                     
    行是否随拖条卷动显         O.A = False|True
    Select()                             
    选择行列范                   O.A Row,Col[,RowSel][,ColSel]
    SelectedRow                     
    选择()                 O.A(Row)
    SelectedRows                   
    返回所选总行数()           O.A
    SelectionMode                  
    元焦点中方式           O.A = 0|1|2|3
    SetFocus()                                      
    置到象焦点                 O.A
    SheetBorder                     
    表格                   O.A = Color
    ShowCell()                                      
    立刻示到指定             O.A Row, Col
    ShowComboButton           
    是否示当选择时拉下按       O.A = 0|1|2
    ShowWhatsThis()             
    是什”               O.A
    Sort                                   
    按照选择的基准重新排序序方式  O.A = 0  10
    Subtotal()                          
                               O.A 属性名[,其它共9个可省略参数]
    SubtotalPosition                
    是否小上面或下面的数       O.A = 0|1
    TabBehavior                      Tab
    转顺序禁止              O.A = 0|1
    TabIndex                           
    象的Tab选择顺              O.A = 2
    TabStop                            
    是否允Tab动选择            O.A = True|False
    Tag                                   
    数据所需的附加数据       O.A = Str
    Text                                  
    返回/写入当前元的文字        O.A = Str
    TextMatrix                         
    返回/写入指定元的文字        O.A(Row, Col) = Str
    TextStyle                           
    元格文字效果                 O.A = 0|1|2|3|4
    TextStyleFixed                    
    固定行列文本的3D效果           O.A = 0|1|2|3|4
    ToolTipText                      
    指向表格的明消息         O.A = "TextString"
    Top                                   
    象上                     O.A = 100
    TopRow                                          
    指定示在最上面的行           O.A = 5
    TreeColor                                       
    录树颜                     O.A = Color
    value                                 
    返回当前元数部分()     O.A
    valueMatrix                                     
    返回指定元数部分()     O.A Row, Col
    Version                             
    返回控件的版本号()         O.A
    VirtualData                        
    数据                      O.A = True|False
    Visible                               
    是否                   O.A = True|False
    WallPaper                                       
    表格壁背景  O.A=LoadPicture(Image) | O.A.属性|方法 = 应值
    WallPaperAlignment         
    背景图墙报对齐方式         O.A(Col) = 0  10
    WhatsThisHelpID              
    置与象相关联的上下文号     O.A = HelpIDString
    Width                                
                       O.A = 5000
    WordWrap                        
    元中的文本是否       O.A = True|False
    ZOrder()                           
    Z                  O.A 0|1

  • 相关阅读:
    【解决方案】智能汽车制造车间通过EasyNVR实现无插件视频监控直播方案
    EasyNVR拉流成功后快照正常但实际不能播放解决方法
    EasyNVR现场设备离线后无法自动重连如何优化?
    TSINGSEE青犀视频优化EasyNVR快照保存机制实现过程
    EasyNVR中如何对kernel内核的异常关闭状态做监测?
    EasyNVR帐号密码无法正常登入系统界面问题排查
    EasyNVR使用HLS格式播放视频一段时间后自动停止的问题排查
    EasyNVR使用Mysql数据库无法启动该怎么处理?
    EasyNVR直播录像呈现片段式显示与什么有关?
    EasyNVR配置表单上传demo说明
  • 原文地址:https://www.cnblogs.com/topboy168/p/354103.html
Copyright © 2020-2023  润新知