![]() |
Page controller shows when not needed - Printable Version +- Atozed Forums (https://www.atozed.com/forums) +-- Forum: Atozed Software (https://www.atozed.com/forums/forum-1.html) +--- Forum: IntraWeb (https://www.atozed.com/forums/forum-3.html) +---- Forum: English (https://www.atozed.com/forums/forum-16.html) +----- Forum: IntraWeb General Discussion (https://www.atozed.com/forums/forum-4.html) +----- Thread: Page controller shows when not needed (/thread-5424.html) |
Page controller shows when not needed - v.lasquibar@telefonica.net - 09-15-2025 Hi, I'm developping with Delphi 12.1 CE and Intraweb 15.1.2. I've developped an application in SA mode for a client and, in a previous version, I showed the Page controller to help the user to navigate across a list of records coming from a DB (usually between 70 and 200). The client requested to enlarge the table size and to suppress Page controller. Then, I've implemented following solution: - Rowcount: 9999 (set by code) Grid definition: object Lista: TTIWDBAdvWebGrid AlignWithMargins = False Left = 20 Top = 1 Width = 1233 Height = 608 Anchors = [akLeft, akTop, akRight, akBottom] ActiveRowColor = clNone ActiveRowFontColor = clNone AdvanceOnReturn = False AutoEdit = False AutoHTMLAdapt = False Background.GradientDirection = gdHorizontal Background.Gradient1 = clNone Background.Gradient2 = clNone Background.Picture.Stretch = False Background.Picture.Frame = 0 Bands.Active = False Bands.PrimaryColor = clInfoBk Bands.SecondaryColor = clWebWHITE Borders.Inner = ibColumns Borders.Outer = obVertical Borders.Padding = 0 Borders.Spacing = 3 Borders.Width = 3 Borders.Collapsed = True Borders.Color = clNone Borders.ColorDark = clNone Borders.ColorLight = clNone CellComment.BorderColor = 14263350 CellComment.Color = 15784080 CellComment.DisplayType = dtMouseOver CellComment.Font.Color = 9330453 CellComment.Font.Size = 10 CellComment.Font.Style = [] CellComment.Font.PxSize = 13 CheckTruePicture.Stretch = False CheckTruePicture.Frame = 0 CheckFalsePicture.Stretch = False CheckFalsePicture.Frame = 0 Color = clNone Columns = < item CheckTrue = 'true' CheckFalse = 'false' ColumnHeaderFont.Color = clNone ColumnHeaderFont.Size = 10 ColumnHeaderFont.Style = [fsBold] ColumnHeaderFont.PxSize = 13 DefaultDynEdit = '0' DefaultDynText = '0' DetailFont.Color = clNone DetailFont.Size = 10 DetailFont.Style = [] DetailFont.PxSize = 13 Font.Color = clNone Font.Size = 10 Font.Style = [] Font.PxSize = 13 FooterFormat = '%g' SpinEditMaxValue = 100 SpinEditMinValue = 0 end item CheckTrue = 'true' CheckFalse = 'false' ColumnHeaderFont.Color = clNone ColumnHeaderFont.Size = 10 ColumnHeaderFont.Style = [] ColumnHeaderFont.PxSize = 13 DefaultDynEdit = '0' DefaultDynText = '0' DetailFont.Color = clNone DetailFont.Size = 10 DetailFont.Style = [] DetailFont.PxSize = 13 Font.Color = clNone Font.Size = 10 Font.Style = [] Font.PxSize = 13 FooterFormat = '%g' SpinEditMaxValue = 100 SpinEditMinValue = 0 end item CheckTrue = 'true' CheckFalse = 'false' ColumnHeaderFont.Color = clNone ColumnHeaderFont.Size = 10 ColumnHeaderFont.Style = [] ColumnHeaderFont.PxSize = 13 DefaultDynEdit = '0' DefaultDynText = '0' DetailFont.Color = clNone DetailFont.Size = 10 DetailFont.Style = [] DetailFont.PxSize = 13 Font.Color = clNone Font.Size = 10 Font.Style = [] Font.PxSize = 13 FooterFormat = '%g' SpinEditMaxValue = 100 SpinEditMinValue = 0 end> ColumnHeaderColor = clMoneyGreen ColumnHeaderFont.Color = clNone ColumnHeaderFont.FontName = 'tahoma' ColumnHeaderFont.Size = 15 ColumnHeaderFont.Style = [fsBold] ColumnHeaderFont.PxSize = 20 ColumnHeaderBorders.Inner = ibColumns ColumnHeaderBorders.Outer = obVertical ColumnHeaderBorders.Padding = 0 ColumnHeaderBorders.Spacing = 3 ColumnHeaderBorders.Width = 0 ColumnHeaderBorders.Collapsed = True ColumnHeaderBorders.Color = clNone ColumnHeaderBorders.ColorDark = clNone ColumnHeaderBorders.ColorLight = clNone ColumnSizing = True Controller.Alignment = taLeftJustify Controller.Borders.Inner = ibAll Controller.Borders.Outer = obAll Controller.Borders.Padding = 0 Controller.Borders.Spacing = 0 Controller.Borders.Width = 1 Controller.Borders.Collapsed = True Controller.Borders.Color = clNone Controller.Borders.ColorDark = clNone Controller.Borders.ColorLight = clNone Controller.Color = clNone Controller.Font.Color = clNone Controller.Font.Size = 12 Controller.Font.Style = [] Controller.Font.PxSize = 16 Controller.Gradient1 = clNone Controller.Gradient2 = clNone Controller.GradientDirection = gdHorizontal Controller.Height = 22 Controller.MaxPages = 50 Controller.Position = cpTop Controller.Pager = cpPrevNextFirstLast Controller.PagerType = cptLink Controller.IndicatorFormat = '%d de %d' Controller.IndicatorType = itPageNr Controller.TextPrev = 'Anterior' Controller.TextNext = 'Siguiente' Controller.TextFirst = 'Inicio' Controller.TextLast = 'Fin' Controller.ImgPrev.Stretch = False Controller.ImgPrev.Frame = 0 Controller.ImgNext.Stretch = False Controller.ImgNext.Frame = 0 Controller.ImgFirst.Stretch = False Controller.ImgFirst.Frame = 0 Controller.ImgLast.Stretch = False Controller.ImgLast.Frame = 0 Controller.RowCountSelect = False Controller.HintFind = 'Find' Controller.ShowPagersAlways = False DateSeparator = '/' DateFormat = gdEU DecimalPoint = ',' DefaultColumnHeaderHeight = 22 DefaultRowHeight = 22 DetailRowHeight = 0 DetailRowShow = dsNormal EditColor = clNone EditSelectAll = False FooterBorders.Inner = ibAll FooterBorders.Outer = obAll FooterBorders.Padding = 0 FooterBorders.Spacing = 0 FooterBorders.Width = 1 FooterBorders.Collapsed = True FooterBorders.Color = clNone FooterBorders.ColorDark = clNone FooterBorders.ColorLight = clNone FooterColor = clBtnFace FooterFont.Color = clNone FooterFont.Size = 10 FooterFont.Style = [] FooterFont.PxSize = 13 Font.Color = clNone Font.FontName = 'tahoma' Font.Size = 12 Font.Style = [] Font.PxSize = 16 Glyphs.EditButton.Data = { 36050000424D3605000000000000360400002800000010000000100000000100 0800000000000001000000000000000000000001000000000000000000000000 80000080000000808000800000008000800080800000C0C0C000C0DCC000F0CA A6000020400000206000002080000020A0000020C0000020E000004000000040 20000040400000406000004080000040A0000040C0000040E000006000000060 20000060400000606000006080000060A0000060C0000060E000008000000080 20000080400000806000008080000080A0000080C0000080E00000A0000000A0 200000A0400000A0600000A0800000A0A00000A0C00000A0E00000C0000000C0 200000C0400000C0600000C0800000C0A00000C0C00000C0E00000E0000000E0 200000E0400000E0600000E0800000E0A00000E0C00000E0E000400000004000 20004000400040006000400080004000A0004000C0004000E000402000004020 20004020400040206000402080004020A0004020C0004020E000404000004040 20004040400040406000404080004040A0004040C0004040E000406000004060 20004060400040606000406080004060A0004060C0004060E000408000004080 20004080400040806000408080004080A0004080C0004080E00040A0000040A0 200040A0400040A0600040A0800040A0A00040A0C00040A0E00040C0000040C0 200040C0400040C0600040C0800040C0A00040C0C00040C0E00040E0000040E0 200040E0400040E0600040E0800040E0A00040E0C00040E0E000800000008000 20008000400080006000800080008000A0008000C0008000E000802000008020 20008020400080206000802080008020A0008020C0008020E000804000008040 20008040400080406000804080008040A0008040C0008040E000806000008060 20008060400080606000806080008060A0008060C0008060E000808000008080 20008080400080806000808080008080A0008080C0008080E00080A0000080A0 200080A0400080A0600080A0800080A0A00080A0C00080A0E00080C0000080C0 200080C0400080C0600080C0800080C0A00080C0C00080C0E00080E0000080E0 200080E0400080E0600080E0800080E0A00080E0C00080E0E000C0000000C000 2000C0004000C0006000C0008000C000A000C000C000C000E000C0200000C020 2000C0204000C0206000C0208000C020A000C020C000C020E000C0400000C040 2000C0404000C0406000C0408000C040A000C040C000C040E000C0600000C060 2000C0604000C0606000C0608000C060A000C060C000C060E000C0800000C080 2000C0804000C0806000C0808000C080A000C080C000C080E000C0A00000C0A0 2000C0A04000C0A06000C0A08000C0A0A000C0A0C000C0A0E000C0C00000C0C0 2000C0C04000C0C06000C0C08000C0C0A000F0FBFF00A4A0A000808080000000 FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF000707E4E4E4E4 E4E4E4E4E4E4E4E4E4070707EDF609090909090909090909E4070707EDF60707 0707070707070709E4070707EDF6F6090909090909090909E4070707EDFFF609 0909095A09090909E4070707F5FF07070707075200070709E4070707F5FFFFF6 F609095A00000709E407070707FFFFFFF6F6095AFB360007E407070707FF0707 070707A4FB360007ED07070709FFFFFFFFF6F6F65BFB3600ED07070709FFFFFF FFFFF6F6ACFB36000707070709FF070707070707F652FB360007070709FFFFFF FFFFFFFF079A7F360007070709FFFFFFFFFFFFFF08EC51000200070709FFFFFF FFFFFFFF07EC9A0202410707090909090909090907E407838307} Glyphs.EditHint = 'Edit' Glyphs.PostButton.Data = { 36050000424D3605000000000000360400002800000010000000100000000100 0800000000000001000000000000000000000001000000000000000000000000 80000080000000808000800000008000800080800000C0C0C000C0DCC000F0CA A6000020400000206000002080000020A0000020C0000020E000004000000040 20000040400000406000004080000040A0000040C0000040E000006000000060 20000060400000606000006080000060A0000060C0000060E000008000000080 20000080400000806000008080000080A0000080C0000080E00000A0000000A0 200000A0400000A0600000A0800000A0A00000A0C00000A0E00000C0000000C0 200000C0400000C0600000C0800000C0A00000C0C00000C0E00000E0000000E0 200000E0400000E0600000E0800000E0A00000E0C00000E0E000400000004000 20004000400040006000400080004000A0004000C0004000E000402000004020 20004020400040206000402080004020A0004020C0004020E000404000004040 20004040400040406000404080004040A0004040C0004040E000406000004060 20004060400040606000406080004060A0004060C0004060E000408000004080 20004080400040806000408080004080A0004080C0004080E00040A0000040A0 200040A0400040A0600040A0800040A0A00040A0C00040A0E00040C0000040C0 200040C0400040C0600040C0800040C0A00040C0C00040C0E00040E0000040E0 200040E0400040E0600040E0800040E0A00040E0C00040E0E000800000008000 20008000400080006000800080008000A0008000C0008000E000802000008020 20008020400080206000802080008020A0008020C0008020E000804000008040 20008040400080406000804080008040A0008040C0008040E000806000008060 20008060400080606000806080008060A0008060C0008060E000808000008080 20008080400080806000808080008080A0008080C0008080E00080A0000080A0 200080A0400080A0600080A0800080A0A00080A0C00080A0E00080C0000080C0 200080C0400080C0600080C0800080C0A00080C0C00080C0E00080E0000080E0 200080E0400080E0600080E0800080E0A00080E0C00080E0E000C0000000C000 2000C0004000C0006000C0008000C000A000C000C000C000E000C0200000C020 2000C0204000C0206000C0208000C020A000C020C000C020E000C0400000C040 2000C0404000C0406000C0408000C040A000C040C000C040E000C0600000C060 2000C0604000C0606000C0608000C060A000C060C000C060E000C0800000C080 2000C0804000C0806000C0808000C080A000C080C000C080E000C0A00000C0A0 2000C0A04000C0A06000C0A08000C0A0A000C0A0C000C0A0E000C0C00000C0C0 2000C0C04000C0C06000C0C08000C0C0A000F0FBFF00A4A0A000808080000000 FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF0007070707071D 1D1D1D1D1D0707070707070707271E1F2727271F1E1D1D07070707071E276FB7 F6F6F6BF6F271E1D0707072727B7F6FFF6F6F6FFFFBF271E1D070727B7FFF6B7 6FBF276FF6FFBF271D07276FF6FF6F27F6FF6F1F27F6FF6F1E1D27B7FFBF6FF6 FFF6B7271F6FFFBF1F1D27B7FFB7BFFFAF6FF6672727F6F6271E67BFFFB76F6F 2727B7B72727F6F6271E6F08FFB76F6F6F676FB72727F6F6271E67BFFFF66F6F 6F6F676F6FB7FFB7271D076FF6FFBF6F6F6F6727B7F6F66F1E07076FF6F6FFF6 B7B7B7BFFFFFB7271E070707AFF6FFFFFFFFFFFFF6B7271F07070707076FBFF6 F6F6F6B76F272707070707070707076FAFAF6F67270707070707} Glyphs.PostHint = 'Post' Glyphs.CancelButton.Data = { 36050000424D3605000000000000360400002800000010000000100000000100 0800000000000001000000000000000000000001000000000000000000000000 80000080000000808000800000008000800080800000C0C0C000C0DCC000F0CA A6000020400000206000002080000020A0000020C0000020E000004000000040 20000040400000406000004080000040A0000040C0000040E000006000000060 20000060400000606000006080000060A0000060C0000060E000008000000080 20000080400000806000008080000080A0000080C0000080E00000A0000000A0 200000A0400000A0600000A0800000A0A00000A0C00000A0E00000C0000000C0 200000C0400000C0600000C0800000C0A00000C0C00000C0E00000E0000000E0 200000E0400000E0600000E0800000E0A00000E0C00000E0E000400000004000 20004000400040006000400080004000A0004000C0004000E000402000004020 20004020400040206000402080004020A0004020C0004020E000404000004040 20004040400040406000404080004040A0004040C0004040E000406000004060 20004060400040606000406080004060A0004060C0004060E000408000004080 20004080400040806000408080004080A0004080C0004080E00040A0000040A0 200040A0400040A0600040A0800040A0A00040A0C00040A0E00040C0000040C0 200040C0400040C0600040C0800040C0A00040C0C00040C0E00040E0000040E0 200040E0400040E0600040E0800040E0A00040E0C00040E0E000800000008000 20008000400080006000800080008000A0008000C0008000E000802000008020 20008020400080206000802080008020A0008020C0008020E000804000008040 20008040400080406000804080008040A0008040C0008040E000806000008060 20008060400080606000806080008060A0008060C0008060E000808000008080 20008080400080806000808080008080A0008080C0008080E00080A0000080A0 200080A0400080A0600080A0800080A0A00080A0C00080A0E00080C0000080C0 200080C0400080C0600080C0800080C0A00080C0C00080C0E00080E0000080E0 200080E0400080E0600080E0800080E0A00080E0C00080E0E000C0000000C000 2000C0004000C0006000C0008000C000A000C000C000C000E000C0200000C020 2000C0204000C0206000C0208000C020A000C020C000C020E000C0400000C040 2000C0404000C0406000C0408000C040A000C040C000C040E000C0600000C060 2000C0604000C0606000C0608000C060A000C060C000C060E000C0800000C080 2000C0804000C0806000C0808000C080A000C080C000C080E000C0A00000C0A0 2000C0A04000C0A06000C0A08000C0A0A000C0A0C000C0A0E000C0C00000C0C0 2000C0C04000C0C06000C0C08000C0C0A000F0FBFF00A4A0A000808080000000 FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF0007070707071D 1D1D1D1D1D0707070707070707271E1F2727271F1E1D1D07070707071E276FB7 F6F6F6BF6F271E1D0707072727B7F6FFF6F6F6FFFFBF271E1D070727B7FFF627 27271F1FB7F6BF271D07276FF6FFB7B767272727B7B7FF6F1E1D27B7FFBF67B7 F66767F6B727F6BF1F1D27B7FF6F6F67B7F6F6B72727BFF6271E67BFFF6F6F6F 6FF6F66F2727B7F6271E6F08FF6F6F6FF6B7B7F66F27F6F6271E67BFFFF66FF6 B76F6FB7F66FF6B7271D076FF6FFB7AF6F6F6F6FB7F6F66F1E07076FF6F6FFF6 6F6F6FB7FFFFB7271E070707AFF6FFFFFFFFFFFFF6B7271F07070707076FBFF6 F6F6F6B76F272707070707070707076FAFAF6F67270707070707} Glyphs.CancelHint = 'Cancel' Glyphs.SpinEditButtonDownImage.Stretch = False Glyphs.SpinEditButtonDownImage.Frame = 0 Glyphs.SpinEditButtonUpImage.Stretch = False Glyphs.SpinEditButtonUpImage.Frame = 0 HoverColor = clNone HoverFontColor = clNone HeaderStyle = hsRaised ID = 0 Indicators.Browse.Data = { F6000000424DF600000000000000760000002800000010000000100000000100 0400000000008000000000000000000000001000000000000000000000000000 8000008000000080800080000000800080008080000080808000C0C0C0000000 FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888 8888888888888888888888880888888888888888008888888888888800088888 8888888800008888888888880000088888888888000000888888888800000008 8888888800000088888888880000088888888888000088888888888800088888 8888888800888888888888880888888888888888888888888888} Indicators.Insert.Data = { F6000000424DF600000000000000760000002800000010000000100000000100 0400000000008000000000000000000000001000000000000000000000000000 8000008000000080800080000000800080008080000080808000C0C0C0000000 FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888 8888888888888888888888888888888888888888888888888888888888088888 8888888888088888888888800808008888888888800088888888888880008888 8888888008080088888888888808888888888888880888888888888888888888 8888888888888888888888888888888888888888888888888888} Indicators.Edit.Data = { F6000000424DF600000000000000760000002800000010000000100000000100 0400000000008000000000000000000000001000000000000000000000000000 8000008000000080800080000000800080008080000080808000C0C0C0000000 FF0000FF000000FFFF00FF000000FF00FF00FFFF0000FFFFFF00888888888888 8888888888888888888888888888888888888880080088888888888880888888 8888888880888888888888888088888888888888808888888888888880888888 8888888880888888888888888088888888888888808888888888888880888888 8888888008008888888888888888888888888888888888888888} MouseSelect = msRow Nodes.NodeOpen.Stretch = False Nodes.NodeOpen.Frame = 1 Nodes.NodeOpen.Data = { 424DBE0000000000000076000000280000000900000009000000010004000000 000048000000120B0000120B0000100000001000000000000000000080000080 00000080800080000000800080008080000080808000C0C0C0000000FF0000FF 000000FFFF00FF000000FF00FF00FFFF0000FFFFFF0000000000000000000FFF FFFF000000000FFF0FFF000000000FFF0FFF000000000F00000F000000000FFF 0FFF000000000FFF0FFF000000000FFFFFFF000000000000000000000000} Nodes.NodeClosed.Stretch = False Nodes.NodeClosed.Frame = 1 Nodes.NodeClosed.Data = { 424DBE0000000000000076000000280000000900000009000000010004000000 000048000000120B0000120B0000100000001000000000000000000080000080 00000080800080000000800080008080000080808000C0C0C0000000FF0000FF 000000FFFF00FF000000FF00FF00FFFF0000FFFFFF0000000000000000000FFF FFFF000000000FFFFFFF000000000FFFFFFF000000000F00000F000000000FFF FFFF000000000FFFFFFF000000000FFFFFFF000000000000000000000000} NameOfDays.Strings = ( 'Sun' 'Mon' 'Tue' 'Wed' 'Thu' 'Fri' 'Sat') NameOfMonths.Strings = ( 'January' 'February' 'March' 'April' 'May' 'June' 'July' 'August' 'September' 'October' 'November' 'December') OuterBorder.Show = False OuterBorder.Color = clWebBLACK Page = 0 RowCount = 6 RowHeader.Show = False RowHeader.Width = 22 RowHeader.Borders.Inner = ibAll RowHeader.Borders.Outer = obAll RowHeader.Borders.Padding = 0 RowHeader.Borders.Spacing = 0 RowHeader.Borders.Width = 1 RowHeader.Borders.Collapsed = True RowHeader.Borders.Color = clNone RowHeader.Borders.ColorDark = clNone RowHeader.Borders.ColorLight = clNone RowHeader.Color = clMoneyGreen RowHeader.Gradient1 = clNone RowHeader.Gradient2 = clNone RowHeader.GradientDirection = gdHorizontal Scroll.Style = scAlways Scroll.Scrollbar3DLightColor = clNone Scroll.ScrollbarArrowColor = clNone Scroll.ScrollbarBaseColor = clNone Scroll.ScrollbarTrackColor = clNone Scroll.ScrollbarDarkshadowColor = clNone Scroll.ScrollbarFaceColor = clNone Scroll.ScrollbarHighlightColor = clNone Scroll.ScrollbarShadowColor = clNone SelectColor = clHighlight SelectFontColor = clHighlightText ShowColumnHeader = True ShowFooter = False ShowSelect = True SortSettings.Show = False SortSettings.Column = 0 SortSettings.Direction = sdAscending SortSettings.InitSortDir = sdAscending StretchColumn = 5 UseFullHeight = False UseFullWidth = True OnCheckClick = ListaCheckClick OnGetCellProp = ListaGetCellProp OnNextPage = ListaNextPage OnPrevPage = ListaPrevPage OnFirstPage = ListaFirstPage OnLastPage = ListaLastPage AsyncActiveRowMove = False AsyncEdit = False AsyncPaging = False AsyncSorting = False end end By code I also set some other properties: with Lista do begin DataSource := DataComun.DSrc1; With Columns.Add do begin Width := 50; // Columna vacía Widthtype := wtAbsolute; Columntype := ctCheckBox; AllowSizing := True; Scroll.Style := scNever; end; end; with Lista do begin if Filas = 0 then // Filas is set to 9999 Rowcount := CalcularFilas (Lista) else RowCount := Filas; RowOffset := 5; ColumnHeaderFont.Size := 14; Font.Size := 14; AnchoTotal := Width; end; When testing and executing my code in my development system, everything works fine; table contains all rows and page controller is not shown (see attachment). However, when I deploy the executable in client's server, the table is shown in old style, with limited number of rows and page controller. I've tested even to compile application in interactive mode (not as a service), test in my computer, copy the executable file to the client's server, and run it: behavior is the same (without page controller in my computer, with it in client's server). I attach view in my development system (the desired one). Any idea about how to solve this issue? Best regards, Venancio Lasquibar |