Posts: 45
Threads: 15
Likes Received:
28 in 18 posts
Likes Given: 0
Joined: Jun 2024
Reputation:
0
Hallo ZS,
Ich habe ZSDialog.ShowColorDialog() mit HWHS868.000 getestet. Warum wird das Dialogfeld hinter dem Fenster angezeigt? Können Sie den Dialog in den Vordergrund bringen? Tritt dieses Problem bei allen Dialogfeldern auf?
Alles Gute
Martin
P.S. Gebe ich den Text in englisch ein, wird er sofort ins deutsche übersetzt
Posts: 374
Threads: 37
Likes Received:
139 in 108 posts
Likes Given: 249
Joined: Dec 2023
Reputation:
7
05-20-2025, 01:22 AM
(This post was last modified: 05-20-2025, 01:50 AM by z-s.)
Thanks for the try
I will figure out this soon as currently my pc is not working.
From source code look like all fine can anyone else try
ZS
Posts: 45
Threads: 15
Likes Received:
28 in 18 posts
Likes Given: 0
Joined: Jun 2024
Reputation:
0
Thank you for the tip.
Now I will once again let Copilot translate the text. Unfortunately, Copilot is not yet very good at programming in Small Basic. It simply invents commands or does not know the syntax of commands. But for small routines, it has given me some good ideas. It is interesting to see how Copilot programs.
Best regards
Martin
Posts: 612
Threads: 40
Likes Received:
463 in 322 posts
Likes Given: 244
Joined: Aug 2023
Reputation:
20
I can also reproduce the issue with HWHS868.00, and cannot see any issue with the ZS source code.
Interestingly, Color = LDDialogs.Colour() works as expected using the same winform Dialog. The difference is that the LD version is run async using STA (single treaded appartment). I can't remember why I did it this way, but does seem to make this difference.
PS,
ZS - sorry to hear about your PC - I use GIT for ALL my software projects (public and private), apart from a secure backup it is very useful being able to check or revert changes made. I guess the best approach is to decompile your dll to source - its horrible losing work done - we have all had it happen and then learn from it. I backup nightly entire PC to USB drive (and then check it worked with no errors) and take regular disk image dumps to a different USB drive extracted from an old laptop. I do this from learned experience, not from paranoia.