Keeping MyConnection LoginForm on top

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
sdaberle
Posts: 8
Joined: Tue 12 Sep 2017 16:34

Keeping MyConnection LoginForm on top

Post by sdaberle » Sun 03 Dec 2017 19:28

It's disturbingly easy for the TMyConnection LoginForm to disappear behind other windows if the application using the TMyConnection isn't the only window open. This happens frequently during testing, for example, when it gets stuck behind the Delphi IDE. It can also get lost behind a CodeSiteViewer window if that's activated. Is there a way to make sure the LoginForm dialogue is on top when activated? I'd prefer not to use a custom LoginForm if possible.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Keeping MyConnection LoginForm on top

Post by ViktorV » Mon 04 Dec 2017 09:05

This is the standard behavior of our components, which our users have been using for many years and changing it will affect them all. All the users of the DAC products have the source codes of TMConnectForm (TMyConnectFormFmx) and you can try to implement this functionality on your own. The source code of TMyConnectForm (TMyConnectFormFmx) is located in DAC_Install_Dir\Source\, where DAC_Install_Dir is a directory where you installed DAC product to.

sdaberle
Posts: 8
Joined: Tue 12 Sep 2017 16:34

Re: Keeping MyConnection LoginForm on top

Post by sdaberle » Wed 06 Dec 2017 06:32

Thanks for the information.

ViktorV
Devart Team
Posts: 3168
Joined: Wed 30 Jul 2014 07:16

Re: Keeping MyConnection LoginForm on top

Post by ViktorV » Thu 07 Dec 2017 07:51

Thank you for the interest in our products.
If you have any questions during using our products, please don't hesitate to contact us - and we will try to help you solve them.

Post Reply