Unit53.dfm

<< Click to Display Table of Contents >>

Navigation:  Demos > 15 > Delphi > DBGridControls >

Unit53.dfm

object IWForm53: TIWForm53

 Left = 0

 Top = 0

 Width = 1026

 Height = 600

 RenderInvisibleControls = False

 AllowPageAccess = True

 ConnectionMode = cmAny

 ExtraHeader.Strings = (

 

 ' 'ibs/font-awesome/6.5.0/css/all.min.css">''''''''th, td {'' border: 1px solid gray;'' padding: 8px;''}''''th {'' background-color: #f2f2f2;''}''''a.custom-btn {'' display: inline-block;'' padding: 0.25rem 0.5rem;'' margin: 5px;'' color: #fff;'' text-decoration: none;'' border-radius: 0.25rem;'' font-size: 0.875rem;'' transition: background-color 0.15s ease-in-out;''}''''a.custom-btn-blue {'' background-color: #007bff; /* Bootstrap'#39's primary blue */''}''''a.custom-btn-blue:hover {'' background-color: #0056b3; /* Darker blue on hover */''}''''a.custom-btn-red {'' background-color: #dc3545; /* Bootstrap'#39's danger red */''}''''a.custom-btn-red:hover {'' background-color: #c82333; /* Darker red on hover */''}''''')OnCreate = IWAppFormCreateBackground.Fixed = FalseHandleTabs = FalseLeftToRight = TrueLockUntilLoaded = TrueLockOnSubmit = TrueShowHint = TrueDesignLeft = 2DesignTop = 2object IWDBGrid1: TIWDBGridAlignWithMargins = FalseLeft = 25Top = 24Width = 658Height = 281RenderSize = FalseStyleRenderOptions.RenderSize = FalseStyleRenderOptions.RenderFont = FalseStyleRenderOptions.RenderAbsolute = FalseBorderColors.Color = clNoneBorderColors.Light = clNoneBorderColors.Dark = clNoneBGColor = clNoneBorderSize = 1BorderStyle = tfDefaultCaption = 'Products'CellPadding = 0CellSpacing = 0FrameBuffer = 40Lines = tlAllOnRenderCell = IWDBGrid1RenderCellUseFrame = FalseUseSize = FalseShowEmptyCells = TrueShowInvisibleRows = TrueScrollToCurrentRow = FalseColumns = <itemAlignment = taLeftJustifyBGColor = clNoneDoSubmitValidation = TrueFont.Color = clNoneFont.Size = 10Font.Style = []Font.PxSize = 13Header = FalseHeight = '0'ShowHint = TrueVAlign = vaMiddleVisible = TrueWidth = '0'Wrap = FalseRawText = FalseCss = ''BlobCharLimit = 0CompareHighlight = hcNoneTitle.Alignment = taCenterTitle.BGColor = clNoneTitle.DoSubmitValidation = TrueTitle.Font.Color = clNoneTitle.Font.Size = 10Title.Font.Style = []Title.Font.PxSize = 13Title.Header = FalseTitle.Height = '0'Title.ShowHint = TrueTitle.VAlign = vaMiddleTitle.Visible = TrueTitle.Width = '0'Title.Wrap = FalseTitle.RawText = TrueenditemAlignment = taLeftJustifyBGColor = clNoneDoSubmitValidation = TrueFont.Color = clNoneFont.Size = 10Font.Style = []Font.PxSize = 13Header = FalseHeight = '0'ShowHint = TrueVAlign = vaMiddleVisible = TrueWidth = '150'Wrap = FalseRawText = FalseCss = ''BlobCharLimit = 0CompareHighlight = hcNoneDataField = 'SKU'Title.Alignment = taCenterTitle.BGColor = clNoneTitle.DoSubmitValidation = TrueTitle.Font.Color = clNoneTitle.Font.Size = 10Title.Font.Style = []Title.Font.PxSize = 13Title.Header = FalseTitle.Height = '0'Title.ShowHint = TrueTitle.Text = 'SKU'Title.VAlign = vaMiddleTitle.Visible = TrueTitle.Width = '0'Title.Wrap = FalseTitle.RawText = TrueenditemAlignment = taLeftJustifyBGColor = clNoneDoSubmitValidation = TrueFont.Color = clNoneFont.Size = 10Font.Style = []Font.PxSize = 13Header = FalseHeight = '0'ShowHint = TrueVAlign = vaMiddleVisible = TrueWidth = '150'Wrap = FalseRawText = FalseCss = ''BlobCharLimit = 0CompareHighlight = hcNoneDataField = 'Desc'Title.Alignment = taCenterTitle.BGColor = clNoneTitle.DoSubmitValidation = TrueTitle.Font.Color = clNoneTitle.Font.Size = 10Title.Font.Style = []Title.Font.PxSize = 13Title.Header = FalseTitle.Height = '0'Title.ShowHint = TrueTitle.Text = 'Description'Title.VAlign = vaMiddleTitle.Visible = TrueTitle.Width = '0'Title.Wrap = FalseTitle.RawText = TrueenditemAlignment = taLeftJustifyBGColor = clNoneDoSubmitValidation = TrueFont.Color = clNoneFont.Size = 10Font.Style = []Font.PxSize = 13Header = FalseHeight = '0'ShowHint = TrueVAlign = vaMiddleVisible = TrueWidth = '0'Wrap = FalseRawText = FalseCss = 'custom-btn custom-btn-blue|custom-btn custom-btn-red'BlobCharLimit = 0CompareHighlight = hcNoneDataField = 'Action'LinkField = 'Id'MultLink = TrueTitle.Alignment = taCenterTitle.BGColor = clNoneTitle.DoSubmitValidation = TrueTitle.Font.Color = clNoneTitle.Font.Size = 10Title.Font.Style = []Title.Font.PxSize = 13Title.Header = FalseTitle.Height = '0'Title.ShowHint = TrueTitle.Text = 'Action'Title.VAlign = vaMiddleTitle.Visible = TrueTitle.Width = '0'Title.Wrap = FalseTitle.RawText = TrueOnAsyncClick = IWDBGrid1Columns3AsyncClickend>DataSource = DataSource1FooterRowCount = 0FriendlyName = 'IWDBGrid_1'FromStart = TrueHighlightColor = clNoneHighlightRows = FalseOptions = [dgShowTitles]RefreshMode = rmAutomaticRowLimit = 0RollOver = FalseRowClick = FalseRollOverColor = clNoneRowHeaderColor = clNoneRowAlternateColor = clNoneRowCurrentColor = clNoneendobject IWLabelEx1: TIWLabelExAlignWithMargins = FalseLeft = 25Top = 320Width = 699Height = 20Font.Color = clNoneFont.Size = 12Font.Style = []Font.PxSize = 16HasTabOrder = FalseFriendlyName = 'IWLabelEx1'Caption = 'To work properly with multlink Colum in grid, this demo require' +'s IntraWeb 16.0.9 or later.'Image.WebFontClass = 'fas fa-exclamation-circle'endobject ClientDataSet1: TClientDataSetAggregates = <>FieldDefs = <itemName = 'Id'DataType = ftIntegerenditemName = 'SKU'DataType = ftStringSize = 20enditemName = 'Desc'DataType = ftStringSize = 20end>IndexDefs = <>Params = <>StoreDefs = TrueOnCalcFields = ClientDataSet1CalcFieldsLeft = 704Top = 52object ClientDataSet1Id: TIntegerFieldFieldName = 'Id'endobject ClientDataSet1Field1: TStringFieldFieldName = 'SKU'endobject ClientDataSet1Field2: TStringFieldDisplayLabel = 'Description'FieldName = 'Desc'endobject ClientDataSet1ActionField: TStringFieldFieldKind = fkCalculatedFieldName = 'Action'Calculated = Trueendendobject DataSource1: TDataSourceDataSet = ClientDataSet1Left = 808Top = 52endend