Showing MYDAC connection editor during Runtime

Discussion of open issues, suggestions and bugs regarding MyDAC (Data Access Components for MySQL) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
MYDAC100
Posts: 3
Joined: Fri 30 Mar 2018 20:01

Showing MYDAC connection editor during Runtime

Post by MYDAC100 » Fri 05 Jun 2020 19:03

Hi


I have Edit text box and I put a button. I want when I click this button, it shows MYDAC connection editor during Runtime. Then when I close this editor the connection string will be copy to the edit text box.


Any help

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

Re: Showing MYDAC connection editor during Runtime

Post by ViktorV » Thu 18 Jun 2020 15:06

You can enable a dialogue window displaying of connection to MySQL server by setting the TMyConnection.LoginPrompt property to True and adding MyDACVcl module to the uses clause of your module.

Post Reply