找回密码
 立即注册

QQ登录

只需一步,快速开始

Demo

中级会员

9

主题

62

帖子

509

积分

中级会员

积分
509
Demo
中级会员   /  发表于:2018-1-16 15:32  /   查看:9147  /  回复:24
我有十列数据要显示,然后我分成三个split,
split(0).splitsize =3
split(0).splitsizemode = NumberOfColumns
显示三列刚好显示不用滚动条。

split(1).splitsize =1
split(1).splitsizemode = NumberOfColumns
显示两列需要滚动条,且点击滚动条的两头的小块宽度能够自适应。

split(2).splitsize =1
split(2).splitsizemode = Scalable
显示其余全部。

这样设置的话,运行效果会有些问题。点击split(1)的底部滚动条左边小块,点击几次之后整个split(1)就会被挤的看不到了,请问这是我设置有问题吗?



24 个回复

倒序浏览
dexteryao讲师达人认证 悬赏达人认证 SpreadJS 开发认证
超级版主   /  发表于:2018-1-16 17:53:03
沙发
这个需要测试下给您答复,如果方便的话提供个直接可以重现的Demo可以加速问题重现。
回复 使用道具 举报
Demo
中级会员   /  发表于:2018-1-16 19:40:12
板凳
dexteryao 发表于 2018-1-16 17:53
这个需要测试下给您答复,如果方便的话提供个直接可以重现的Demo可以加速问题重现。

公司网络限制无法上传代码图片之类的东西,这个问题重现很简单,随便生成几列按照上述split设置即可。
回复 使用道具 举报
Demo
中级会员   /  发表于:2018-1-16 19:40:24
地板
dexteryao 发表于 2018-1-16 17:53
这个需要测试下给您答复,如果方便的话提供个直接可以重现的Demo可以加速问题重现。

公司网络限制无法上传代码图片之类的东西,这个问题重现很简单,随便生成几列按照上述split设置即可。
回复 使用道具 举报
JeffryLI
葡萄城公司职员   /  发表于:2018-1-17 23:39:15
5#
您好,您这个控件是使用那个版本,我在新版中没有重现您所说的,可能是我的做法和您所描述有什么差异,您是否可以给我一个可以调试的demo,我需要验证是哪方面的问题,方便给您解答,希望能谅解。
请点击评分,对我5分评价,谢谢!

葡萄城控件服务团队
官方网站: https://www.grapecity.com.cn/developer
回复 使用道具 举报
Demo
中级会员   /  发表于:2018-1-18 09:17:16
6#
JeffryLI 发表于 2018-1-17 23:39
您好,您这个控件是使用那个版本,我在新版中没有重现您所说的,可能是我的做法和您所描述有什么差异,您是 ...

ComponentOne TrueDBGrid for .NET
版本:4.0.20172.271
在vb.net环境下开发。代码我分成三部分贴在帖子里,
.vb;
.designer.vb;
.resX
三个文件的代码
回复 使用道具 举报
Demo
中级会员   /  发表于:2018-1-18 09:27:28
7#
.vb文件
Public Class Form2
    Private Sub Form2_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        C1TrueDBGrid1.SetDataBinding()
        Dim TiDBGKazokuInfoDataTable As DataTable = C1TrueDBGrid1.DataSource
        Dim pRow As DataRow = TiDBGKazokuInfoDataTable.NewRow()
        pRow("Column0") = "a"
        pRow("Column1") = "b"
        pRow("Column2") = "c"
        pRow("Column3") = "d"
        TiDBGKazokuInfoDataTable.Rows.Add(pRow)
    End Sub
End Class
回复 使用道具 举报
Demo
中级会员   /  发表于:2018-1-18 09:28:14
8#
本帖最后由 Demo 于 2018-1-18 09:29 编辑

.designer.vb文件
<Global.Microsoft.VisualBasic.CompilerServices.DesignerGenerated()> _
Partial Class Form2
    Inherits System.Windows.Forms.Form


    <System.Diagnostics.DebuggerNonUserCode()> _
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
        Try
            If disposing AndAlso components IsNot Nothing Then
                components.Dispose()
            End If
        Finally
            MyBase.Dispose(disposing)
        End Try
    End Sub


    Private components As System.ComponentModel.IContainer


    <System.Diagnostics.DebuggerStepThrough()> _
    Private Sub InitializeComponent()
        Dim resources As System.ComponentModel.ComponentResourceManager = New System.ComponentModel.ComponentResourceManager(GetType(Form2))
        Me.C1TrueDBGrid1 = New C1.Win.C1TrueDBGrid.C1TrueDBGrid()
        CType(Me.C1TrueDBGrid1, System.ComponentModel.ISupportInitialize).BeginInit()
        Me.SuspendLayout()
        '
        'C1TrueDBGrid1
        '
        Me.C1TrueDBGrid1.AllowColMove = False
        Me.C1TrueDBGrid1.AllowFilter = False
        Me.C1TrueDBGrid1.AllowSort = False
        Me.C1TrueDBGrid1.AllowUpdate = False
        Me.C1TrueDBGrid1.GroupByCaption = "列でグループ化するには、ここに列ヘッダをドラッグします。"
        Me.C1TrueDBGrid1.Images.Add(CType(resources.GetObject("C1TrueDBGrid1.Images"), System.Drawing.Image))
        Me.C1TrueDBGrid1.Location = New System.Drawing.Point(110, 115)
        Me.C1TrueDBGrid1.MarqueeStyle = C1.Win.C1TrueDBGrid.MarqueeEnum.HighlightCell
        Me.C1TrueDBGrid1.Name = "C1TrueDBGrid1"
        Me.C1TrueDBGrid1.PreviewInfo.Caption = "印刷プレビューウィンドウ"
        Me.C1TrueDBGrid1.PreviewInfo.Location = New System.Drawing.Point(0, 0)
        Me.C1TrueDBGrid1.PreviewInfo.Size = New System.Drawing.Size(0, 0)
        Me.C1TrueDBGrid1.PreviewInfo.ZoomFactor = 75.0R
        Me.C1TrueDBGrid1.PrintInfo.PageSettings = CType(resources.GetObject("C1TrueDBGrid1.PrintInfo.PageSettings"), System.Drawing.Printing.PageSettings)
        Me.C1TrueDBGrid1.PropBag = resources.GetString("C1TrueDBGrid1.PropBag")
        Me.C1TrueDBGrid1.RecordSelectors = False
        Me.C1TrueDBGrid1.Size = New System.Drawing.Size(443, 190)
        Me.C1TrueDBGrid1.TabIndex = 6
        Me.C1TrueDBGrid1.UseCompatibleTextRendering = False
        '
        'Form2
        '
        Me.AutoScaleDimensions = New System.Drawing.SizeF(6.0!, 12.0!)
        Me.AutoScaleMode = System.Windows.Forms.AutoScaleMode.Font
        Me.ClientSize = New System.Drawing.Size(663, 420)
        Me.Controls.Add(Me.C1TrueDBGrid1)
        Me.Name = "Form2"
        Me.Text = "Form2"
        CType(Me.C1TrueDBGrid1, System.ComponentModel.ISupportInitialize).EndInit()
        Me.ResumeLayout(False)

    End Sub

    Friend WithEvents C1TrueDBGrid1 As C1.Win.C1TrueDBGrid.C1TrueDBGrid
End Class
回复 使用道具 举报
Demo
中级会员   /  发表于:2018-1-18 09:30:27
9#
.resX文件,这个比较多
<?xml version="1.0" encoding="utf-8"?>
<root>
  <!--
    Microsoft ResX Schema
   
    Version 2.0
   
    The primary goals of this format is to allow a simple XML format
    that is mostly human readable. The generation and parsing of the
    various data types are done through the TypeConverter classes
    associated with the data types.
   
    Example:
   
    ... ado.net/XML headers & schema ...
    <resheader name="resmimetype">text/microsoft-resx</resheader>
    <resheader name="version">2.0</resheader>
    <resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
    <resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
    <data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
    <data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
    <data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
        <value>[base64 mime encoded serialized .NET Framework object]</value>
    </data>
    <data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
        <value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
        <comment>This is a comment</comment>
    </data>
               
    There are any number of "resheader" rows that contain simple
    name/value pairs.
   
    Each data row contains a name, and value. The row also contains a
    type or mimetype. Type corresponds to a .NET class that support
    text/value conversion through the TypeConverter architecture.
    Classes that don't support this are serialized and stored with the
    mimetype set.
   
    The mimetype is used for serialized objects, and tells the
    ResXResourceReader how to depersist the object. This is currently not
    extensible. For a given mimetype the value must be set accordingly:
   
    Note - application/x-microsoft.net.object.binary.base64 is the format
    that the ResXResourceWriter will generate, however the reader can
    read any of the formats listed below.
   
    mimetype: application/x-microsoft.net.object.binary.base64
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
            : and then encoded with base64 encoding.
   
    mimetype: application/x-microsoft.net.object.soap.base64
    value   : The object must be serialized with
            : System.Runtime.Serialization.Formatters.Soap.SoapFormatter
            : and then encoded with base64 encoding.

    mimetype: application/x-microsoft.net.object.bytearray.base64
    value   : The object must be serialized into a byte array
            : using a System.ComponentModel.TypeConverter
            : and then encoded with base64 encoding.
    -->
  <xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
    <xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
    <xsd:element name="root" msdata:IsDataSet="true">
      <xsd:complexType>
        <xsd:choice maxOccurs="unbounded">
          <xsd:element name="metadata">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" />
              </xsd:sequence>
              <xsd:attribute name="name" use="required" type="xsd:string" />
              <xsd:attribute name="type" type="xsd:string" />
              <xsd:attribute name="mimetype" type="xsd:string" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="assembly">
            <xsd:complexType>
              <xsd:attribute name="alias" type="xsd:string" />
              <xsd:attribute name="name" type="xsd:string" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="data">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
                <xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
              <xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
              <xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
              <xsd:attribute ref="xml:space" />
            </xsd:complexType>
          </xsd:element>
          <xsd:element name="resheader">
            <xsd:complexType>
              <xsd:sequence>
                <xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
              </xsd:sequence>
              <xsd:attribute name="name" type="xsd:string" use="required" />
            </xsd:complexType>
          </xsd:element>
        </xsd:choice>
      </xsd:complexType>
    </xsd:element>
  </xsd:schema>
  <resheader name="resmimetype">
    <value>text/microsoft-resx</value>
  </resheader>
  <resheader name="version">
    <value>2.0</value>
  </resheader>
  <resheader name="reader">
    <value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <resheader name="writer">
    <value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
  </resheader>
  <assembly alias="System.Drawing" name="System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" />
  <data name="C1TrueDBGrid1.Images" type="System.Drawing.Bitmap, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
    <value>
        iVBORw0KGgoAAAANSUhEUgAAAAkAAAAJCAYAAADgkQYQAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8
        YQUAAAAJcEhZcwAADsMAAA7DAcdvqGQAAAA0SURBVChTdYkBCgAgDAL9/6eLIsd0eSCKhw/r9aCLtC88
        vAdHMEIXKUIUhMK76EfagglgA6CqHOQpL6GyAAAAAElFTkSuQmCC
</value>
  </data>
  <data name="C1TrueDBGrid1.PrintInfo.PageSettings" mimetype="application/x-microsoft.net.object.binary.base64">
    <value>
        AAEAAAD/////AQAAAAAAAAAMAgAAAFFTeXN0ZW0uRHJhd2luZywgVmVyc2lvbj00LjAuMC4wLCBDdWx0
        dXJlPW5ldXRyYWwsIFB1YmxpY0tleVRva2VuPWIwM2Y1ZjdmMTFkNTBhM2EFAQAAACRTeXN0ZW0uRHJh
        d2luZy5QcmludGluZy5QYWdlU2V0dGluZ3MHAAAAD3ByaW50ZXJTZXR0aW5ncwVjb2xvcglwYXBlclNp
        emULcGFwZXJTb3VyY2URcHJpbnRlclJlc29sdXRpb24JbGFuZHNjYXBlB21hcmdpbnMEBAQEBAQEJ1N5
        c3RlbS5EcmF3aW5nLlByaW50aW5nLlByaW50ZXJTZXR0aW5ncwIAAAAgU3lzdGVtLkRyYXdpbmcuUHJp
        bnRpbmcuVHJpU3RhdGUCAAAAIVN5c3RlbS5EcmF3aW5nLlByaW50aW5nLlBhcGVyU2l6ZQIAAAAjU3lz
        dGVtLkRyYXdpbmcuUHJpbnRpbmcuUGFwZXJTb3VyY2UCAAAAKVN5c3RlbS5EcmF3aW5nLlByaW50aW5n
        LlByaW50ZXJSZXNvbHV0aW9uAgAAACBTeXN0ZW0uRHJhd2luZy5QcmludGluZy5UcmlTdGF0ZQIAAAAf
        U3lzdGVtLkRyYXdpbmcuUHJpbnRpbmcuTWFyZ2lucwIAAAACAAAACQMAAAAF/P///yBTeXN0ZW0uRHJh
        d2luZy5QcmludGluZy5UcmlTdGF0ZQEAAAAFdmFsdWUAAgIAAAAACgoKAfv////8////AAkGAAAABQMA
        AAAnU3lzdGVtLkRyYXdpbmcuUHJpbnRpbmcuUHJpbnRlclNldHRpbmdzEgAAAAtwcmludGVyTmFtZQpk
        cml2ZXJOYW1lCm91dHB1dFBvcnQLcHJpbnRUb0ZpbGUUcHJpbnREaWFsb2dEaXNwbGF5ZWQKZXh0cmFi
        eXRlcwlleHRyYWluZm8GY29waWVzBmR1cGxleAdjb2xsYXRlE2RlZmF1bHRQYWdlU2V0dGluZ3MIZnJv
        bVBhZ2UGdG9QYWdlB21heFBhZ2UHbWluUGFnZQpwcmludFJhbmdlDGRldm1vZGVieXRlcw1jYWNoZWRE
        ZXZtb2RlAQEBAAAABwAEBAQAAAAABAAHAQEHAgceU3lzdGVtLkRyYXdpbmcuUHJpbnRpbmcuRHVwbGV4
        AgAAACBTeXN0ZW0uRHJhd2luZy5QcmludGluZy5UcmlTdGF0ZQIAAAAkU3lzdGVtLkRyYXdpbmcuUHJp
        bnRpbmcuUGFnZVNldHRpbmdzAgAAAAgICAgiU3lzdGVtLkRyYXdpbmcuUHJpbnRpbmcuUHJpbnRSYW5n
        ZQIAAAAHAgIAAAAKBgcAAAAACQcAAAAAAAAACv//Bfj///8eU3lzdGVtLkRyYXdpbmcuUHJpbnRpbmcu
        RHVwbGV4AQAAAAd2YWx1ZV9fAAgCAAAA/////wH3/////P///wAJCgAAAAAAAAAAAAAADycAAAAAAAAF
        9f///yJTeXN0ZW0uRHJhd2luZy5QcmludGluZy5QcmludFJhbmdlAQAAAAd2YWx1ZV9fAAgCAAAAAAAA
        AAAACgUGAAAAH1N5c3RlbS5EcmF3aW5nLlByaW50aW5nLk1hcmdpbnMIAAAABGxlZnQFcmlnaHQDdG9w
        BmJvdHRvbQpkb3VibGVMZWZ0C2RvdWJsZVJpZ2h0CWRvdWJsZVRvcAxkb3VibGVCb3R0b20AAAAAAAAA
        AAgICAgGBgYGAgAAAGQAAABkAAAAZAAAAGQAAAAAAAAAAABZQAAAAAAAAFlAAAAAAAAAWUAAAAAAAABZ
        QAEKAAAAAQAAAAkDAAAAAfP////8////AAoKCgHy/////P///wAJDwAAAAEPAAAABgAAAGQAAABkAAAA
        ZAAAAGQAAAAAAAAAAABZQAAAAAAAAFlAAAAAAAAAWUAAAAAAAABZQAs=
</value>
  </data>
  <data name="C1TrueDBGrid1.PropBag" xml:space="preserve">
    <value>&lt;?xml version="1.0"?&gt;&lt;Blob&gt;&lt;DataCols&gt;&lt;C1DataColumn Caption="1" DataField=""&gt;&lt;FilterCancelText&gt;&amp;amp;Close&lt;/FilterCancelText&gt;&lt;FilterClearText&gt;C&amp;amp;lear&lt;/FilterClearText&gt;&lt;ValueItems /&gt;&lt;GroupInfo&gt;&lt;AggregatesText&gt;{0}&lt;/AggregatesText&gt;&lt;/GroupInfo&gt;&lt;/C1DataColumn&gt;&lt;C1DataColumn Caption="2" DataField=""&gt;&lt;FilterCancelText&gt;&amp;amp;Close&lt;/FilterCancelText&gt;&lt;FilterClearText&gt;C&amp;amp;lear&lt;/FilterClearText&gt;&lt;ValueItems /&gt;&lt;GroupInfo&gt;&lt;AggregatesText&gt;{0}&lt;/AggregatesText&gt;&lt;/GroupInfo&gt;&lt;/C1DataColumn&gt;&lt;C1DataColumn Caption="3" DataField=""&gt;&lt;FilterCancelText&gt;&amp;amp;Close&lt;/FilterCancelText&gt;&lt;FilterClearText&gt;C&amp;amp;lear&lt;/FilterClearText&gt;&lt;ValueItems /&gt;&lt;GroupInfo&gt;&lt;AggregatesText&gt;{0}&lt;/AggregatesText&gt;&lt;/GroupInfo&gt;&lt;/C1DataColumn&gt;&lt;C1DataColumn Caption="4" DataField=""&gt;&lt;FilterCancelText&gt;&amp;amp;Close&lt;/FilterCancelText&gt;&lt;FilterClearText&gt;C&amp;amp;lear&lt;/FilterClearText&gt;&lt;ValueItems /&gt;&lt;GroupInfo&gt;&lt;AggregatesText&gt;{0}&lt;/AggregatesText&gt;&lt;/GroupInfo&gt;&lt;/C1DataColumn&gt;&lt;/DataCols&gt;&lt;Styles type="C1.Win.C1TrueDBGrid.Design.ContextWrapper"&gt;&lt;Data&gt;Style15{}Style29{}FilterBar{}Style123{}Style96{}Style82{AlignHorz:Near;}Style119{AlignHorz:Near;}Style70{AlignHorz:Near;}Style116{}Style98{}Style51{}Style64{}Style46{}RowSelector{}Style111{}Style36{}Style23{}Style88{}Heading{ForeColor:ControlText;Border:Flat,ControlDark,1, 1, 1, 1;AlignVert:Center;BackColor:Control;WrapText:WrapWithOverflow;}Style35{AlignHorz:Near;}Style73{}Style76{ForeColor:ControlText;AlignHorz:Near;BackColor:Control;}Inactive{ForeColor:InactiveCaptionText;BackColor:InactiveCaption;}Style133{}EvenRow{BackColor:Aqua;}Style90{}Style71{}OddRow{}Style114{AlignHorz:Near;}Style66{}Style67{}Style93{}Style54{}Style80{}Style61{Trimming:Character;GradientMode:None;Alpha:255;ForegroundImagePoseftOfText;WrapText:WrapWithOverflow;AlignImage:Stretch;AlignVert:Center;AlignHorz:Near;}Style5{}Style41{ForeColor:ControlText;AlignHorz:Near;BackColor:Control;}Style16{}Style25{}Style103{}Style118{}Style57{}Style83{ForeColor:ControlText;AlignHorz:Near;BackColor:Control;}Style129{}Style102{}Style44{}Style126{AlignHorz:Near;}Style99{}Style4{}Style52{}Style47{}Style74{}HighlightRow{ForeColor:HighlightText;BackColor:Highlight;}Style100{}Style122{}Style7{}Style42{AlignHorz:Near;}Normal{}Style77{AlignHorz:Near;}Selected{ForeColor:HighlightText;BackColor:Highlight;}Style107{Font:MS UI Gothic, 9pt;AlignHorz:Near;}Style58{}Group{Border:None,,0, 0, 0, 0;AlignVert:Center;BackColor:ControlDark;}Style31{}Style6{}Style26{AlignHorz:Near;}Style124{}Style11{}Style14{}Style95{}Style1{}Style62{ForeColor:ControlText;AlignHorz:Near;BackColor:Control;}Style112{AlignHorz:Near;}Style120{ForeColor:ControlText;AlignHorz:Near;BackColor:Control;}Style50{}Style85{}Style105{Trimming:Character;GradientMode:None;Alpha:255;ForegroundImagePoseftOfText;WrapText:WrapWithOverflow;AlignImage:Stretch;AlignVert:Center;AlignHorz:Near;}Style12{}Style53{}Style134{}RecordSelector{AlignImage:Center;}Style68{AlignHorz:Near;}Style3{}Style113{BackColor:Control;ForeColor:ControlText;AlignHorz:Near;BackColor2:HotTrack;}Style125{}Style132{}Style91{}Style17{}Style130{}Style37{}Style38{}Style24{}Style21{AlignHorz:Near;Font:MS UI Gothic, 9pt;}FilterWatermark{ForeColor:InfoText;BackColor:Info;}Style117{}Style59{}Style2{}Style94{}Style32{}Style121{AlignHorz:Near;}Style40{AlignHorz:Near;}Style27{BackColor:Control;BackColor2:HotTrack;AlignHorz:Near;ForeColor:ControlText;}Caption{AlignHorz:Center;}Style78{}Style60{}Style89{}Style49{}Footer{}Style22{}Style128{AlignHorz:Near;}Style63{Font:MS UI Gothic, 9pt;AlignHorz:Near;}Style69{BackColor:Control;ForeColor:ControlText;AlignHorz:Near;BackColor2:HotTrack;}Style10{}Style56{}Style43{}Style79{}Style86{}Style97{}Style115{}Style13{}Style28{AlignHorz:Near;}Style55{}Style81{}Style101{}Style106{ForeColor:ControlText;AlignHorz:Near;BackColor:Control;}Style30{}Style45{}Style19{Trimming:Character;GradientMode:None;Alpha:255;ForegroundImagePoseftOfText;WrapText:WrapWithOverflow;AlignImage:Stretch;AlignVert:Center;AlignHorz:Near;}Style127{ForeColor:ControlText;AlignHorz:Near;BackColor:Control;}Editor{}Style18{}Style33{AlignHorz:Near;}Style72{}Style20{ForeColor:ControlText;AlignHorz:Near;BackColor:Control;}Style108{}Style75{AlignHorz:Near;}ColumnSelector{}Style9{}Style110{}Style131{}Style48{}Style84{AlignHorz:Near;}Style104{}Style65{}Style39{}Style8{}Style34{ForeColor:ControlText;AlignHorz:Near;BackColor:Control;}Style92{}Style87{}Style109{}&lt;/Data&gt;&lt;/Styles&gt;&lt;Splits&gt;&lt;C1.Win.C1TrueDBGrid.MergeView AllowColMove="False" Name="Split[0,0]" CaptionHeight="16" ColumnCaptionHeight="16" ColumnFooterHeight="16" MarqueeStyle="HighlightCell" RecordSelectorWidth="17" DefRecSelWidth="17" VerticalScrollGroup="1" HorizontalScrollGroup="3" RecordSelectors="False"&gt;&lt;SplitSizeMode&gt;NumberOfColumns&lt;/SplitSizeMode&gt;&lt;CaptionStyle parent="Style2" me="Style100" /&gt;&lt;EditorStyle parent="Editor" me="Style92" /&gt;&lt;EvenRowStyle parent="EvenRow" me="Style98" /&gt;&lt;FilterBarStyle parent="FilterBar" me="Style133" /&gt;&lt;FilterWatermarkStyle parent="FilterWatermark" me="Style134" /&gt;&lt;FooterStyle parent="Footer" me="Style94" /&gt;&lt;GroupStyle parent="Group" me="Style102" /&gt;&lt;HeadingStyle parent="Heading" me="Style93" /&gt;&lt;HighLightRowStyle parent="HighlightRow" me="Style97" /&gt;&lt;InactiveStyle parent="Inactive" me="Style96" /&gt;&lt;OddRowStyle parent="OddRow" me="Style99" /&gt;&lt;RecordSelectorStyle parent="RecordSelector" me="Style101" /&gt;&lt;RowSelectorStyle parent="RowSelector" me="Style103" /&gt;&lt;ColumnSelectorStyle parent="ColumnSelector" me="Style104" /&gt;&lt;SelectedStyle parent="Selected" me="Style95" /&gt;&lt;Style parent="Normal" me="Style91" /&gt;&lt;internalCols&gt;&lt;C1DisplayColumn&gt;&lt;HeadingStyle parent="Style93" me="Style105" /&gt;&lt;ColumnSelectorStyle parent="Style104" me="Style106" /&gt;&lt;Style parent="Style91" me="Style107" /&gt;&lt;FooterStyle parent="Style94" me="Style108" /&gt;&lt;EditorStyle parent="Style92" me="Style109" /&gt;&lt;GroupHeaderStyle parent="Style91" me="Style111" /&gt;&lt;GroupFooterStyle parent="Style91" me="Style110" /&gt;&lt;Visible&gt;True&lt;/Visible&gt;&lt;ColumnDivider&gt;DarkGray,Single&lt;/ColumnDivider&gt;&lt;Height&gt;14&lt;/Height&gt;&lt;DCIdx&gt;0&lt;/DCIdx&gt;&lt;/C1DisplayColumn&gt;&lt;C1DisplayColumn&gt;&lt;HeadingStyle parent="Style93" me="Style112" /&gt;&lt;ColumnSelectorStyle parent="Style104" me="Style113" /&gt;&lt;Style parent="Style91" me="Style114" /&gt;&lt;FooterStyle parent="Style94" me="Style115" /&gt;&lt;EditorStyle parent="Style92" me="Style116" /&gt;&lt;GroupHeaderStyle parent="Style91" me="Style118" /&gt;&lt;GroupFooterStyle parent="Style91" me="Style117" /&gt;&lt;ColumnDivider&gt;DarkGray,Single&lt;/ColumnDivider&gt;&lt;Height&gt;14&lt;/Height&gt;&lt;DCIdx&gt;1&lt;/DCIdx&gt;&lt;Width&gt;-1&lt;/Width&gt;&lt;/C1DisplayColumn&gt;&lt;C1DisplayColumn&gt;&lt;HeadingStyle parent="Style93" me="Style119" /&gt;&lt;ColumnSelectorStyle parent="Style104" me="Style120" /&gt;&lt;Style parent="Style91" me="Style121" /&gt;&lt;FooterStyle parent="Style94" me="Style122" /&gt;&lt;EditorStyle parent="Style92" me="Style123" /&gt;&lt;GroupHeaderStyle parent="Style91" me="Style125" /&gt;&lt;GroupFooterStyle parent="Style91" me="Style124" /&gt;&lt;ColumnDivider&gt;DarkGray,Single&lt;/ColumnDivider&gt;&lt;Height&gt;14&lt;/Height&gt;&lt;DCIdx&gt;2&lt;/DCIdx&gt;&lt;Width&gt;-1&lt;/Width&gt;&lt;/C1DisplayColumn&gt;&lt;C1DisplayColumn&gt;&lt;HeadingStyle parent="Style93" me="Style126" /&gt;&lt;ColumnSelectorStyle parent="Style104" me="Style127" /&gt;&lt;Style parent="Style91" me="Style128" /&gt;&lt;FooterStyle parent="Style94" me="Style129" /&gt;&lt;EditorStyle parent="Style92" me="Style130" /&gt;&lt;GroupHeaderStyle parent="Style91" me="Style132" /&gt;&lt;GroupFooterStyle parent="Style91" me="Style131" /&gt;&lt;ColumnDivider&gt;DarkGray,Single&lt;/ColumnDivider&gt;&lt;Height&gt;14&lt;/Height&gt;&lt;DCIdx&gt;3&lt;/DCIdx&gt;&lt;Width&gt;-1&lt;/Width&gt;&lt;/C1DisplayColumn&gt;&lt;/internalCols&gt;&lt;ClientRect&gt;0, 0, 101, 188&lt;/ClientRect&gt;&lt;BorderSide&gt;Right&lt;/BorderSide&gt;&lt;/C1.Win.C1TrueDBGrid.MergeView&gt;&lt;C1.Win.C1TrueDBGrid.MergeView AllowColMove="False" Name="Split[0,1]" CaptionHeight="16" ColumnCaptionHeight="16" ColumnFooterHeight="16" MarqueeStyle="HighlightCell" RecordSelectorWidth="17" DefRecSelWidth="17" VerticalScrollGroup="1" HorizontalScrollGroup="2" RecordSelectors="False"&gt;&lt;SplitSizeMode&gt;NumberOfColumns&lt;/SplitSizeMode&gt;&lt;CaptionStyle parent="Style2" me="Style56" /&gt;&lt;EditorStyle parent="Editor" me="Style48" /&gt;&lt;EvenRowStyle parent="EvenRow" me="Style54" /&gt;&lt;FilterBarStyle parent="FilterBar" me="Style89" /&gt;&lt;FilterWatermarkStyle parent="FilterWatermark" me="Style90" /&gt;&lt;FooterStyle parent="Footer" me="Style50" /&gt;&lt;GroupStyle parent="Group" me="Style58" /&gt;&lt;HeadingStyle parent="Heading" me="Style49" /&gt;&lt;HighLightRowStyle parent="HighlightRow" me="Style53" /&gt;&lt;InactiveStyle parent="Inactive" me="Style52" /&gt;&lt;OddRowStyle parent="OddRow" me="Style55" /&gt;&lt;RecordSelectorStyle parent="RecordSelector" me="Style57" /&gt;&lt;RowSelectorStyle parent="RowSelector" me="Style59" /&gt;&lt;ColumnSelectorStyle parent="ColumnSelector" me="Style60" /&gt;&lt;SelectedStyle parent="Selected" me="Style51" /&gt;&lt;Style parent="Normal" me="Style47" /&gt;&lt;internalCols&gt;&lt;C1DisplayColumn&gt;&lt;HeadingStyle parent="Style49" me="Style61" /&gt;&lt;ColumnSelectorStyle parent="Style60" me="Style62" /&gt;&lt;Style parent="Style47" me="Style63" /&gt;&lt;FooterStyle parent="Style50" me="Style64" /&gt;&lt;EditorStyle parent="Style48" me="Style65" /&gt;&lt;GroupHeaderStyle parent="Style47" me="Style67" /&gt;&lt;GroupFooterStyle parent="Style47" me="Style66" /&gt;&lt;ColumnDivider&gt;DarkGray,Single&lt;/ColumnDivider&gt;&lt;Height&gt;14&lt;/Height&gt;&lt;DCIdx&gt;0&lt;/DCIdx&gt;&lt;Width&gt;-1&lt;/Width&gt;&lt;/C1DisplayColumn&gt;&lt;C1DisplayColumn&gt;&lt;HeadingStyle parent="Style49" me="Style68" /&gt;&lt;ColumnSelectorStyle parent="Style60" me="Style69" /&gt;&lt;Style parent="Style47" me="Style70" /&gt;&lt;FooterStyle parent="Style50" me="Style71" /&gt;&lt;EditorStyle parent="Style48" me="Style72" /&gt;&lt;GroupHeaderStyle parent="Style47" me="Style74" /&gt;&lt;GroupFooterStyle parent="Style47" me="Style73" /&gt;&lt;Visible&gt;True&lt;/Visible&gt;&lt;ColumnDivider&gt;DarkGray,Single&lt;/ColumnDivider&gt;&lt;Height&gt;14&lt;/Height&gt;&lt;DCIdx&gt;1&lt;/DCIdx&gt;&lt;/C1DisplayColumn&gt;&lt;C1DisplayColumn&gt;&lt;HeadingStyle parent="Style49" me="Style75" /&gt;&lt;ColumnSelectorStyle parent="Style60" me="Style76" /&gt;&lt;Style parent="Style47" me="Style77" /&gt;&lt;FooterStyle parent="Style50" me="Style78" /&gt;&lt;EditorStyle parent="Style48" me="Style79" /&gt;&lt;GroupHeaderStyle parent="Style47" me="Style81" /&gt;&lt;GroupFooterStyle parent="Style47" me="Style80" /&gt;&lt;Visible&gt;True&lt;/Visible&gt;&lt;ColumnDivider&gt;DarkGray,Single&lt;/ColumnDivider&gt;&lt;Height&gt;14&lt;/Height&gt;&lt;DCIdx&gt;2&lt;/DCIdx&gt;&lt;/C1DisplayColumn&gt;&lt;C1DisplayColumn&gt;&lt;HeadingStyle parent="Style49" me="Style82" /&gt;&lt;ColumnSelectorStyle parent="Style60" me="Style83" /&gt;&lt;Style parent="Style47" me="Style84" /&gt;&lt;FooterStyle parent="Style50" me="Style85" /&gt;&lt;EditorStyle parent="Style48" me="Style86" /&gt;&lt;GroupHeaderStyle parent="Style47" me="Style88" /&gt;&lt;GroupFooterStyle parent="Style47" me="Style87" /&gt;&lt;ColumnDivider&gt;DarkGray,Single&lt;/ColumnDivider&gt;&lt;Height&gt;14&lt;/Height&gt;&lt;DCIdx&gt;3&lt;/DCIdx&gt;&lt;Width&gt;-1&lt;/Width&gt;&lt;/C1DisplayColumn&gt;&lt;/internalCols&gt;&lt;ClientRect&gt;106, 0, 101, 188&lt;/ClientRect&gt;&lt;BorderSide&gt;Left, Right&lt;/BorderSide&gt;&lt;/C1.Win.C1TrueDBGrid.MergeView&gt;&lt;C1.Win.C1TrueDBGrid.MergeView AllowColMove="False" Name="Split[0,2]" CaptionHeight="16" ColumnCaptionHeight="16" ColumnFooterHeight="16" MarqueeStyle="HighlightCell" RecordSelectorWidth="17" DefRecSelWidth="17" VerticalScrollGroup="1" HorizontalScrollGroup="1" RecordSelectors="False"&gt;&lt;CaptionStyle parent="Style2" me="Style10" /&gt;&lt;EditorStyle parent="Editor" me="Style5" /&gt;&lt;EvenRowStyle parent="EvenRow" me="Style8" /&gt;&lt;FilterBarStyle parent="FilterBar" me="Style15" /&gt;&lt;FilterWatermarkStyle parent="FilterWatermark" me="Style16" /&gt;&lt;FooterStyle parent="Footer" me="Style3" /&gt;&lt;GroupStyle parent="Group" me="Style12" /&gt;&lt;HeadingStyle parent="Heading" me="Style2" /&gt;&lt;HighLightRowStyle parent="HighlightRow" me="Style7" /&gt;&lt;InactiveStyle parent="Inactive" me="Style4" /&gt;&lt;OddRowStyle parent="OddRow" me="Style9" /&gt;&lt;RecordSelectorStyle parent="RecordSelector" me="Style11" /&gt;&lt;RowSelectorStyle parent="RowSelector" me="Style13" /&gt;&lt;ColumnSelectorStyle parent="ColumnSelector" me="Style14" /&gt;&lt;SelectedStyle parent="Selected" me="Style6" /&gt;&lt;Style parent="Normal" me="Style1" /&gt;&lt;internalCols&gt;&lt;C1DisplayColumn&gt;&lt;HeadingStyle parent="Style2" me="Style19" /&gt;&lt;ColumnSelectorStyle parent="Style14" me="Style20" /&gt;&lt;Style parent="Style1" me="Style21" /&gt;&lt;FooterStyle parent="Style3" me="Style22" /&gt;&lt;EditorStyle parent="Style5" me="Style23" /&gt;&lt;GroupHeaderStyle parent="Style1" me="Style25" /&gt;&lt;GroupFooterStyle parent="Style1" me="Style24" /&gt;&lt;ColumnDivider&gt;DarkGray,Single&lt;/ColumnDivider&gt;&lt;Height&gt;14&lt;/Height&gt;&lt;DCIdx&gt;0&lt;/DCIdx&gt;&lt;Width&gt;-1&lt;/Width&gt;&lt;/C1DisplayColumn&gt;&lt;C1DisplayColumn&gt;&lt;HeadingStyle parent="Style2" me="Style26" /&gt;&lt;ColumnSelectorStyle parent="Style14" me="Style27" /&gt;&lt;Style parent="Style1" me="Style28" /&gt;&lt;FooterStyle parent="Style3" me="Style29" /&gt;&lt;EditorStyle parent="Style5" me="Style30" /&gt;&lt;GroupHeaderStyle parent="Style1" me="Style32" /&gt;&lt;GroupFooterStyle parent="Style1" me="Style31" /&gt;&lt;ColumnDivider&gt;DarkGray,Single&lt;/ColumnDivider&gt;&lt;Height&gt;14&lt;/Height&gt;&lt;DCIdx&gt;1&lt;/DCIdx&gt;&lt;Width&gt;-1&lt;/Width&gt;&lt;/C1DisplayColumn&gt;&lt;C1DisplayColumn&gt;&lt;HeadingStyle parent="Style2" me="Style33" /&gt;&lt;ColumnSelectorStyle parent="Style14" me="Style34" /&gt;&lt;Style parent="Style1" me="Style35" /&gt;&lt;FooterStyle parent="Style3" me="Style36" /&gt;&lt;EditorStyle parent="Style5" me="Style37" /&gt;&lt;GroupHeaderStyle parent="Style1" me="Style39" /&gt;&lt;GroupFooterStyle parent="Style1" me="Style38" /&gt;&lt;ColumnDivider&gt;DarkGray,Single&lt;/ColumnDivider&gt;&lt;Height&gt;14&lt;/Height&gt;&lt;DCIdx&gt;2&lt;/DCIdx&gt;&lt;Width&gt;-1&lt;/Width&gt;&lt;/C1DisplayColumn&gt;&lt;C1DisplayColumn&gt;&lt;HeadingStyle parent="Style2" me="Style40" /&gt;&lt;ColumnSelectorStyle parent="Style14" me="Style41" /&gt;&lt;Style parent="Style1" me="Style42" /&gt;&lt;FooterStyle parent="Style3" me="Style43" /&gt;&lt;EditorStyle parent="Style5" me="Style44" /&gt;&lt;GroupHeaderStyle parent="Style1" me="Style46" /&gt;&lt;GroupFooterStyle parent="Style1" me="Style45" /&gt;&lt;Visible&gt;True&lt;/Visible&gt;&lt;ColumnDivider&gt;DarkGray,Single&lt;/ColumnDivider&gt;&lt;Height&gt;14&lt;/Height&gt;&lt;DCIdx&gt;3&lt;/DCIdx&gt;&lt;/C1DisplayColumn&gt;&lt;/internalCols&gt;&lt;ClientRect&gt;212, 0, 229, 188&lt;/ClientRect&gt;&lt;BorderSide&gt;Left&lt;/BorderSide&gt;&lt;/C1.Win.C1TrueDBGrid.MergeView&gt;&lt;/Splits&gt;&lt;NamedStyles&gt;&lt;Style parent="" me="Normal" /&gt;&lt;Style parent="Normal" me="Heading" /&gt;&lt;Style parent="Heading" me="Footer" /&gt;&lt;Style parent="Heading" me="Caption" /&gt;&lt;Style parent="Heading" me="Inactive" /&gt;&lt;Style parent="Normal" me="Selected" /&gt;&lt;Style parent="Normal" me="Editor" /&gt;&lt;Style parent="Normal" me="HighlightRow" /&gt;&lt;Style parent="Normal" me="EvenRow" /&gt;&lt;Style parent="Normal" me="OddRow" /&gt;&lt;Style parent="Heading" me="RecordSelector" /&gt;&lt;Style parent="Normal" me="FilterBar" /&gt;&lt;Style parent="FilterBar" me="FilterWatermark" /&gt;&lt;Style parent="Caption" me="Group" /&gt;&lt;Style parent="RecordSelector" me="RowSelector" /&gt;&lt;Style parent="Heading" me="ColumnSelector" /&gt;&lt;/NamedStyles&gt;&lt;vertSplits&gt;1&lt;/vertSplits&gt;&lt;horzSplits&gt;3&lt;/horzSplits&gt;&lt;Layout&gt;Modified&lt;/Layout&gt;&lt;DefaultRecSelWidth&gt;17&lt;/DefaultRecSelWidth&gt;&lt;ClientArea&gt;0, 0, 441, 188&lt;/ClientArea&gt;&ltrintPageHeaderStyle parent="" me="Style17" /&gt;&ltrintPageFooterStyle parent="" me="Style18" /&gt;&lt;/Blob&gt;</value>
  </data>
</root>
回复 使用道具 举报
Demo
中级会员   /  发表于:2018-1-18 09:33:24
10#
Demo 发表于 2018-1-18 09:30
.resX文件,这个比较多

部分代码和贵网站的表情冲突,望谅解
回复 使用道具 举报
123下一页
您需要登录后才可以回帖 登录 | 立即注册
返回顶部