Jump to content

dummzeuch

Members
  • Content Count

    2634
  • Joined

  • Last visited

  • Days Won

    91

Everything posted by dummzeuch

  1. dummzeuch

    Theming in the IDE

    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...
  2. dummzeuch

    Managing Version Information Across Builds

    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.
  3. dummzeuch

    Theming in the IDE

    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.)
  4. 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/
  5. dummzeuch

    Detailed logging (for debugging)

    Have you tried to declare the function inline ?
  6. dummzeuch

    Detailed logging (for debugging)

    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.
  7. dummzeuch

    How to know that a file is not used by another program?

    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.
  8. How to Implement Text Box with Gray Text Hint? (This also works with Windows XP.)
  9. dummzeuch

    Set Tab Order expert

    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.)
  10. Not sure when it was added. Delphi 6 already has it, but it might be even older.
  11. dummzeuch

    Set Tab Order expert

    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.
  12. 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?
  13. dummzeuch

    Set Tab Order expert

    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.
  14. dummzeuch

    RSS feeds for new posts ?

    Try that one: https://en.delphipraxis.net/discover/22/#
  15. dummzeuch

    Set Tab Order expert

    So you don't think that the reverse order in this case is a bug?
  16. dummzeuch

    Change the background color of a TEdit

    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?
  17. 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/
  18. dummzeuch

    Been stupid for years

    I guess this shows my age: SCNR was widely used in Fidonet (possibly also in Usenet), together with ROTFL and simliar acronyms.
  19. dummzeuch

    Been stupid for years

    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.)
  20. 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! 😞
  21. dummzeuch

    Bookmarks in the forum?

    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".
  22. dummzeuch

    RSS feeds for new posts ?

    Not sure whether this is a good idea. The main RSS feed is quite noisy and will dominate all other feeds.
  23. I second that. I have searched for the user name several times before realizing that it is right above the avatar.
  24. dummzeuch

    Layouts in IDE

    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.
×