Discussions
Sign In
•
Register
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In with LMD account
Sign In with LMD account
Categories
Recent Discussions
Categories
All Categories
1.1K
NG Controls
28
Announcements
60
LMD IDE-Tools
208
LMD ElPack
373
LMD-Tools
414
Feature Requests
38
In this Discussion
Rainer
February 2013
Victor_Bocharov
February 2013
Rowheight change at TelTreeStringgrid
Rainer
February 2013
edited February 2013
in
LMD ElPack
Vote Up
0
Vote Down
Hello
I use a TelTreestringgrid for output data.
How can i change at runtime my defaultrowheight with variable rowheights.
Line 1 -> Rowheight= 20
Line 2 -> Rowheight= 50.
.
.
.
Br,
Rainer
Comments
5 Comments
sorted by
Votes
Date Added
Victor_Bocharov
February 2013
Posts: 0
Vote Up
0
Vote Down
Use Item's OwnerHeight and Height properties:
ElTreeStringGrid1.Items[1].OwnerHeight := false;
ElTreeStringGrid1.Items[1].Height := 60;
Rainer
February 2013
Posts: 6
Vote Up
0
Vote Down
Hello !
I want to set the Item unvisible.
ElTreeStringGrid1.Items[1].OwnerHeight := false;
ElTreeStringGrid1.Items[1].Height := 0;
does not work !
With Tstringgrid -> rowheights[0]=0; works !
Br,
Rainer
Victor_Bocharov
February 2013
Posts: 0
Vote Up
0
Vote Down
You asked how to change row heights, but your aim was to hide item.
Hiding item is done other way:
ElTreeStringGrid1.Items[0].Hidden := true;
ElTreeStringGrid1.FilteredVisibility := true;
Rainer
February 2013
Posts: 6
Vote Up
0
Vote Down
Thank you !
Sign In
or
Register
to comment.
Comments
I want to set the Item unvisible.
ElTreeStringGrid1.Items[1].OwnerHeight := false;
does not work !
With Tstringgrid -> rowheights[0]=0; works !
Br,
Rainer