Jump to content

luebbe

Members
  • Content Count

    72
  • Joined

  • Last visited

Everything posted by luebbe

  1. luebbe

    Pos

    Wasn't there also a series of aprintf which allocates the memory before doing the printf stuff? ;)
  2. The grijjy timer queue works fine. I'm using it to draw on screen in regular intervals. You shouldn't allow VCL style changes while drawing, It got me into all kinds of trouble.
  3. luebbe

    Range Check Error ERangeError

    Oops, sorry, so let's ping @FPiette instead
  4. luebbe

    Range Check Error ERangeError

    I didn't look at the code in the IDE, just what grepwin spat out, but I'd say: smtpQuit : PostMessage(Form1.Handle, WM_REMOVEOBJ, Integer(Sender), 0); probably casts a pointer to integer. And there are more of these.
  5. luebbe

    Range Check Error ERangeError

    This Discussion made me run a grep for this construct across code that we use and I found that some of the ICS demos are using an integer cast in PostMessage() instead of WPARAM. Maybe @Remy Lebeau wants to take a look? :)
  6. luebbe

    TTitlebarpanel and VCL styles

    Does anyone have experience with the combination of this component with VCL styles? My first tests aren't very promising. It looks like I have to set every color of the component manually when a VCL style is applied.
  7. luebbe

    Delphi is 26 years old - Marco's blog

    ... removes moss which was hidden under the corona haircut... I'm pretty sure that a friend of mine had alice pascal on the atari. Still got my Apple //e with the Z80 card. I wonder, if the CP/M disks still boot. Maybe they do, but I don't have a monitor for the Apple anymore.
  8. luebbe

    Delphi is 26 years old - Marco's blog

    Same n00b feeling here. Started with UCSD Pascal at the university and had Turbo Pascal on my Z80 in the 80s.
  9. luebbe

    Does Filter Exceptions make Delphi to steal focus

    Check the permissions on Jenkins. Depending on the configuration your Jenkins runs as system or as a dedicated user, but not as "you". So it may not have access to some things.
  10. If you want to increase the challenge, place your windows toolbar at the top. This screws up a lot of Delphi applications when maximized. Maybe only in combination with VCL styles.
  11. Coming from CVS, SVN was a huge relief. I've contributed to TortoiseSVN quite a lot. At work we are using SVN or Mercurial, depending on the Team :D. For my OSS stuff im only using GitHub, even though I have accounts on SF, OSDN, GitLab and Bitbucket too. The workflows are different. Some things are easier with SVN others with Git. I like pull-requests a lot. They allow you to contribute to a project without having direct commit access. The equivalent in SVN would be sending patch files.
  12. luebbe

    updated build script for Delphi 2007

    maybe @dummzeuch indended to tag @Remy Lebeau instead?
  13. There's also the Virtaal translation editor, which hasn't been updated for a while, but works fine. There are many platforms that can handle gettext .po files and provide nice web editors, if you are in need of collaborative translation. Most of them are free for OSS projects.
  14. Hi Folks, I've got two 24" monitors with different resolutions: 2560x1440 -> 122ppi 1920x1080 -> 92ppi Application is set to per-monitor-dpi-v2. Window's scaling is set to 125% on the WQHD monitor. If it is at 100%, the application doesn't get any dpi-change notifications. They should be called "windows scaling change notifications". 😏 When I move the application window between the monitors, there is a lot of flickering going on until all controls are redrawn. Depending on the number of controls, this can take a "while". Is there a way to avoid this visible flickering, in order to get a smoother transition between monitors? Just for laughs: switch your monitor scaling between 100% and 125% with the IDE window open... 😈
  15. Thanks! I just used FixRSP30931.pas (https://quality.embarcadero.com/browse/RSP-30931) which you referenced in RtlVclFixes.pas. I guess I don't need the other fixes with 10.4.1. This cuts down the delay when moving from one monitor to the other by roughly 33%.
  16. Kiriakos' suggestion works fine. The window is still unresponsive for a few seconds, but at least the flicker is gone.
  17. That value was calculated from monitor size and resolution. The IDE is set to 96 and 96 is stored in the .dfm files. The (Before|After)MonitorDpiChanged methods report changes from 96<->120 dpi (scaling by 1,25).
  18. Lovely! Thanks a lot! So I have to live with the delay, which is kind of ok, when there is no more flickering. Maybe I should show a popup "Rescaling form, please wait" 😉 Now I only have to cope with the numerous rounding errors, that make toolbar buttons and other controls shrink over time.
  19. luebbe

    TTitlebarpanel and VCL styles

    The joke is: There is a "SystemColors" checkbox, but obviously Emba decided not to call StyleServices.GetSystemColor(), so I had to turn it of and tried to adjust the titlebar colors manually. This works, sort of, but the windows border color is not the style's border color anymore. So this has to be set manually as well...
  20. luebbe

    TTitlebarpanel and VCL styles

    Thanks @Vincent Parrett. You are confirming my observations. So I won't invest any more time into this control.
  21. luebbe

    remove ExplicitXxxx properties

    @dummzeuch, With TortoiseSVN you could implement a local pre-commit hook that removes the Explicit properties from all or just the modified .dfm files. We do this to normalize .dproj files before commit.
  22. luebbe

    Grep search empty window with 10.4.1

    I had blank Grep windows as well until I compiled GExperts with 10.4.1 and replaced the dll. Now everything seems to work as expected.
  23. luebbe

    10.4.1 Update

    Yes, recompiling GExperts with 10.4.1 fixed the crash issue too. Might be interesting for @dummzeuch to know. So third party add-ons compiled with an earlier version of Delphi cause trouble in 10.4.1. What about the other way round?
  24. luebbe

    10.4.1 Update

    Maybe compiling with 10.4.1 has fixed the issue? I'll update my GExperts sources and build the dll. Let's see if it works afterwards.
  25. luebbe

    TestInsight 1.1.9.0 released

    It's hidden functionality, which is not intuitive. I had to explain it to every colleague, so you probably only saw the tip of the iceberg. You already change the hint, once tests are selected. Why don't you also change the Icon accordingly to indicate that the functionality has changed? I can try to design an icon that fits in with the others.
×