Re: [Lazarus] Ann: TButtonEdit as replacement for TEditButton

2014-04-06 Thread Bart
On 4/6/14, Michael Van Canneyt wrote: >> The old design was a poor one > > Well, it used what was available at the time in the LCL, > which was not much compared to what can be done today :) Well, maybe that was frased a little crude, but no offense was intended by all means. Bart -- _

Re: [Lazarus] Large toolbar buttons

2014-04-06 Thread Vojtěch Čihák
Hi,   there are two ShowCaption properties. One TToolButton.ShowCaption and the second TToolBar.ShowCaption. Also, there is TToolBar.ButtonHeight when you need large buttons.   Blaazen  __ Od: Richard Mace Komu: Lazarus mailing list D

Re: [Lazarus] Large toolbar buttons

2014-04-06 Thread Vojtěch Čihák
Hi,   there are two ShowCaption properties. One TToolButton.ShowCaption and the second TToolBar.ShowCaption. Also, there is TToolBar.ButtonHeight when you need large buttons.   Blaazen  __ Od: Richard Mace Komu: Lazarus mailing list D

Re: [Lazarus] Large toolbar buttons

2014-04-06 Thread Mattias Gaertner
On Sun, 6 Apr 2014 20:47:09 +0100 Richard Mace wrote: > > > > > > If you set Caption to '' then there is no text. > > > > Check also ShowCaption of the button. > > > > > The caption is set to "Add user" and the ShowCaption is set to true, but > it's still not showing the text on the button? What

Re: [Lazarus] lfm file format

2014-04-06 Thread Marc Santhoff
On So, 2014-04-06 at 21:37 +0200, Marc Santhoff wrote: > - flating left to right, top to bottom (I'm not interested in this) floating > Currently I'm only in a pre-planning phase, my goal know is to check how now -- Marc Santhoff -

Re: [Lazarus] lfm file format

2014-04-06 Thread Graeme Geldenhuys
On 2014-04-06 19:53, Marc Santhoff wrote: > > If you ever used the "Database Form Wizard/Assistant" of Openoffice you > know what I want. Not exctly that way, but in result a basic form that > can be trimmed to fit by hand afterwards. I've never tried that but closer to home, Delphi IDE has s

Re: [Lazarus] Large toolbar buttons

2014-04-06 Thread Richard Mace
> > > If you set Caption to '' then there is no text. > > Check also ShowCaption of the button. > > The caption is set to "Add user" and the ShowCaption is set to true, but it's still not showing the text on the button? Thanks Richard -- ___ Lazarus mai

Re: [Lazarus] lfm file format

2014-04-06 Thread Marc Santhoff
On So, 2014-04-06 at 21:03 +0200, Michael Van Canneyt wrote: > > On Sun, 6 Apr 2014, Marc Santhoff wrote: > > >>> by a generator program. If there is any existing code that can be reused > >>> it would be very helpful. > >> > >> This is too vague. What do you want to achieve? > > > > I'm thinking

Re: [Lazarus] lfm file format

2014-04-06 Thread Michael Van Canneyt
On Sun, 6 Apr 2014, Marc Santhoff wrote: by a generator program. If there is any existing code that can be reused it would be very helpful. This is too vague. What do you want to achieve? I'm thinking about a programm that: - opens a database - generates form and source for each table - us

Re: [Lazarus] Ann: TButtonEdit as replacement for TEditButton

2014-04-06 Thread Michael Van Canneyt
On Sun, 6 Apr 2014, Bart wrote: On 4/6/14, Vojtěch Čihák wrote: I have some notes. The main is that messages (like WMLButton etc.) does not work. This may in theory break other peoples' code. Not sure if that can be fixed. The old design was a poor one Well, it used what was available

Re: [Lazarus] lfm file format

2014-04-06 Thread Marc Santhoff
On So, 2014-04-06 at 03:23 +0200, Mattias Gaertner wrote: > On Sun, 06 Apr 2014 00:49:45 +0200 > Marc Santhoff wrote: > > > On Sa, 2014-04-05 at 12:23 +0200, Mattias Gaertner wrote: > > > On Sat, 05 Apr 2014 12:06:20 +0200 > > > Marc Santhoff wrote: > > > > > > > Hi, > > > > > > > > ist there

Re: [Lazarus] Ann: TButtonEdit as replacement for TEditButton

2014-04-06 Thread Bart
On 4/6/14, Vojtěch Čihák wrote: > The second is that default AutoSize was changed to False Fixed. > The third is that it's derived from TCustomControl. Since the only > difference to TWinControl that I see here is the Canvas, which is useless > here, I would derive from TWinControl. Looked at i

Re: [Lazarus] Ann: TButtonEdit as replacement for TEditButton

2014-04-06 Thread Bart
On 4/6/14, Vojtěch Čihák wrote: > I have some notes. > > The main is that messages (like WMLButton etc.) does not work. This may in > theory break other peoples' code. Not sure if that can be fixed. The old design was a poor one and had to be fixed in a way similar to the current one where the e

Re: [Lazarus] Ann: TButtonEdit as replacement for TEditButton

2014-04-06 Thread Vojtěch Čihák
Hello,   I have some notes.   The main is that messages (like WMLButton etc.) does not work. This may in theory break other peoples' code.   The second is that default AutoSize was changed to False and initial height is hardcoded to 23 (but on my Qt are edits 21 pixel high so it's not consistent

Re: [Lazarus] Ann: TButtonEdit as replacement for TEditButton

2014-04-06 Thread leledumbo
Finally :) *executing: svn up -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-Ann-TButtonEdit-as-replacement-for-TEditButton-tp4036553p4036554.html Sent from the Free Pascal - Lazarus mailing list archive at Nabble.com. -- __

[Lazarus] Ann: TButtonEdit as replacement for TEditButton

2014-04-06 Thread Bart
Hi all, As per r44623 (trunk) the new TButtonEdit component replaces the TEditButton component. The new TButtonEdit is designed as "Grouped Control", so it should properly anchor and align. (You need to clean build Lazarus in order to update the componentpallette.) TEditButton is, for the time be

[Lazarus] Cursor on lists in IDE

2014-04-06 Thread Jürgen Hestermann
I am annoyed by a behaviour of the Lazarus IDE that seems to exist in many other programs and components too: When I delete an entry from a list (i.e. the debug watch list) then no other entry is selected afterwards. Therefore I cannot delete all entries by just keeping pressed the del key. I hav

Re: [Lazarus] Large toolbar buttons

2014-04-06 Thread Mattias Gaertner
On Sun, 6 Apr 2014 10:35:11 +0100 Richard Mace wrote: > On 6 April 2014 08:21, Mattias Gaertner wrote: > > > > Also, when do the captions get displayed? > > > > Have you tried ShowCaptions? > > > > Yes, I have. The buttons are linked to Actions so not sure if that makes > any difference? If y

Re: [Lazarus] Large toolbar buttons

2014-04-06 Thread Richard Mace
On 6 April 2014 08:21, Mattias Gaertner wrote: > > Also, when do the captions get displayed? > > Have you tried ShowCaptions? > Yes, I have. The buttons are linked to Actions so not sure if that makes any difference? Richard -- ___ Lazarus mailing lis

Re: [Lazarus] Large toolbar buttons

2014-04-06 Thread Mattias Gaertner
On Sun, 6 Apr 2014 07:49:52 +0100 Richard Mace wrote: >[...] > When I change the ImageLists's Height and Width it clears all of the > current images, I presume that because I have to add larger images in now? Yes. > Also, when do the captions get displayed? Have you tried ShowCaptions? Mattia