-
Content Count
2671 -
Joined
-
Last visited
-
Days Won
92
Posts posted by dummzeuch
-
-
TDbf is an open source library to access Dbase tables. It's released under the LGPL license (which makes in impractical for most commercial Delphi development). It is also used in Lazaraus (I haven't checked the license there, but apparently you can develop commercial programs with it.)
The project seems to be rather dead though. Apparently nobody noticed ...
https://blog.dummzeuch.de/2018/12/26/tdbf-packages-for-delphi-10-3-rio/
-
Looks good. I wouldn't mix result with exit(..), but that's probably a matter of taste.
- 1
-
31 minutes ago, Achim Kalwa said:Did you had success in contacting Lars Dybdal?
Yes, I did get a very short response:
But apart from saying that dybdahl.dk has been closed, he didn't react to any of my follow ups.
31 minutes ago, Achim Kalwa said:Thomas, do you have write access to the dxGetText project on sourceforge? I would like to send you some patches then.
Yes, for now I still have, but Lars has blocked my write access before when he didn't like what I committed. OTOH it doesn't look as if he is interested in the project much any more.
But do send me the patches, I'll do what I can.
twm
-
OK, that probably leaves only the date format.
-
Isn't the "*" wrong in a delete query?
Delete from <table> where <condition>
- 1
-
It’s time for a gift to all Delphi developers, a new Release of GExperts. Happy Holidays! (But do spend some time with your family rather than testing GExperts. 😉 )
I blogged about the new features already. There were also several bug fixes. ...
https://blog.dummzeuch.de/2018/12/22/gexperts-1-3-12-experimental-twm-2018-12-22-released/
- 2
- 7
-
3 hours ago, Ondrej Kelle said:FWIW, as a workaround I use external tool setting (to launch explorer to show the current editor file).
The "Console in ..." entries don't work for me. I had to add a /d to the cd command:
e.g. Parameters: /k cd /d $PATH($EDNAME)
because my sources are on a different drive.
- 1
-
3 hours ago, Uwe Raabe said:What helped us in the past was disabling opportunistic locking at the server side (where the database files reside). For this you have to change the value of HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\LanmanServer\Parameters\EnableOplocks from 1 to 0 (as 1 is the default value, it might even be absent). Note that you have to restart Windows to make this change effective.
If I remember correctly, it is possible to set this on a per file type basis, but I am not sure whether that was on Windows or Linux/Samba.
-
I am no fan of virus scanners. They were more often the cause of trouble than the cure. I stick with Windows defender.
- 2
-
2 hours ago, Neutral General said:That's not the reply I was hoping for but I guess there's no better way to do it 😞
There might be a better way, I just don't know it.
-
I just now had the need to transmit GPS (WGS 84) coordinates from one program to another. First, I simply copied longitude and latitude separately using the clipboard, which works fine but is really time consuming when you have to do that very often. I…
https://blog.dummzeuch.de/2018/12/18/register-an-use-a-custom-clipboard-format-in-delphi/
- 1
-
Brute force method: Add a MessageBox call instead of a breakpoint, so the program will stop and wait for you to attach.
-
22 hours ago, Uwe Raabe said:22 hours ago, dummzeuch said:Any hints on my question 2?
What about F11?
That will take me to the code editor or the form editor, as described above. Pressing it again will get me to the Object Inspector into the Filter Box. Not quite what I'm looking for.
-
DelphiPRAXiS
in FMX
1 hour ago, Sherlock said:Oh, thanks. I thought there was an article on FMXExpress. I'm sad to say I don't have time to inspect code that comes without any explanations regarding purpose, function or instructions. So I wont be looking into this, but thanks anyway.
If I remember correctly, there was a post here on DP-en about this, right when the forum opened.
- 1
-
22 hours ago, dummzeuch said:So, I have some questions, all regarding keyboard only navigation:
- How do I get from the Filter Box to the property list? Since Tab does not work? (Edit: Unexpectedly Shift+Tab gets me there)
- How do I get from the property list to the Filter Box?
- Does anybody think it is a good idea to let tab switch from the filter box to the form or code editor?
Any hints on my question 2?
-
-
18 minutes ago, Uwe Raabe said:A plain <Enter> should do as well.
Ouch, too simple.
- 1
-
If I press the Tab key in the Filter box of the Object Inspector, one of two unexpected things happen:
- If the Form is visible, the focus switches to the form and the currently selected control. Further Tab presses seem to follow the tab order on the form. There seems to be no way to directly get back to the Object Inspector without using the mouse. I can press F11 twice which brings me first to the code editor and then to the Object Inspector.
- If the code editor is visible, the focus switches to that and then any input goes to the code editor. In this case F11 gets me back to the Object Inspector.
So, I have some questions, all regarding keyboard only navigation:
- How do I get from the Filter Box to the property list? Since Tab does not work? (Edit: Unexpectedly Shift+Tab gets me there)
- How do I get from the property list to the Filter Box?
- Does anybody think it is a good idea to let tab switch from the filter box to the form or code editor?
-
6 hours ago, Mike Torrettinni said:Hm, if I understand correctly, then the whole issues is about DPI and not the resolution? I can switch DPI on my 21" 1920x1200 and test different DPI settings... is that any different than on 4K monitor?
You won't notice if the text gets too small to read.
-
1 hour ago, Juan C.Cilleruelo said:Maybe, catch the exception with the intention of re-raise the same one, is useful for someone, but... the "Exit;" instruction too?
The exit doesn't make sense, but it is quite possible that it is left from a previous version of the code that didn't re-raise the exception.
(Or it's just from somebody who didn't understand the way exceptions work.)
-
12 minutes ago, FPiette said:There is probably a way to do that since other IDE windows have a popup menu with a dockable item you can check/uncheck.
When an IDE form is dockable, it can be tricky to move it exactly where you want to put it.
You can simply hold down the Ctrl key and move a dockable window like any other window.
- 1
-
GExperts has recently gained a few new features:
- Two new experts to start/stop recording and to replay a keyboard macro. These are minimal experts which allow you to add additional keyboard shortcuts to the existing IDE functionality. The idea and the code were contributed by Dejan M.
- Goto Previous / Next modification Editor Experts. These again ...
https://blog.dummzeuch.de/2018/12/15/new-features-in-gexperts/
- 2
- 4
-
1 hour ago, David Heffernan said:I know, but if you want to break on an exception, why would you disable that? Writing naff code instead of using the tools of the debugger is pointless.
My question was rhetorical. If you disable debugging, it would be odd to then jump through hoops to debug your program.
Sorry, to answer a rhetorical question (again), but:
There are types of exceptions I usually don't care about and are therefore disabled in the debugger, e.g. EAbort. Sometimes, if there is a problem with these in a particular part of the code, I want to catch them and follow the exception handling further up. But even then I don't want to enable them everywhere else. That's a possible use case for the above construct.
-
9 hours ago, David Heffernan said:14 hours ago, dummzeuch said:It creates a line to place a breakpoint, if you disable stop on exceptions in the debugger.
But how do you break there if you disable debugging?
The option I was talking about is called "Notify on language exceptions".
Delphi Custom Container Pack updated for Delphi 10.3 Rio
in Tips / Blogs / Tutorials / Videos
Posted
I have just updated the Delphi Custom Container Pack sources to support Delphi 10.3 Rio. This time it required than creating the packages for the new version and adding the latest version of the Delphiversions.inc file. When loading the designtime package an EAssertionFailed exception ...
https://blog.dummzeuch.de/2018/12/29/delphi-custom-container-pack-updated-for-delphi-10-3-rio/