Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Using the Lazarus IDE
»
Designer
»
TStringGrid, delete column...?
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
IRC channel
GIT
Mailing List
Other languages
Foundation
Website
Useful Wiki Links
Project Roadmap
Getting the Source
Screenshots
How to use the forum
About donations (wiki)
Bookstore
Computer Math and Games in Pascal
(preview)
Lazarus Handbook
Search
Advanced search
Recent
Offical launch of the 1 B...
by
Hartmut
[
Today
at 04:49:29 pm]
Parameter passing odditie...
by
alpine
[
Today
at 04:47:42 pm]
what to do if my target M...
by
nickysn
[
Today
at 04:16:02 pm]
trunk compiler bug for mi...
by
nickysn
[
Today
at 04:03:44 pm]
compiler error in unit
by
paule32
[
Today
at 03:49:50 pm]
Xcode Command Line Tools ...
by
Martin_fr
[
Today
at 03:45:26 pm]
Compile/Convert Delphi pr...
by
Joseph
[
Today
at 02:43:45 pm]
how to tweek fpmake to co...
by
Key-Real
[
Today
at 02:33:27 pm]
Can function be used for ...
by
VisualLab
[
Today
at 02:15:30 pm]
Multithreading - synchron...
by
mika
[
Today
at 01:48:51 pm]
A fairly simple sound sol...
by
KodeZwerg
[
Today
at 01:48:26 pm]
May be useful to somebody
by
KodeZwerg
[
Today
at 12:38:22 pm]
match automatic highlight...
by
Чебурашка
[
Today
at 11:35:14 am]
Tchart with dual numbers ...
by
wp
[
Today
at 10:48:18 am]
Generics - correct syntax
by
VisualLab
[
Today
at 10:23:16 am]
add new targets to make
by
Key-Real
[
Today
at 09:38:23 am]
Debugger crashes with App...
by
Martin_fr
[
Today
at 09:29:46 am]
Copyrights Q
by
BrassGear
[
Today
at 09:13:14 am]
[SOLVED] how to build the...
by
Key-Real
[
Today
at 09:12:33 am]
Quirky windows
by
tetrastes
[
Today
at 08:59:06 am]
How can I draw a rectangl...
by
Handoko
[
Today
at 07:30:55 am]
Draw a line in the Scroll...
by
Handoko
[
Today
at 07:27:54 am]
web development using pas...
by
Nate897
[
Today
at 02:04:05 am]
questionable function def...
by
440bx
[
Today
at 01:35:28 am]
Why isn't TTIRadioGroup's...
by
jamie
[
Today
at 12:13:45 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: TStringGrid, delete column...? (Read 4110 times)
julgus
New Member
Posts: 29
TStringGrid, delete column...?
«
on:
October 19, 2016, 07:15:05 pm »
How do I delete an existing column in the IDE? I can add, I can edit the grid but how do I delete a column??? I can make it not visible but I surely must be able to delete it in the ide?
«
Last Edit: October 19, 2016, 07:20:29 pm by julgus
»
Logged
Blaazen
Hero Member
Posts: 3241
POKE 54296,15
Re: TStringGrid, delete column...?
«
Reply #1 on:
October 19, 2016, 07:35:56 pm »
Select column in Object Inspector and hit key Delete
or
select StringGrid in OI, select property Columns and double click it (or click the button [...]). It will open "Editing Columns" dialog where you can add/delete columns.
Logged
Lazarus 2.3.0 (rev main-2_3-2863...) FPC 3.3.1 x86_64-linux-qt Chakra, Qt 4.8.7/5.13.2, Plasma 5.17.3
Lazarus 1.8.2 r57369 FPC 3.0.4 i386-win32-win32/win64 Wine 3.21
Try Eye-Candy Controls:
https://sourceforge.net/projects/eccontrols/files/
julgus
New Member
Posts: 29
Re: TStringGrid, delete column...?
«
Reply #2 on:
October 19, 2016, 07:45:59 pm »
Thanks!
I got it to work using [fn]+[delete] (not the usual method to delete data when using mac).. when I click columns the property part is blank.. nothing to click on so I can't access "Editing Columns". If I right click on TStringGrid I can access "Edit Stringgrid" but I can't delete a column there.. at least I can't figure it out...
Is the Lazarus ide more Windows biased?
Why is it 2 columns but one only one is defined in the object inspector?
«
Last Edit: October 19, 2016, 07:54:19 pm by julgus
»
Logged
julgus
New Member
Posts: 29
Re: TStringGrid, delete column...?
«
Reply #3 on:
October 19, 2016, 08:42:24 pm »
Thanks! I found the Columns property as you said - I clicked at "Columns" in the Object inspector. And it shows a extra column if I have 1 as "FixedCols". It ought to be 0 as default I may think.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Using the Lazarus IDE
»
Designer
»
TStringGrid, delete column...?
TinyPortal
© 2005-2018