Recent

Author Topic: Lazarus and application bar from linux desktops.  (Read 1732 times)

SunyD

  • Guest
Lazarus and application bar from linux desktops.
« on: March 17, 2017, 11:40:15 pm »
If you don't like that child forms from Lazarus are visible on the application bar is then do this.
1) If you use anchordocking then open components/anchordocking.pas  and make this change:
Code: Pascal  [Select][+][-]
  1. constructor TAnchorDockHostSite.CreateNew(AOwner: TComponent; Num: Integer);
  2. begin
  3.   //..
  4.   DragKind:=dkDock;
  5.   {$IfDef LINUX}ShowInTaskBar:=stNever;{$IfEnd}  //<-- Add this !!
  6.   //...
  7. end;

2) For not docked child forms open them and make same changes. I make here changes for ObjectInspector:


Code: Pascal  [Select][+][-]
  1. //  components/ideintf/objectinspector.pp
  2.  
  3. constructor TObjectInspectorDlg.Create(AnOwner: TComponent);
  4. //..
  5.   FComponentEditor := nil;
  6.   {$IfDef LINUX}ShowInTaskBar:=stNever; {$IfEnd} //<-- Add this !!
  7. //..
  8. end;

 

TinyPortal © 2005-2018