Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
LCL
»
Std. ComboBox. How can empty drop down list not to be viewed ?
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
New book on Object Pascal
by
TBMan
[
Today
at 12:39:00 am]
This worries me about our...
by
Curt Carpenter
[
Today
at 12:37:39 am]
Postgres, ZEOS and Visual...
by
wp
[November 13, 2025, 11:37:12 pm]
Programmatic filtering in...
by
jamie
[November 13, 2025, 11:30:59 pm]
In fpcsrc, many places ca...
by
avk
[November 13, 2025, 11:02:44 pm]
Variable "xyz" doesn't no...
by
Bitbeisser
[November 13, 2025, 11:01:46 pm]
Fpcupdeluxe
by
Cascade
[November 13, 2025, 10:46:00 pm]
line number when error ha...
by
Martin_fr
[November 13, 2025, 10:37:19 pm]
Access Violation
by
1HuntnMan
[November 13, 2025, 10:27:57 pm]
Unit Masks, matches funct...
by
Martin_fr
[November 13, 2025, 07:31:00 pm]
Minimum and maximum value...
by
ASerge
[November 13, 2025, 07:30:38 pm]
Help with search and repa...
by
avk
[November 13, 2025, 06:26:23 pm]
Problem Installing CHM He...
by
Curt Carpenter
[November 13, 2025, 05:50:37 pm]
Not visible soAllDirector...
by
LemonParty
[November 13, 2025, 05:44:26 pm]
What is your current pet ...
by
TBMan
[November 13, 2025, 05:07:28 pm]
How to detect if macOS ch...
by
Hansaplast
[November 13, 2025, 04:37:22 pm]
[SOLVED] Box-and-whisker ...
by
apeoperaio
[November 13, 2025, 03:40:35 pm]
updated pc but.. worse [S...
by
rnervi
[November 13, 2025, 12:34:48 pm]
Box-and-whisker plot with...
by
apeoperaio
[November 13, 2025, 12:14:39 pm]
synedit
by
scasparz
[November 13, 2025, 11:30:38 am]
Valgrind stops showing li...
by
Martin_fr
[November 13, 2025, 11:13:07 am]
[SOLVED] Feature request:...
by
Hansaplast
[November 13, 2025, 10:31:19 am]
Advanced Records Initiali...
by
Thaddy
[November 13, 2025, 08:06:10 am]
AArch64. Slow program sta...
by
dbannon
[November 13, 2025, 12:14:29 am]
Groupview uprgrade comple...
by
matthius
[November 12, 2025, 09:34:32 pm]
« previous
next »
Print
Pages: [
1
]
Author
Topic: Std. ComboBox. How can empty drop down list not to be viewed ? (Read 3129 times)
AlexanP
Newbie
Posts: 3
Std. ComboBox. How can empty drop down list not to be viewed ?
«
on:
December 10, 2016, 08:32:16 pm »
I click for empty DropDown and I want that empty list does not drop down. Nothing, not needed empty rectangle.
I want call new Form in "OnDropDown" event.
Logged
AlexanP
Newbie
Posts: 3
Re: Std. ComboBox. How can empty drop down list not to be viewed ?
«
Reply #1 on:
December 10, 2016, 08:55:17 pm »
Property ComboBox1.DroppedDown:=false; doesn't impacts on behavior of ComboBox
Description:
Indicates whether the drop-down list has appeared.
Setting this property opens or closes the drop-down list.
Logged
VTwin
Hero Member
Posts: 1227
Former Turbo Pascal 3 user
Re: Std. ComboBox. How can empty drop down list not to be viewed ?
«
Reply #2 on:
December 11, 2016, 12:08:38 am »
What widget set (or platform) are you using? You have to add Items in TStrings to a ComboBox to display them.
VTwin
Logged
“Talk is cheap. Show me the code.” -Linus Torvalds
Free Pascal Compiler 3.2.2
macOS 15.3.2: Lazarus 3.8 (64 bit Cocoa M1)
Ubuntu 18.04.3: Lazarus 3.8 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 3.8 (64 bit on VBox)
zeljko
Hero Member
Posts: 1792
Re: Std. ComboBox. How can empty drop down list not to be viewed ?
«
Reply #3 on:
December 11, 2016, 11:01:15 am »
Looks like gtk2 ws.
Logged
AlexanP
Newbie
Posts: 3
Re: Std. ComboBox. How can empty drop down list not to be viewed ?
«
Reply #4 on:
December 11, 2016, 11:49:10 am »
DropDownCount:=0 shows 1(not 0) items. Why ?
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
LCL
»
Std. ComboBox. How can empty drop down list not to be viewed ?
TinyPortal
© 2005-2018