Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
TVirtualStringTree and plus/minus
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
TBGRABitmap.TextSize retu...
by
KodeZwerg
[
Today
at 10:26:36 am]
Arabic text, problem on L...
by
AlexTP
[
Today
at 10:25:48 am]
Using TAChart to Pan/Zoom...
by
deborah621
[
Today
at 10:20:36 am]
[re-opened] Package PPU l...
by
marcov
[
Today
at 10:20:20 am]
For-in loop over constant...
by
CCRDude
[
Today
at 10:03:12 am]
Lazreport: Question about...
by
teco
[
Today
at 09:18:07 am]
Does anyone know why this...
by
TYDQ
[
Today
at 08:50:45 am]
Values of a custom compon...
by
CM630
[
Today
at 08:35:50 am]
how to using CryptoLib4Pa...
by
paweld
[
Today
at 07:59:04 am]
Distro has depreciated qt...
by
cdbc
[
Today
at 07:39:45 am]
How to: create DLL file f...
by
paule32
[
Today
at 07:03:32 am]
[solved]FP IDE(FP.exe) fa...
by
gasensor
[
Today
at 03:00:19 am]
ThumbControl : how to loa...
by
the_magik_mushroom
[
Today
at 01:48:57 am]
[solved] Iteration of cla...
by
Joanna
[
Today
at 01:45:47 am]
leetcode doesn’t support ...
by
Joanna
[
Today
at 01:18:56 am]
Demoscene Square dot flag...
by
TRon
[
Today
at 01:10:22 am]
How does Castle Game Eng...
by
michalis
[
Today
at 01:07:14 am]
How to use the Event Log?
by
piola
[
Today
at 12:18:19 am]
[solved] Lazarus does not...
by
RayoGlauco
[
Today
at 12:09:11 am]
Azure sql database will n...
by
wpflum
[April 15, 2024, 09:04:08 pm]
Your best UI design - con...
by
Lulu
[April 15, 2024, 08:51:36 pm]
Is it possible to open a ...
by
Martin_fr
[April 15, 2024, 08:50:05 pm]
JCF - File location query...
by
bglazuser
[April 15, 2024, 08:02:40 pm]
Adding a named separator
by
440bx
[April 15, 2024, 06:54:21 pm]
SDL2 Software_Render
by
mosquito
[April 15, 2024, 06:36:41 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: TVirtualStringTree and plus/minus (Read 1941 times)
Borneq
Full Member
Posts: 248
TVirtualStringTree and plus/minus
«
on:
January 03, 2020, 10:27:43 pm »
Howto show plus/minus buttons? I prefer one click in this button to exapnd/collapse than doubleclick on node
Logged
wp
Hero Member
Posts: 11906
Re: TVirtualStringTree and plus/minus
«
Reply #1 on:
January 03, 2020, 10:44:17 pm »
Are you sure that you did not turn off TreeOptions.PaintOptions.toShowButtons? Note in this context: there are related properties "ButtonStyle" and "ButtonFillMode".
Logged
Borneq
Full Member
Posts: 248
Re: TVirtualStringTree and plus/minus
«
Reply #2 on:
January 03, 2020, 11:30:08 pm »
No pluss/minus but empty space after icon. MAybe I should use VirtualDrawTree insread of VirtualStringTree?
Logged
wp
Hero Member
Posts: 11906
Re: TVirtualStringTree and plus/minus
«
Reply #3 on:
January 03, 2020, 11:35:43 pm »
What is your OS, Laz/FPC version? Where do you have the VirtualTreeView package from?
Logged
Borneq
Full Member
Posts: 248
Re: TVirtualStringTree and plus/minus
«
Reply #4 on:
January 04, 2020, 01:56:28 pm »
Is ok, if I removed
Code: Pascal
[Select]
[+]
[-]
VST
.
TreeOptions
.
PaintOptions
:
=
VST
.
TreeOptions
.
PaintOptions
+
[
toUseExplorerTheme
]
;
I do my code after minimal VST example
Above is not enough.
I do :
- make code after minimal VST example in my form
- modify to desired
«
Last Edit: January 04, 2020, 02:10:27 pm by Borneq
»
Logged
coliv_aja
New Member
Posts: 38
Re: TVirtualStringTree and plus/minus
«
Reply #5 on:
January 20, 2020, 02:48:00 am »
VTV5 laz port simply doesn't have the icon in touseexplorertheme. Well the the selection theme also doesn't work. It's very simple to fix if you look at virtualtrees.pas. At least for Windows.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
Packages and Libraries
»
TVirtualStringTree and plus/minus
TinyPortal
© 2005-2018