* * *

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

Soner A.

  • Full Member
  • ***
  • Posts: 169
    • My Blog
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;
I use latest Lazarus version with fixes-svn, fpc latest official, Windows 7, All 32Bit

 

Recent

Get Lazarus at SourceForge.net. Fast, secure and Free Open Source software downloads Open Hub project report for Lazarus