[Lazarus] TComboBox listbox width

2014-06-19 Thread Frank Poretzky
Hi, what do I have to do to increase the listbox width of comboboxes depending on item widths? As expected the Windows specific method I used with Delphi no longer works with Lazarus. Thanks Frank -- ___ Lazarus mailing list

[Lazarus] How to minimize application showing modal form(s)

2014-04-12 Thread Frank Poretzky
Hi! In an SDI application I open a modal form with .ShowModal and from there a dialog window with Dialogs.MessageDlg(). Now, when I call Application.Minimize with a TrayIcon.OnClick() event the main form and the message dialog disappear, whereas my custom modal form in-between remains visible.

Re: [Lazarus] How to minimize application showing modal form(s)

2014-04-12 Thread Frank Poretzky
Hi Howard, on Sat, 12 Apr 2014 18:13:08 +0100, you wrote: On 12/04/2014 17:06, Frank Poretzky wrote: Is there a way to modify my modal form to get it minimized as well? Create your modal form with the main form as its owner, and give it a unique Name at creation. In your main form's

Re: [Lazarus] Application.OnShowHint problem

2014-03-30 Thread Frank Poretzky
Hi Graeme, on Sun, 30 Mar 2014 10:09:31 +0100, you wrote: On 2014-03-30 04:45, Frank Poretzky wrote: | procedure TFormTest.DoAppOnShowHint( var HintStr: String; | var CanShow: Boolean; | var HintInfo: THintInfo

Re: [Lazarus] Application.OnShowHint problem

2014-03-30 Thread Frank Poretzky
Hi Flávio, on Sun, 30 Mar 2014 14:50:08 -0300, you wrote: There's a bug in application.inc, line 816. OnShowHint only executes if there are hint handlers registered: (...) i:=FApplicationHandlers[ahtShowHint].Count; if CanShow and (i0) then begin if Assigned(FOnShowHint) then

[Lazarus] Application.OnShowHint problem

2014-03-29 Thread Frank Poretzky
Hi! A method | procedure TFormTest.DoAppOnShowHint( var HintStr: String; | var CanShow: Boolean; | var HintInfo: THintInfo); | begin | CanShow := true; | HintStr := HintStr + ' - Modified'; | end; assigned to

Re: [Lazarus] New NumbersOnly property for TCustomEdit (r43678)

2014-01-22 Thread Frank Poretzky
On Sat, 11 Jan 2014 13:57:48 +0100, Bart wrote: Personally I would go for a T(Float)SpinEdit rather than a MaskEdit. Yes, that's the easiest way to control range-bound number input. It just lacks an option to get rid of those spacious up/down elements. Any chance to get that done? Frank --

Re: [Lazarus] New NumbersOnly property for TCustomEdit (r43678)

2014-01-22 Thread Frank Poretzky
On Wed, 22 Jan 2014 11:43:49 -0200, Alexsander Rosa wrote: 2014/1/22 Mattias Gaertner nc-gaert...@netcologne.de Frank Poretzky poret...@nym.mixmin.net hat am 22. Januar 2014 um 13:12 geschrieben: On Sat, 11 Jan 2014 13:57:48 +0100, Bart wrote: Personally I would go for a T(Float

Re: [Lazarus] New NumbersOnly property for TCustomEdit (r43678)

2014-01-22 Thread Frank Poretzky
On Wed, 22 Jan 2014 11:43:49 -0200, Alexsander Rosa wrote: 2014/1/22 Mattias Gaertner nc-gaert...@netcologne.de Frank Poretzky poret...@nym.mixmin.net hat am 22. Januar 2014 um 13:12 geschrieben: On Sat, 11 Jan 2014 13:57:48 +0100, Bart wrote: Personally I would go for a T(Float