-
Content Count
2634 -
Joined
-
Last visited
-
Days Won
91
Everything posted by dummzeuch
-
Fake TSpeedButton based on TBitBtn updated again
dummzeuch replied to dummzeuch's topic in Tips / Blogs / Tutorials / Videos
No. -
The theming stuff in the IDE is really a pain in the lower back. It not only broke the menus in the dockable GExperts windows (e.g. Grep Result), it also breaks the extensions to the Search Path dialog. 😞 https://sourceforge.net/p/gexperts/bugs/86/ Apart from that there are several dialogs that were apparently overlooked for theming, e.g. the Build Events dialog. I wonder whether the same problem exist in Delphi 10.3. It's probably pointless asking anybody in the beta program to test it because they would not be allowed to tell me...
-
Managing Version Information Across Builds
dummzeuch replied to Nathan Wild's topic in Delphi IDE and APIs
We generate a res file from an INI file which contains the version information and is maintained outside the IDE. I think I blogged about this a while ago. -
No, neither will I become an MVP. I don't like the strings attached. (My personal choice, so I'll have to live with it.)
-
Making “Stay-on-top-forms” do want you want in Delphi
dummzeuch posted a topic in Tips / Blogs / Tutorials / Videos
There is an article by Peter Laman on the topic Making “Stay-on-top-forms” do want you want on the Embarcadero blog. It’s from 2004 and of course the link to the component he talks about no longer works, because it points to cc.borland.com which no longer exists. https://blog.dummzeuch.de/2018/11/05/making-stay-on-top-forms-do-want-you-want-in-delphi/ -
Have you tried to declare the function inline ?
-
But you could use assert to mask out the logging: function MyLogging(const _Text: string): boolean; begin doLogging(_Text); Result := true; end; Assert(MyLogging('My very important log message')); This would remove all calls to the logging function when you disable assertions.
-
How to know that a file is not used by another program?
dummzeuch replied to Juan C.Cilleruelo's topic in Cross-platform
Building on Lars Fosdal's answer: Let your external program generate the file under a different name (or in a different location on the same drive) and when it is done, rename/move it to where your program expects it. -
How to Implement Text Box with Gray Text Hint? (This also works with Windows XP.)
-
The Set Tab Order Expert has two modes, the first one is simple: It displays a tree view of the currently selected control and allows you to move child controls by dragging them to other positions or using the new (since last weekend) buttons to move them up or down. The second mode is more complex: If you have selected more than one control (which must share the same parent), they are listed in the reverse(!) order in which you selected them. After you press OK, their tab order will be changed to that order. I didn't even know about this second mode until I just now found that code and read up on it in the documentation. Now I wonder whether it is a bug that the reverse order is being used. I think it's counter intuitive. If I want to set the tab order of controls, I would normally select them in the order I want the tab order to be. Is that just me? Do you use that functionality? (I am aware that CnPack does it very differently (and I like that approach up to a point) but that's not the topic here.)
-
Creating Component Templates in Delphi
dummzeuch replied to dummzeuch's topic in Tips / Blogs / Tutorials / Videos
Not sure when it was added. Delphi 6 already has it, but it might be even older. -
Apparently this only works if the expert is called via a keyboard shortcut or the GExperts menu. If it's called via the designer popup menu, the sort order ist reversed. Really odd.
-
I'm currently using DP on mobile and found that the Submit button is always behind the virtual keyboard. So in order to press it, I have to either close the keyboard or scroll down (and first remember that it is further down). Could that button be moved to the top? Like the right pointing triangle used in many mobile Apps nowadays?
-
That's not what I have seen when I tried it last weekend (after I became aware of this feature). The order was always reversed to what I was expecting. Maybe I had just broken it, but I don't remember changing anything in the sorting related code. I'll go back to a previous revision and test again. Thanks for the feedback.
-
Try that one: https://en.delphipraxis.net/discover/22/#
-
So you don't think that the reverse order in this case is a bug?
-
Thanks, that is a workaround I could use. But what about changing the actual background color of a control? Is that not possible at all?
-
Two buttons to make a difference in the Set Tab Order expert
dummzeuch posted a topic in Tips / Blogs / Tutorials / Videos
The Set Tab Order expert in GExperts allows you to change the tab order of controls by dragging them in a tree view. I have always wondered why the standard Tab Order dialog of the IDE has got buttons to move the current control up or down while the one in GExperts does not. https://blog.dummzeuch.de/2018/11/01/two-buttons-to-make-a-difference-in-the-set-tab-order-expert/ -
I guess this shows my age: SCNR was widely used in Fidonet (possibly also in Usenet), together with ROTFL and simliar acronyms.
-
You mean that dialog is actually useable without switching it to details? SCNR 😉 (I never understood why details is not the default view or actually why the othert views are even there.)
-
Fix for bug #43 GExperts 1.38 for RX10.2 (Tokyo) blocks using Shift-Shift in CLCL
dummzeuch posted a topic in GExperts
This one just got fixed: bug#43 GExperts 1.38 for RX10.2 (Tokyo) blocks using Shift-Shift in CLCL The fix might also affect other programs that install a global keyboard hook in Windows. Last GExperts version that works: 2.38-2016-06-05 First GExperts version that doesn't work: 2.38-2016-10-03 The change which caused behaviour was in eChangeCase.pas. Calling CallNextHookEx from the installed keyboard hook fixed the problem. If everything else fails, read the doc! 😞 -
There is also the option to share a post. This results in an url which can then be added to any bookmarking tool. There used to be public bookmarking sites, I don't remember the name of the one I used though. Since I don't use it any more, it was probably shut down or bought and converted to a spam source. It wasn't mybookmarks.com but that's the one I found by googling right now. edit: Found it. It was delicio.us which after being bought several times it has now ended up being "discontinued".
-
Not sure whether this is a good idea. The main RSS feed is quite noisy and will dominate all other feeds.
-
userName above or below profilepicture and not in Header?
dummzeuch replied to Memnarch's topic in Community Management
I second that. I have searched for the user name several times before realizing that it is right above the avatar. -
Doesn't the IDE already do that? It annoys the hell out of me that my IDE window moves from my primary monitor to my secondary monitor when I open a project and moves back to the primary monitor when I close one.