Lazarus
Home
Help
TinyPortal
Search
Login
Register
Lazarus
»
Forum
»
Programming
»
LCL
»
tselectdirectory dialog bizzare behaviour
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
How many lines is too man...
by
Lauriet
[
Today
at 07:22:08 am]
Debian removes FPC/Lazaru...
by
Fred vS
[
Today
at 07:14:27 am]
could Ardour's YTK be use...
by
valdir.marcos
[
Today
at 05:13:59 am]
[ANN] PasBuild 1.5.0 rele...
by
cdbc
[
Today
at 05:10:09 am]
Commerce website written ...
by
valdir.marcos
[
Today
at 04:55:08 am]
New book on Object Pascal
by
valdir.marcos
[
Today
at 04:30:08 am]
How to execute a procedur...
by
Aruna
[
Today
at 03:34:41 am]
BGRAVirtualScreen - weird...
by
backprop
[
Today
at 03:33:51 am]
The "dockedformeditor" pa...
by
Gustavo 'Gus' Carreno
[
Today
at 02:44:31 am]
unit ProjectDescriptorTyp...
by
n7800
[
Today
at 02:01:39 am]
TDirectoryEdit with OnAft...
by
dsiders
[
Today
at 12:20:23 am]
Canvas.StretchDraw, does ...
by
jamie
[March 06, 2026, 11:27:18 pm]
Front-end framework
by
kveroneau
[March 06, 2026, 08:00:37 pm]
REST Server/Client, how t...
by
kveroneau
[March 06, 2026, 07:35:25 pm]
Variable initialization
by
LeP
[March 06, 2026, 06:58:53 pm]
[SOLVED] Problem to resto...
by
Hartmut
[March 06, 2026, 06:42:28 pm]
Text Fill (Memo)
by
Sc0li0sis
[March 06, 2026, 06:08:54 pm]
BGRA Controls license inf...
by
Zoran
[March 06, 2026, 05:48:27 pm]
TCalendar Assign a Date
by
eldonfsr
[March 06, 2026, 05:04:10 pm]
Update a table with an Au...
by
wp
[March 06, 2026, 04:16:29 pm]
[Feature Request]Add Larg...
by
TYDQ
[March 06, 2026, 03:03:31 pm]
Receipt printers & lazare...
by
Petrus Vorster
[March 06, 2026, 02:36:22 pm]
STOMP Clients Release 202...
by
mjustin
[March 06, 2026, 01:56:25 pm]
FreePascal/Lazarus docume...
by
MarkMLl
[March 06, 2026, 10:03:46 am]
PasLLM - LLM Inference En...
by
domasz
[March 06, 2026, 08:53:15 am]
« previous
next »
Print
Pages: [
1
]
Author
Topic: tselectdirectory dialog bizzare behaviour (Read 945 times)
Graham Saint
New Member
Posts: 14
tselectdirectory dialog bizzare behaviour
«
on:
January 19, 2023, 07:14:01 am »
I am running Lazarus 2.2.4 on Windows 10 64 bit. I've created a form with a select directory dialog. The only property I've set is the initial directory (C:\). Running the program under the IDE with standard options results in a form popping up with nothing in it. There are no buttons for select or cancel and the form can't be closed. The only option is to terminate the program from inside the ide.
If I chose the option "Run without debugger" or run the compiled application directly the dialog works as expected except that the initial directory is appended to the directory selected. eg if you select "C:\sqlite" the directory select operation returns "C:\sqllite.C:\"
Looking at previous posts it seems others have experienced various weirdness with this dialog but I thought these had all been fixed.
Is there a way around these issues or is this just something to be lived with?
Graham
Logged
KodeZwerg
Hero Member
Posts: 2269
Fifty shades of code.
Re: tselectdirectory dialog bizzare behaviour
«
Reply #1 on:
January 19, 2023, 09:23:09 am »
Lazarus 2.2.4 (rev lazarus_2_2_4) FPC 3.2.2 x86_64-win64-win32/win64
Tested on Windows 10, no problems here.
Logged
«
Last Edit:
Tomorrow
at 31:76:97 xm by
KodeZwerg
»
KodeZwerg
Hero Member
Posts: 2269
Fifty shades of code.
Re: tselectdirectory dialog bizzare behaviour
«
Reply #2 on:
January 19, 2023, 09:30:41 am »
ps: on first start, when "Execute" the dialog, it needs a time that the dialog builds up, just be a little patient.
Logged
«
Last Edit:
Tomorrow
at 31:76:97 xm by
KodeZwerg
»
Graham Saint
New Member
Posts: 14
Re: tselectdirectory dialog bizzare behaviour
«
Reply #3 on:
January 21, 2023, 10:04:39 am »
Hi KodeZwerg,
My Lazarus matches yours exactly. Just tried it again, waited a bit, still same result. Attached is screen shot of when I invoke the Tselectdirectory dialog under the IDE with the debugger enabled
Logged
KodeZwerg
Hero Member
Posts: 2269
Fifty shades of code.
Re: tselectdirectory dialog bizzare behaviour
«
Reply #4 on:
January 21, 2023, 10:56:04 am »
Here I get also the white screen but it build up slowly until all is like it should be.
I do not exact know what's the problem, I am sorry!
Logged
«
Last Edit:
Tomorrow
at 31:76:97 xm by
KodeZwerg
»
wp
Hero Member
Posts: 13401
Re: tselectdirectory dialog bizzare behaviour
«
Reply #5 on:
January 21, 2023, 10:57:54 am »
Switch to the FPDebugger, it does not have these issues that are typical of gdb.
Logged
Print
Pages: [
1
]
« previous
next »
Lazarus
»
Forum
»
Programming
»
LCL
»
tselectdirectory dialog bizzare behaviour
TinyPortal
© 2005-2018