Re: [lazarus] several patches

2006-01-10 Thread Mattias Gaertner
On Sun, 8 Jan 2006 23:50:22 +0100 (CET) [EMAIL PROTECTED] wrote: scalecompsdlg - converted to LFM Thanks. Applied. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives

Re: [lazarus] several patches

2006-01-10 Thread Mattias Gaertner
On Sun, 8 Jan 2006 23:50:22 +0100 (CET) [EMAIL PROTECTED] wrote: EnvironmentOpts: - fixed anchoring Applied. Thanks. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject

Re: [lazarus] Several patches

2005-09-30 Thread Marc Weustink
Micha Nelissen wrote: Marc Weustink wrote: The reason I thought of it is the continuos trouble I have with for instance grid.columns or statusbar.panels You only can access them by index. Having them as classfields makes life easier. Like a dataset, those items doesn't have to be persistent

Re: [lazarus] Several patches

2005-09-30 Thread Marc Weustink
Mattias Gaertner wrote: On Fri, 30 Sep 2005 10:20:31 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Thu, 29 Sep 2005 23:46:14 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: [...] Spacing like

Re: [lazarus] Several patches

2005-09-29 Thread Marc Weustink
[EMAIL PROTECTED] wrote: Here are two patches, which were lying around some time. checkgroup: - added property CheckByName: check box can be changed by only knowing the name (no need to search the index) - added property CheckEnabledByName: check box can be enabled by only knowing the name (no

Re: [lazarus] Several patches

2005-09-29 Thread dhkblaszyk
What would be the use of a index by Caption ? (At least I think you mean Caption, since the internal checkboxes don't have a name) That is one of the problems, see the next code to clarify the use; if EditorOptionsGroupBox.CheckedByName[dlgUseSyntaxHighlight] then PreviewEdits[a].Highlighter

Re: [lazarus] Several patches

2005-09-29 Thread Marc Weustink
[EMAIL PROTECTED] wrote: What would be the use of a index by Caption ? (At least I think you mean Caption, since the internal checkboxes don't have a name) That is one of the problems, see the next code to clarify the use; if EditorOptionsGroupBox.CheckedByName[dlgUseSyntaxHighlight] then

Re: [lazarus] Several patches

2005-09-29 Thread Darius Blaszijk
On Thu, 2005-09-29 at 14:56, Marc Weustink wrote: Thats why you usually create a func/proc for it. IMO it can be perfecly added as local form method and no need to add it in an inc. I myself are not in favor of repeatedly occurring functions or procedures in a project (or several projects),

Re: [lazarus] Several patches

2005-09-29 Thread Mattias Gaertner
On Thu, 29 Sep 2005 20:40:42 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Darius Blaszijk wrote: [...] But back to the basic question, what is the need: Why index by name ? CheckBoxGroup's like RadioGroup's show their components based on a number of items, that come from a resource

Re: [lazarus] Several patches

2005-09-29 Thread Marc Weustink
Mattias Gaertner wrote: On Thu, 29 Sep 2005 20:40:42 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Darius Blaszijk wrote: [...] But back to the basic question, what is the need: Why index by name ? CheckBoxGroup's like RadioGroup's show their components based on a number of items, that

Re: [lazarus] Several patches

2005-09-29 Thread Mattias Gaertner
On Thu, 29 Sep 2005 23:46:14 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: [...] Spacing like http://www.dommelstein.nl/scrap/checkbox_spacing.png If you would like to get the checks at a grid distance, you have to tweak the heigth of the box. Exactly. Do you want a

Re: [lazarus] Several patches

2005-09-23 Thread Jesus Reyes
- Original Message - From: [EMAIL PROTECTED] To: lazarus@miraclec.com Sent: Friday, September 23, 2005 1:43 PM Subject: [lazarus] Several patches Here are two patches, which were lying around some time. grids: - code cleanup for goFixedRowNumbering - added goHideCells: if set