Components for Delphi and C++ Builder.

Go to Russian forum
Go to EhLib.com
It is currently 29 Mar 2024, 08:37

All times are UTC




Post new topic Reply to topic  [ 1 post ] 
Author Message
PostPosted: 09 Apr 2016, 00:48 
Offline

Joined: 10 Nov 2013, 15:58
Posts: 4
When SQLDataDriver is on TDataModule the designer is not notified after closing SQL Editor form
Possible solution is replacing in SQLDriverEditEh.pas

Code:
    if (DataDriver.Owner is TForm) and (TForm(DataDriver.Owner).Designer <> nil) then
      TForm(DataDriver.Owner).Designer.Modified;


with
Code:
    designer:= FindRootDesigner(DataDriver);
    if Assigned(designer) then
      designer.Modified;


and define variable in the method
Code:
designer: IDesignerNotify;

I'm not sure about previous delphi versions. this works in XE7


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 13 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group