Delphi Hydra visual plugin border issuse if using styles in host app

218 views Asked by At

If creating a delphi hydra host application and then load a delphi hydra visual plugin on It, then a dialog border appears for visual plugin. this borders appears if using styles in delphi host(Project>options>application>appearance). Can you help me?

1

There are 1 answers

0
Shaahin Ashayeri On BEST ANSWER

Problem solved. for solving It: In Host Application we must using this code:

HYModuleManager1.CreateVisualPlugin('Yourplugin', Plugin, Panel);
if Plugin.GetObject is TForm then
TForm(Plugin.GetObject).BorderStyle := bsNone;

thanx ejay from remobjects: http://connect.remobjects.com/discussion/comment/14464#Comment_14464