Re: [Lazarus] Invalid component names

2009-04-27 Thread Gerard N/A
On Mon, Apr 27, 2009 at 11:14 AM, Hans-Peter Diettrich
 wrote:
> Nonetheless there should exist a method, at least in the form designer,
> for creating unique names. Where is it?
>
Have a look at function TCustomFormEditor.CreateUniqueComponentName in
ide\customformeditor.pp

Regards,

Gerard.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] TDateEdit.Date is not published...why?

2009-04-24 Thread Gerard N/A
On Fri, Apr 24, 2009 at 12:32 PM, Graeme Geldenhuys
 wrote:
>
> Now similar issue can be applied to TDateTime and String types.  All I
> can say is thank goodness for Value Type Frameworks which get around
> these problems. Business objects are defined using class types instead
> of simple types.

Indeed. My dream would be to have some sort of extendable RTTI or at
least nulalble types.
A good VTF is a solution, in the meantime. ;-)

Regards,

Gerard.

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] TDateEdit.Date is not published...why?

2009-04-24 Thread Gerard N/A
On Fri, Apr 24, 2009 at 10:50 AM, Graeme Geldenhuys
 wrote:
> Example #1
> --
> var
>  cUSD: Currency;
>  cGBP: Currency;
>  cEuro: Currency;
>  cSum: Currency;
> begin
>  cUSD := 1.00;
>  cGBP := 1.00;
>  cEuro := cUSD + cGBP;
>  cSum := cUSD + cGBP;
>
>
> Problem #1:
>   cEuro is only valid if exchange rate is 1:1. Which pretty
>   much guaranteed not to be the case in this day and age.
>
> Problem #2:
>   What currency is cSum in?  Dollars or Pounds or something else?
>

I don't get it. Why would you add USD and GBP and assign the result to
a variable wich is supposed to hold Euros?

> ...there are a few more issues like rounding, allocation of lost
> decimals in case of rounding errors, etc...  :-)  A simple type simply
> cannot handle such complex cases correctly.

Ok, maybe the name "currency" can be confusing. Curency is a fixed
point real type with 4 decimal places.
Anyway, handling conversions between currencies requires more than
even a simple class.
You would need to know at least what is the exchange rate for a given
conversion.

Regards,

Gerard.

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] TDateEdit.Date is not published...why?

2009-04-24 Thread Gerard N/A
On Thu, Apr 23, 2009 at 7:32 PM, Graeme Geldenhuys
 wrote:
> On Thu, Apr 23, 2009 at 4:51 PM, Luca Olivetti  wrote:

> scary.  Try and do multi-currency calculations with a Currency type.

Just out of  curiosity, where's the problem?

Regards,

Gerard.

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] About Simple Application(Test) for PDA

2009-03-25 Thread Gerard N/A
Hi Allies,

About the .exe size, see:
http://wiki.lazarus.freepascal.org/Lazarus_Faq#Why_are_the_generated_binaries_so_big.3F
http://wiki.lazarus.freepascal.org/Size_Matters

> big Capacity ?) and i am try run at PDA O2 Atom Black show Message attention
> "... Can Make Harm Your Device..".

I've never seen that one. What version of windows does your PDA run?

regards,

Gerard.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] print source from IDE

2009-03-02 Thread Gerard N/A
Hi Andrea,

> I am not sure that I understood correctly, anyway I think that if I want
> to print some source code the printer should consider what I see on the
> editor and not what is already saved. e.g. I make some changes on my
> unit, I don't save it and I print the unit. I would like to print the
> modified unit not the previously saved one.

Correct, I don't mean what happens now is normal, I was just trying to
find a way to reproduce it.

> Anyway I will open a bug report. Which category should I set? (IDE,
> printer ?)

IDE.

Regards,

Gerard.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] print source from IDE

2009-02-28 Thread Gerard N/A
Hi,

that's correct, at least in some cases.
If you insert some new lines in a existing unit without saving, for
example, those are not printed and the print is truncated at original
line count. (before the new lines insert).
This looks like an internal SynEdit problem (Line count not being updated?)
May I suggest that you open a bug report?  (http://bugs.freepascal.org)

Regards,

Gerard.


On Fri, Feb 27, 2009 at 12:46 PM, Andrea Mauri
 wrote:
> Dear all,
> when I print the source from IDE the last line is not printed. This
> happens both printing a selection of the source or the whole unit.
> Lazarus svn, FPC 2.2.2 WinXp.
> Regards,
> Andrea
>
> ___
> Lazarus mailing list
> Lazarus@lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Wiki pages suggestion - feature comparison

2009-02-20 Thread Gerard N/A
On Fri, Feb 20, 2009 at 10:57 AM, Florian Klaempfl
 wrote:
> Gerard N/A schrieb:
>> Hi Graeme,
>>
>> This is not to start a flame war, but would you care to explain:
>>
>>>  * Lazarus has much better Packages than Delphi's dumb packages.
>>
>> I'd like to port a Delphi app wich uses package based plugins and as
>> far as I know there is no way I can do that with FPC/Lazarus?
>
> Indeed, because using packages as a plugin system is abusing packages:
> packages have no well defined and stable abi being usable from any
> language thus they are not the right choose for a good plugin system.

So far, Delphi's system fills my needs, as long as I can access them
from my Delphi apps, I don't care if other languages can access them
or not.
It may not be perfect, but it works.
I'd really love to port that app to FPC/Lazarus, but if I understand
correctly, there is no such thing.

Regards,

Gerard.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Wiki pages suggestion - feature comparison

2009-02-20 Thread Gerard N/A
Hi Graeme,

This is not to start a flame war, but would you care to explain:

>  * Lazarus has much better Packages than Delphi's dumb packages.

I'd like to port a Delphi app wich uses package based plugins and as
far as I know there is no way I can do that with FPC/Lazarus?

Best regards,

Gerard.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Free Open Source Diagram Components for Lazarus?

2009-01-27 Thread Gerard N/A
On Tue, Jan 27, 2009 at 7:47 AM, Thierry Coq  wrote:
> Yes, I know about StarUML, it's a good tool, but it's dead: little work
> has been done since 2005. And the code base is so huge, it seems
> daunting to port the code base to Lazarus as is.

It looks good, but it seems to use a lot of third party components,
some commercial like devexpress or programmar, some not ported to FPC
like JVCL.

Regards,

Gerard.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Lazarus forum

2008-12-19 Thread Gerard N/A
Great, thank you!
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Cocoa bindings

2008-12-05 Thread Gerard N/A
Hi Florian,

> I don't think that the iphone is a threat to WM. It is a treat to Nokia
> or Motorola which produce mobiles for people who don't install
> applications on their phone. Or does anybody expect any serius
> application development for the iphone as long as apple controls if you
> are allowed(!) to distribute your application or not?

As much as I dislike the idea of making software to be sold only
through a channel controled by Apple, the sales seem to be doing
pretty well.
See 
http://www.appleinsider.com/articles/08/10/21/iphone_app_store_continues_to_exceed_itunes_song_sales_growth.html
and 
http://www.roughlydrafted.com/2008/09/12/iphone-apps-store-growing-twice-as-fast-as-itunes-music/
Seen from that prism, serious maybe be defined by "can be sold" + "low
starting investment" + "sales".

Regards,

Gerard
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] user defined code folding regions using $REGION comments

2008-11-26 Thread Gerard N/A
Hi,

On Wed, Nov 26, 2008 at 10:08 AM, Paul Ishenin <[EMAIL PROTECTED]> wrote:
>
> there. He also has plans to implement this feature:
> http://wiki.lazarus.freepascal.org/User:Martin
>

I have a rough implementation that seems to work Ok (I'm cautious
because the synedit highlighter is a scary piece of code).
If there is interest, I can post a patch to the bug tracker or here.

Regards,

Gerard.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Insert Text -> Changelog entry

2008-11-20 Thread Gerard N/A
Hi Graeme,

> Where do I specify the correct username and email address portions
> used, in the Lazarus IDE?
>
AFAIK, it's not stored anywhere in the IDE, but comes from the
environment variables USER, and HOSTNAME.
It would be nice to have it stored somewhere and to be able to define
it yourself.

Regards,

Gerard.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Improvement request for the object inspector

2008-11-20 Thread Gerard N/A
Hi all,

Could some Lazarus developer have a look at the patch I posted in
http://bugs.freepascal.org/view.php?id=12607, and apply it if Ok?
It has been targeted to 0.9.28, but It would make the object inspector
much more usable and I think it is at least as necessary as the latest
cosmetic changes to the editor.
If the patch doens't work against the latest SVN, its just about to
replace procedure TBoolPropertyEditor.SetValue at line 2998 of
/ideintf/propedits.pp with the
new code:

TBoolPropertyEditor.SetValue(const NewValue: ansistring);
var
  I: Integer;
begin
  if (CompareText(NewValue, 'False') = 0) or (CompareText(NewValue, 'F')=0) then
I := 0
  else if (CompareText(NewValue, 'True') = 0) or
(CompareText(NewValue, 'T') = 0) then
I := 1
  else
I := StrToInt(NewValue);
  SetOrdValue(I);
end;

Best regards,

Gerard.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Bug 0012616

2008-11-12 Thread Gerard N/A
Was: It seems to have been fixed...

On Wed, Nov 12, 2008 at 6:17 PM, Gerard N/A <[EMAIL PROTECTED]> wrote:
> Hi,
>
> It to be have been fixed in rev. 17356
>
> Regards,
>
> Gerard.
>
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Bug 0012616

2008-11-12 Thread Gerard N/A
Hi,

It to be have been fixed in rev. 17356

Regards,

Gerard.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Bug on last SVN

2008-10-24 Thread Gerard N/A
Hi David,

Already reported.
http://bugs.freepascal.org/view.php?id=12468

2008/10/24 Guadagnini David <[EMAIL PROTECTED]>:
> In Last SVN if I call About dialog some time Lazarus crash immediatly,
> otherwhise after press exit button or after 5-8 seconds
>
> Version 0.9.27 (SVN 17125)
> FPC 2.2.2
> Computer Windows XP Professional
>
> ___
> Lazarus mailing list
> Lazarus@lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE bug: Clipboard copy operation failed

2008-10-12 Thread Gerard N/A
I'll test it ASAP, thanks.

On Sun, Oct 12, 2008 at 8:43 AM, Alexander Klenin <[EMAIL PROTECTED]> wrote:
> On Sat, Oct 11, 2008 at 01:12, Gerard N/A <[EMAIL PROTECTED]> wrote:
>> Iv'e had this occasionally, but as you say it's hard to reproduce.
>> I opened a bug report (http://bugs.freepascal.org/view.php?id=11548)
>> wich is still opened. If you have any other information, please add it
>> to the report.
>
> I have hopefully fixed it. See the bug report.
>
> --
> Alexander S. Klenin
> Insight Experts Ltd.
> ___
> Lazarus mailing list
> Lazarus@lazarus.freepascal.org
> http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE bug: Clipboard copy operation failed

2008-10-10 Thread Gerard N/A
Hi Alexander,

Iv'e had this occasionally, but as you say it's hard to reproduce.
I opened a bug report (http://bugs.freepascal.org/view.php?id=11548)
wich is still opened. If you have any other information, please add it
to the report.


Regards,

Gerard.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Editor Line Numbers (#11625)

2008-08-05 Thread Gerard N/A
Hi Graeme,

> I couldn't reply in Mantis because the bug report was closed before I
> completed testing the patch (Mattias, you are fast!).
> Anyway, this is to say:  Thank You!

You're welcome. I'm just back from holydays and it shows. ;-)

>The editor looks so much nicer
> now - much less clutter in the gutter (I did not mean for that to
> rhyme).

I like it also, (both the new gutter and your poetic skills, he, he).

Best regards,

Gerard.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Changeability of Lazarus Project1 , Unit1 and Form1 names (3) .

2008-08-04 Thread Gerard N/A
On Mon, Jul 28, 2008 at 2:27 PM, Mattias Gärtner
<[EMAIL PROTECTED]> wrote:
>
> About name clashing:
> I agree, that the IDE should check if the file exists (unit1.pas) and
> automatically use the next unitname (unit2, unit3, ...).
> The problem is here: When you create a new project, the IDE has no directory 
> to
> test, so it automatically creates project1 and unit1, because in a new project
> there are no name clashes. Ideas?
>
We could do it the way Visual Studio and the latest Delphi IDEs work.
When creating a new project, you get a dialog wich prompts for the
project name and project location.
The path is relative to a certain directory (by default your /home/my
documents directory + /BSDprojects, IIRC), and the final directory
name changes as you edit the project name. So the project
"MyFirstProject" goes into "c:\documents and
settings...\BSDProjects\MyFirstProject", wich is created
automatically. You can also specify a name for the directory that
doesn't match the project file name..
If the directory already exists, you get a message and have to confirm
that you want to use it.
That would involve adding new IDE configuration option (the base
projects directory path).
I think this is a clean, practical way.


Best regards,

Gerard.

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Trouble with TIBConnection and Numeric (N,6) fields.

2008-05-23 Thread Gerard N/A
Hi all,

I've got a problem acessing a Firebird DB (2.0) with TIBConnection + TSQLQuery.
I get 'Unkonwn field type ' when opening querys wich do
selects to tables having NUMERIC fields with 6 decimals.

Any idea on how to fix this?

Regards,

Gerard.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] from hfiandor

2008-05-14 Thread Gerard N/A
Hi Hector,

This has been fixed in the latest SVN release for Win32 and GTK2.

Saludos,

Gerard.

On Tue, May 13, 2008 at 11:23 PM, Héctor Fiandor Rosario
<[EMAIL PROTECTED]> wrote:
> Dear sirs:
>
>  thanks to all who answer my question about FormImage :=
>  fDiplo2Interno.GetFormImage;
>
>  I have received a contribution by a friend from Guatemala and really, it
>  works very pretty. Very simple.
>
>  thanks very much,
>
>
>
>  Ing. Héctor F. Fiandor
>  [EMAIL PROTECTED]
>
>  ___
>  Lazarus mailing list
>  Lazarus@lazarus.freepascal.org
>  http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE - F11

2008-05-14 Thread Gerard N/A
On Wed, May 14, 2008 at 9:56 AM, Mattias Gaertner
<[EMAIL PROTECTED]> wrote:
>  A patch is welcome.

He, he, patch by patch, I'll end up knowing how the beast works, one
of these years...
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE - F11

2008-05-13 Thread Gerard N/A
+1 vote for this, it could be be optional, if it annoys someone.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] from hfiandor

2008-05-13 Thread Gerard N/A
On Tue, May 13, 2008 at 11:12 AM, Gerard N/A <[EMAIL PROTECTED]> wrote:
> Hi,
>
>  Get TCustomForm.GetFormImage is not yet implemented.
>  I opened a bug report about his:
>  http://bugs.freepascal.org/view.php?id=11292
>  I was about to propose a quick pach, but can't figure out how to get
>  the right offset to paint just the form's client area, since it seems
>  (in win32 widgetset, at least) that ClientWidth=Width and
>  Clientheight=Height.
>
Here's a quick and dirty solution without patching the LCL:

interface

type

  THackForm = class(TForm)
  public
function GetClientOrigin: TPoint; override;
  end;

implementation

function THackForm.GetClientOrigin: TPoint;
begin
  Result:=inherited GetClientOrigin;
end;

and then

function GetFormImage(aForm: TForm): TBitmap;
begin
  Result := TBitmap.Create;
  try
   Result.Width  := aForm.ClientWidth;
   Result.Height := aForm.ClientHeight;
   Result.Canvas.Brush := aForm.Brush;
   Result.Canvas.FillRect(aForm.ClientRect);
   Result.Canvas.Lock;
   try
 aForm.PaintTo(Result.Canvas.Handle,
aForm.Left-THackForm(aForm).GetClientOrigin.X,
aForm.Top-THackForm(aForm).GetClientOrigin.Y);
   finally
 Result.Canvas.Unlock;
   end;
  except
   Result.Free;
   raise;
  end;
end;


Regards,

Gerard.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] from hfiandor

2008-05-13 Thread Gerard N/A
Hi,

Get TCustomForm.GetFormImage is not yet implemented.
I opened a bug report about his:
http://bugs.freepascal.org/view.php?id=11292
I was about to propose a quick pach, but can't figure out how to get
the right offset to paint just the form's client area, since it seems
(in win32 widgetset, at least) that ClientWidth=Width and
Clientheight=Height.

Regards,


Gerard.


On Tue, May 13, 2008 at 2:44 AM, Héctor Fiandor Rosario
<[EMAIL PROTECTED]> wrote:
> Dear sirs:
>
>  I am a new member of the FP group, with litle experience in turboPascal and
>  Delphi5.
>
>  Now I am trying to rewrite some of my products in Delphi5 to FreePascal for
>  windows
>
>  I have e methods used in Delphi5 with this declaration:
>
>  FormImage := fDiplo2Interno.GetFormImage;
>
>  because I prepare a Form with some components and the appearence of a
>  Diploma, and when finished,
>  I convert to a jpeg image and SaveToFile as a jpeg.
>
>  I have not found in FreePascal how to do this.
>
>  If you can help me, I will thanks you very much.
>
>  yours,
>
>  Ing. Héctor F. Fiandor
>  [EMAIL PROTECTED]
>
>  ___
>  Lazarus mailing list
>  Lazarus@lazarus.freepascal.org
>  http://www.lazarus.freepascal.org/mailman/listinfo/lazarus
>

___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] IDE Suggestion : Find in Files...

2008-03-19 Thread Gerard N/A
Hi,

I would vote either for this, or modify the search dialog so it includes
both search and search in files in one dialog.

regards,

Gerard.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] [Half-OT] Broken svn update

2008-03-13 Thread Gerard N/A
I had this problem it once, also with a "languages" directory, but don't
have any idea what is wrong.
I deleted the local directory, did a clean-up and an update and it worked.


HTH,

Gerard

2008/3/13 Antonio Sanguigni <[EMAIL PROTECTED]>:

> Hi all,
>
> I had a problem during a svn update. It hung and I had to ctrl-z it. On
> next attempts I receive this kind of error:
> --
>
> Any idea how can I solve this problem ? I know I can have a new snapshot
> but I'm just curios to know what can be this issue.
>
>
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] ANN : Game Maker on Mac OS X

2008-03-02 Thread Gerard N/A
Wow. Congratulations for you work, I wish a great of success.

Gerard.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Opinions required on what the ReadOnly property should do for LCL controls.

2008-02-28 Thread Gerard N/A
Done, I uploaded the patch to Mantis.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Opinions required on what the ReadOnly property should do for LCL controls.

2008-02-22 Thread Gerard N/A
It'll be during the weekend, I'm busy for a moment. :-(

On Fri, Feb 22, 2008 at 1:06 PM, Gerard N/A <[EMAIL PROTECTED]>
wrote:

>
> > I am convinced. Gerard, can you enhance the patch with a DirectInput
> > property?
>
>
> Sure. I'll post a new patch this afternoon.
>
> G.
>
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] What was the Make option to build the IDE with docking enabled?

2008-02-22 Thread Gerard N/A
Many thanks, Marius!
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] What was the Make option to build the IDE with docking enabled?

2008-02-22 Thread Gerard N/A
Sorry, but I am pretty sure I saw somewhere there was a param to build the
IDE with docking enabled.
There is no way I can find it again.
Any hint?

Regards,

Gerard.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Opinions required on what the ReadOnly property should do for LCL controls.

2008-02-22 Thread Gerard N/A
On Fri, Feb 22, 2008 at 11:15 AM, [EMAIL PROTECTED] <
[EMAIL PROTECTED]> wrote:

> What you say is right for single component but not for composite
> components like edit&button. In fact you cannot type on a button but
> you can do that on a edit.


So?  a TCustomEditButton is only a TEdit with an additional alternative
entry system.
The button+calendar are just helpers to the editor, not the other way
around.

>
> Due to different date format (short long and
> so on) the original idea was to select a date by a calendar and not by
> typing. In this way the user bypass the date format.


That's where a property like DirectEdit (or whatever you want to call it )
would be handy. You set it to true and the user is forced to use the
button+popup dialog to choose a value.

Regards,

Gerard.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Opinions required on what the ReadOnly property should do for LCL controls.

2008-02-22 Thread Gerard N/A
>
> I agree, 'readonly' is a different state to 'enabled=false'.  Maybe
> all components should point a little icon over a readonly component,
> like Gnome's Nautilus does? :) See attached screenshot.
>
> I have never seen a widgetset do that on components, but wonder how
> the users would react to seeing that? Umm...
>

I  like the general idea, but Nautilius icon is everything but clear.
I wouldn't know what it means if you haven't told me ;-)
Maybe a little lock somewhere would be more clear, but that's a lot of work
if you want to make it consistent across all controls.

G.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Opinions required on what the ReadOnly property should do for LCL controls.

2008-02-22 Thread Gerard N/A
>
>
> I am convinced. Gerard, can you enhance the patch with a DirectInput
> property?


Sure. I'll post a new patch this afternoon.

G.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Opinions required on what the ReadOnly property should do for LCL controls.

2008-02-21 Thread Gerard N/A
There's a discussion going on about TDateTimeEdit.ReadOnly in Mantis report
10861.
It's not a technical discussion, it's more about what ReadOnly should and
shouldn't do.

See. http://bugs.freepascal.org/view.php?id=10861

The list is probably a better place to discuss this, so please read the
report and give your opinion here.

Regards,

Gerard.
___
Lazarus mailing list
Lazarus@lazarus.freepascal.org
http://www.lazarus.freepascal.org/mailman/listinfo/lazarus