Re: [Lazarus] How do you remove form caption area?

2013-10-05 Thread Zaher Dirkey
In Delphi we set Caption to '' and BorderIcons = [] but that not work in Lazarus On Sat, Oct 5, 2013 at 5:32 PM, silvioprog wrote: > uses > unit2; > > procedure TForm1.Button1Click(Sender: TObject); > begin > Form2 := TForm2.Create(Self); > Form2.ShowModal; > Form2.Free; > end; > > ---

Re: [Lazarus] How do you remove form caption area?

2013-10-05 Thread Howard Page-Clark
On 05/10/2013 16:25, Graeme Geldenhuys wrote: Does LCL not have a TPopupWindow class? eg: like you would use for Hint Windows, Splash Screens etc? Weird. There is THintWindow in the Forms unit, but AFAIK it does not allow the kind of border the OP wants without resorting to calls such as Set

Re: [Lazarus] How do you remove form caption area?

2013-10-05 Thread Graeme Geldenhuys
On 2013-10-05 15:32, silvioprog wrote: > procedure TForm2.FormShow(Sender: TObject); > begin > SetWindowLong(Handle, GWL_STYLE, > GetWindowLong(Handle, GWL_STYLE) and (not WS_CAPTION)); > SetWindowPos(Handle, HWND_TOPMOST, 0, 0, 0, 0, > SWP_DRAWFRAME or SWP_NOMOVE or SWP_NOSIZE); > end;

Re: [Lazarus] How do you remove form caption area?

2013-10-05 Thread silvioprog
2013/10/5 silvioprog > uses > unit2; > > procedure TForm1.Button1Click(Sender: TObject); > begin > Form2 := TForm2.Create(Self); > Form2.ShowModal; > Form2.Free; > end; > > --- > > uses > Windows; > > procedure TForm2.FormShow(Sender: TObject); > begin > SetWindowLong(Handle, GWL_STYL

Re: [Lazarus] How do you remove form caption area?

2013-10-05 Thread silvioprog
uses unit2; procedure TForm1.Button1Click(Sender: TObject); begin Form2 := TForm2.Create(Self); Form2.ShowModal; Form2.Free; end; --- uses Windows; procedure TForm2.FormShow(Sender: TObject); begin SetWindowLong(Handle, GWL_STYLE, GetWindowLong(Handle, GWL_STYLE) and (not WS_CAP

Re: [Lazarus] How do you remove form caption area?

2013-10-05 Thread leledumbo
No idea then, seems to be Windows API specific -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-How-do-you-remove-form-caption-area-tp4033716p4033726.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. --

Re: [Lazarus] IDE Lazarus - Position start the form

2013-10-05 Thread Junior
Yes, Main Form Lazarus IDE (to starting the Lazarus) Em 05-10-2013 08:22, William Oliveira Ferreira escreveu: {$R cristalBall.lfm} What form? Form Designer? 2013/10/5 Junior > hi Initialization Lazarus IDE, the positioning of the form (x, y) woul

Re: [Lazarus] IDE Lazarus - Position start the form

2013-10-05 Thread William Oliveira Ferreira
{$R cristalBall.lfm} What form? Form Designer? 2013/10/5 Junior > hi > > Initialization Lazarus IDE, the positioning of the form (x, y) would not > be better with respect to the code editor window? > > The Delphi behaves in this way. > > Only an opinion. :) > > -- > ___

[Lazarus] IDE Lazarus - Position start the form

2013-10-05 Thread Junior
hi Initialization Lazarus IDE, the positioning of the form (x, y) would not be better with respect to the code editor window? The Delphi behaves in this way. Only an opinion. :) -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http:

[Lazarus] Sugsestion for TPagecontrol

2013-10-05 Thread FreeMan
Hello, I have a suggession for TPagecontrol class. It has "onChange" and "onChanging" property. onChange trigger after changED, Its okey, I wish name can be "onChanged" okey never mind. My suggestion is, new event or change "onChange" events property. My suggestion notify event is on TPageCo

Re: [Lazarus] How do you remove form caption area?

2013-10-05 Thread Anthony Walter
BorderStyle := bsNone And that removes the border. See the original linked screenshot. http://codebot.org/snapshops/no-caption.jpg On Sat, Oct 5, 2013 at 12:09 AM, leledumbo wrote: > BorderStyle := bsNone > > > > -- > View this message in context: > http://free-pascal-lazarus.989080.n3.nabble.

Re: [Lazarus] some IDE menuitem's glyphs lost

2013-10-05 Thread FreeMan
Thanx to paul, I update Revision 43104 and bug fixed. 02-10-2013 18:41 tarihinde, FreeMan yazdı: "Configure toolbar","Jump to", "Insert from character Map...", "Open package of Current unit", "options" etc menu items. When resources move to fpc, some glyphs lost. And that picture show red color