delphipluginsremobjectshydra

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


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?


Solution

  • 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