Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
General
»
TOpenDialog filter not working
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
FPC 3.2.4-rc1 available
by
440bx
[
Today
at 06:08:35 am]
TChart how setup nicestep...
by
eldonfsr
[
Today
at 05:18:14 am]
I hope FreePascal can sup...
by
xiyi0616
[
Today
at 04:27:17 am]
AI assisted translation o...
by
schuler
[
Today
at 03:07:59 am]
Little bit...
by
ASerge
[
Today
at 12:48:46 am]
Can I get the position an...
by
wp
[
Today
at 12:23:04 am]
Translate .lfm file in a ...
by
wp
[
Today
at 12:07:11 am]
Playing video without to ...
by
n7800
[April 17, 2026, 11:51:39 pm]
Delimited text - how find...
by
n7800
[April 17, 2026, 11:28:25 pm]
overloading issues fpc3.2...
by
Martin_fr
[April 17, 2026, 10:21:07 pm]
Ann: Deinline: a de-inlin...
by
LeP
[April 17, 2026, 09:58:08 pm]
FPC Unleashed (inline var...
by
440bx
[April 17, 2026, 08:38:11 pm]
Seeking advice on setting...
by
schuler
[April 17, 2026, 03:36:28 pm]
Ann: DeCoperators
by
DomingoGP
[April 17, 2026, 03:23:39 pm]
Error: Compilation raised...
by
marcov
[April 17, 2026, 02:44:06 pm]
TLazSerial : serial port ...
by
CM630
[April 17, 2026, 09:50:34 am]
[Solved] Help needed comp...
by
landolfi
[April 17, 2026, 02:45:10 am]
DataPort or Synpase stat...
by
eldonfsr
[April 16, 2026, 11:32:18 pm]
[FPC 3.2.4, Windows] PTC ...
by
Fred vS
[April 16, 2026, 08:26:24 pm]
Cannot build Units for Si...
by
NormanDunbar
[April 16, 2026, 07:39:07 pm]
IDE: Property editor does...
by
dsiders
[April 16, 2026, 07:04:22 pm]
What is wrong with this c...
by
OH1KH
[April 16, 2026, 04:32:48 pm]
[work arounded]Naming dae...
by
LeP
[April 16, 2026, 03:36:10 pm]
Lazarus Bugfix Release 4....
by
Jonax
[April 16, 2026, 03:06:25 pm]
CudaText editor (written ...
by
AlexTP
[April 16, 2026, 10:43:12 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: TOpenDialog filter not working (Read 1032 times)
Middlecope
Jr. Member
Posts: 92
TOpenDialog filter not working
«
on:
February 12, 2024, 02:21:42 pm »
Lazarus 2.2.4
FPC 3,2.2
OpenSUSE
I set the filter property in the component to .dot. It did not filter
I also tried out .csv the same result
Some time ago it worked and now it is broken?
Thanks for your attention
Logged
jamie
Hero Member
Posts: 7662
Re: TOpenDialog filter not working
«
Reply #1 on:
February 12, 2024, 03:30:57 pm »
Did u try *.dot ?
Logged
The only true wisdom is knowing you know nothing
Middlecope
Jr. Member
Posts: 92
Re: TOpenDialog filter not working
«
Reply #2 on:
February 12, 2024, 07:27:32 pm »
In the hint section at the bottom I read that it is a string
I tried many things *.dot - .dot - '.dot' - dot
None of them worked
Logged
cdbc
Hero Member
Posts: 2727
Re: TOpenDialog filter not working
«
Reply #3 on:
February 12, 2024, 07:35:02 pm »
Hi
How about:
Code: Pascal
[Select]
[+]
[-]
...
dlg
.
Filter
:
=
'Dot files(*.dot)|*.dot;All files(*.*)|*.*'
;
From the top of my head, totally untested...
Regards Benny
Logged
If it ain't broke, don't fix it
PCLinuxOS(rolling release) 64bit -> KDE6/QT6 -> FPC Release -> Lazarus Release & FPC Main -> Lazarus Main
Middlecope
Jr. Member
Posts: 92
Re: TOpenDialog filter not working
«
Reply #4 on:
February 12, 2024, 08:12:35 pm »
Yes thank you
I changed the Filter at run time and it worked
I changed it at design time and it worked
Maye the vertical bar was essential
Logged
PascalDragon
Hero Member
Posts: 6381
Compiler Developer
Re: TOpenDialog filter not working
«
Reply #5 on:
February 12, 2024, 08:43:20 pm »
Quote from: Middlecope on February 12, 2024, 08:12:35 pm
Maye the vertical bar was essential
Yes, it is. It separates the description text and the list of real extensions the filter applies to.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
General
»
TOpenDialog filter not working
TinyPortal
© 2005-2018