Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
[SOLVED] Stringgrid with different width at different columns
Free Pascal
Website
Downloads
Wiki
Documentation
Bugtracker
Mailing List
Lazarus
Website
Downloads (Laz+FPC)
Packages (OPM)
FAQ
Wiki
Documentation (RTL/FCL/LCL)
Bugtracker
CCR Bugs
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
Forum Rules
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
TDWEdit
by
Ed78z
[
Today
at 08:56:46 am]
FPC Unleashed (async/awai...
by
creaothceann
[
Today
at 08:43:43 am]
Comfortable & presentable...
by
mazikeen
[
Today
at 08:38:26 am]
How can I get names of CO...
by
Thaddy
[
Today
at 08:36:41 am]
Accessing VRAM memory wit...
by
JollyHong
[
Today
at 08:22:13 am]
Elite Arcade
by
Zvoni
[
Today
at 08:17:20 am]
Rounding issues (only wit...
by
Thaddy
[
Today
at 06:42:11 am]
Review from FreePascal
by
dbannon
[
Today
at 04:39:23 am]
Which quantized model wor...
by
LeP
[July 20, 2026, 10:34:07 pm]
PasFLTK - Binding for FLT...
by
Dibo
[July 20, 2026, 10:26:31 pm]
Fixed an RV32ec compiler ...
by
MattBradford
[July 20, 2026, 09:42:24 pm]
[Closed]Indy10 hangs the ...
by
marcov
[July 20, 2026, 03:52:59 pm]
Slow app start on M5 MacB...
by
pleumann
[July 20, 2026, 03:07:54 pm]
Lazarus components
by
threedslider
[July 20, 2026, 02:37:23 pm]
Many recent books on Laza...
by
threedslider
[July 20, 2026, 02:27:45 pm]
[Solved]Setting the CURSO...
by
jamie
[July 20, 2026, 11:33:52 am]
Network drop and firewall
by
LeP
[July 20, 2026, 09:58:07 am]
Lazarus for Windows on aa...
by
Thaddy
[July 20, 2026, 09:39:06 am]
FastCGI vs. CGI
by
egsuh
[July 20, 2026, 06:33:08 am]
I have made some progress...
by
onionmixer
[July 20, 2026, 12:32:08 am]
Lazarus Bugfix Release 4....
by
n7800
[July 19, 2026, 10:59:09 pm]
Can not load postgres cli...
by
martinm
[July 19, 2026, 10:17:31 pm]
Gtk3 widgetset - call for...
by
zeljko
[July 19, 2026, 08:21:54 pm]
an error occurred while c...
by
Seenkao
[July 19, 2026, 07:29:14 pm]
RichMemo and GTK3
by
dsiders
[July 19, 2026, 05:15:45 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: [SOLVED] Stringgrid with different width at different columns (Read 7884 times)
oproescu
Jr. Member
Posts: 50
[SOLVED] Stringgrid with different width at different columns
«
on:
November 23, 2017, 04:05:38 pm »
Hallo!
How can be made a stringgrid table to permanently have different widths in different columns?
Many thanks!
«
Last Edit: November 26, 2017, 07:14:15 am by oproescu
»
Logged
jamie
Hero Member
Posts: 7855
Re: Stringgrid with different width at different columns
«
Reply #1 on:
November 23, 2017, 05:34:49 pm »
TStringGrid have a property called Columns, you need to add a column for each column you
have, in those, you can set the width and other various items for that column
Logged
The only true wisdom is knowing you know nothing
taazz
Hero Member
Posts: 5368
Re: Stringgrid with different width at different columns
«
Reply #2 on:
November 23, 2017, 06:02:57 pm »
Code: Pascal
[Select]
[+]
[-]
//change the width of the 3rd column to 150.
StringGrid1
.
ColWidths
[
2
]
:
=
150
;
Logged
Good judgement is the result of experience … Experience is the result of bad judgement.
OS : Windows 7 64 bit
Laz: Lazarus 1.4.4 FPC 2.6.4 i386-win32-win32/win64
oproescu
Jr. Member
Posts: 50
Re: Stringgrid with different width at different columns
«
Reply #3 on:
November 24, 2017, 09:00:22 am »
Thank you taazz, it goes!
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
[SOLVED] Stringgrid with different width at different columns
TinyPortal
© 2005-2018