Re: [lazarus] New bitmap :-)

2007-12-06 Thread A.J. Venter
It's an optional component included with Lazarus (look under the
components subdirectory in your $LAZDIR), used for showing baloon-help
windows.

Me and Felipe wrote it for lazarus.

A.J.

On 12/6/07, Paul Ishenin [EMAIL PROTECTED] wrote:
 A.J. Venter wrote:
  Well,
  Here is mine for TPopupNotifier - if somebody can make one that is
  actually pretty, I won't mind :p
 
 Sorry, what is TPopupNotifier? Where can I find it?

 Best regards,
 Paul Ishenin.

 _
  To unsubscribe: mail [EMAIL PROTECTED] with
 unsubscribe as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives



-- 
A.J. Venter
Director of Product Development
Tel.: +27 21 554 5059
Fax: +27 11 252 9197
Outkast Solutions IT
www.outkastsolutions.co.za
A division of Global Pact Trading Pty Ltd.

www.silentcoder.co.za - Blog
scartoonz.silentcoder.co.za - ScarToonz webcomic

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] New splash screen issues

2007-12-06 Thread Graeme Geldenhuys
Hi,

Just got an update and to my surprise I saw a beautiful splash screen
appear.  :-)  About time that got a overhaul!  Lazarus is starting to
look very professional... It's amazing how a bit of eye candy and
consistent interface can improve the overall perception of a product.

I'm using Lazarus v0.9.25 r13179M i386-linux-gtk

Minor problem:
  - Starting Lazarus I see the new splash screen. No problems.
  - Selecting File|Restart I see the 'old' splash screen.
  - Selecting Help|About I see the old splash screen image.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New splash screen issues

2007-12-06 Thread wile64
It has something to be done to this  /docs/index.html
not see good pretty. :-)
-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] New bitmap :-)

2007-12-06 Thread wile64
Paul,

see ttoolbutton.png.
-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: tstatusbar.pngattachment: ttoolbar.png

Re: [lazarus] GUID generator in Lazarus

2007-12-06 Thread Gerard N/A
On Dec 6, 2007 8:13 AM, Graeme Geldenhuys [EMAIL PROTECTED] wrote:


 The Edit menu is already over populated and is very long,


Indeed.
My proposal:
In the main menu:
  Edit | Insert | GUID
In the editor window popup menu:
  Make a 'Insert' submenu, move 'Todo Item' under this submenu, and add
'GUID' also.
+1 vote for your shortcut proposal.
BTW, Insert ToDo Item should have a shortcut to.



Regards,

Gerard.


Re: [lazarus] Copy File from source to destination

2007-12-06 Thread Malcolm Poole

el stamatakos wrote:


Hi ,
 How do you copy a file from one location to another Delphi
has CopyFileTo how do you do this in Lazarus. Thanks
 
Lefti


Try this function. I'm not sure of its origin though. It may have come 
out of the Delphi 1 Help.


Malcolm

function FileCopy(source,dest: String): Boolean;
var
 fSrc,fDst,len: Integer;
 ct,units,size: Longint;
 buffer: packed array [0..2047] of Byte;
begin
 ct:=0;
 Result := False; { Assume that it WONT work }
 if source  dest then begin
   fSrc := FileOpen(source,fmOpenRead);
   if fSrc = 0 then begin
 size := FileSeek(fSrc,0,2);
 units:=size div 2048;
 FileSeek(fSrc,0,0);
 fDst := FileCreate(dest);
 if fDst = 0 then begin
   while size  0 do begin
 len := FileRead(fSrc,buffer,sizeof(buffer));
 FileWrite(fDst,buffer,len);
 size := size - len;
 if units  0 then
 ct:=ct+1;
   end;
   FileSetDate(fDst,FileGetDate(fSrc));
   FileClose(fDst);
   FileSetAttr(dest,FileGetAttr(source));
   Result := True;
 end;
 FileClose(fSrc);
   end;
 end;
end;



_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] GUID generator in Lazarus

2007-12-06 Thread Mattias Gaertner
On Thu, 06 Dec 2007 08:52:15 +0100
Tiziano De Togni [EMAIL PROTECTED] wrote:

 Graeme Geldenhuys wrote:
  So anybody got a suitable location for the Insert a GUID menu
  entry? Currently I inserted it in the Tools menu after Diff and
  before the Menu Separator item.
  
  The Edit menu is already over populated and is very long, so I
  don't know it that's the appropriate place to add it. Alternatively
  I can insert it in the editor window popup menu, but that is also
  fast becoming a over populated menu.
  
  Is Tools okay?  But then it isn't really a tool is it?  Choices,
  choices  :)
  
 
 Why not put into Edit|Insert|General|GUID ?
 
 it's in a deep position, but it should be his place, along with the 
 Ctrl+Shift+G shortcut

Good idea.

Mattias

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Copy File from source to destination

2007-12-06 Thread Mattias Gaertner
On Wed, 5 Dec 2007 17:41:21 -0800
el stamatakos [EMAIL PROTECTED] wrote:

 
 
 
 
 Hi ,
  How do you copy a file from one location to another Delphi has
 CopyFileTo how do you do this in Lazarus. Thanks 

unit FileUtil CopyFile.

Mattias

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] GUID generator in Lazarus

2007-12-06 Thread Graeme Geldenhuys
On 06/12/2007, Mattias Gaertner [EMAIL PROTECTED] wrote:
 
  Why not put into Edit|Insert|General|GUID ?
 
  it's in a deep position, but it should be his place, along with the
  Ctrl+Shift+G shortcut

 Good idea.


A crap, just as I was about to submit the patch to Mantis I'll
move the new item to the location shown above. :)



Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] [patch] Insert a GUID

2007-12-06 Thread Graeme Geldenhuys
Hi,

I uploaded a patch to Mantis that adds a new menu item and keyboard
shortcut to insert a GUID used for when declaring Interfaces.

http://www.freepascal.org/mantis/view.php?id=10358

Changes:
 * New menu item in Edit|Insert|General|Insert a GUID
 * Changed Procedure List keyboard shortcut to Alt+G
 * New keyboard shortcut for Insert a GUID. Ctrl+Shift+G
 * Fixed the window size of Procedure List. Somewhere the default size
   was enlarged about 3 times!

Enjoy!


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] Problem compiling last SVN

2007-12-06 Thread Guadagnini David

Have a problem during compile last SVN version (13080)

The messag is
C:\lazarus\ide\lazarus.pp(114,1) Error: Undefined symbol: 
VMT_LCLCLASSES_TLCLHANDLECOMPONENT


some idea?

I use Lazarus on Windows XP with FPC 2.2.1

begin:vcard
fn:David Guadagnini
n:Guadagnini;David
org:Biotecnica Instruments S.p.A.;RD
adr:;;Via Licenza 18;Roma;RM;00133;Italy
email;internet:[EMAIL PROTECTED]
title:Software architet
tel;work:+39064112616
x-mozilla-html:FALSE
version:2.1
end:vcard



Re: [lazarus] Problem compiling last SVN

2007-12-06 Thread Graeme Geldenhuys
On 06/12/2007, Guadagnini David [EMAIL PROTECTED] wrote:
 The messag is
 C:\lazarus\ide\lazarus.pp(114,1) Error: Undefined symbol:
 VMT_LCLCLASSES_TLCLHANDLECOMPONENT

 some idea?

Have you tried to do a 'make clean' from the command line or tick the
Clear All checkbox before you build Lazarus.  I had to do it this
morning when I got a update and after that everything compiled fine.

I think it's good practice to always to a 'make clean' before you build Lazarus.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Problem compiling last SVN

2007-12-06 Thread Paul Ishenin

Guadagnini David пишет:

Have a problem during compile last SVN version (13080)

The messag is
C:\lazarus\ide\lazarus.pp(114,1) Error: Undefined symbol: 
VMT_LCLCLASSES_TLCLHANDLECOMPONENT


some idea?

I use Lazarus on Windows XP with FPC 2.2.1



do make clean

Best regards,
Paul Ishenin.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New bitmap :-)

2007-12-06 Thread wile64
I may be stupid but what is the difference between TPageControl and
TNoteBook exactly ?

Thanks

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php


Re: [lazarus] Problem compiling last SVN

2007-12-06 Thread Guadagnini David
I try with make clean, make cleanall, cleanall, clean+build but it's the 
same.


begin:vcard
fn:David Guadagnini
n:Guadagnini;David
org:Biotecnica Instruments S.p.A.;RD
adr:;;Via Licenza 18;Roma;RM;00133;Italy
email;internet:[EMAIL PROTECTED]
title:Software architet
tel;work:+39064112616
x-mozilla-html:FALSE
version:2.1
end:vcard



Re: [lazarus] Problem compiling last SVN

2007-12-06 Thread Andrey Gusev

* Paul Ishenin [EMAIL PROTECTED] [Thu, 06 Dec 2007 17:18:06 +0700]:

Guadagnini David пишет:
 Have a problem during compile last SVN version (13080)

 The messag is
 C:\lazarus\ide\lazarus.pp(114,1) Error: Undefined symbol:
 VMT_LCLCLASSES_TLCLHANDLECOMPONENT


Talked about compiling IDE from itself, as i mean...

1. svn update
2. make clean
3. make
4. startlazarus.exe
5. Tools-Configure Build Lazarus
6. Switch Clean Up + Buld all to ON
7. Go to Advanced build options, switch starter to none position
8. With packages switch to ON
9. Press Build

got:
---
C:\Works-FPC\lazarus-snap\ide\lazarus.pp(114,1) Error: Undefined symbol: 
VMT_LCLCLASSES_TLCLHANDLECOMPONENT
C:\Works-FPC\lazarus-snap\ide\lazarus.pp(114,1) Fatal: There were 1 
errors compiling module, stopping

---

The same.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New bitmap :-)

2007-12-06 Thread Graeme Geldenhuys
On 06/12/2007, wile64 [EMAIL PROTECTED] wrote:

 I may be stupid but what is the difference between TPageControl and
 TNoteBook exactly ?


:-)  I've asked the same thing before  If I remember correctly
(though it's been a long time ago), the one component has a
internal canvas per tab to drop controls on. The other doesn't.  One
of them I think is also just the tabs without the canvas/client area.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Problem compiling last SVN

2007-12-06 Thread Andrey Gusev

* Andrey Gusev [EMAIL PROTECTED] [Thu, 06 Dec 2007 13:47:49 +0300]:

* Paul Ishenin [EMAIL PROTECTED] [Thu, 06 Dec 2007 17:18:06 +0700]:
 Guadagnini David пишет:
  Have a problem during compile last SVN version (13080)
 
  The messag is
  C:\lazarus\ide\lazarus.pp(114,1) Error: Undefined symbol:
  VMT_LCLCLASSES_TLCLHANDLECOMPONENT

Talked about compiling IDE from itself, as i mean...

1. svn update
2. make clean
3. make
4. startlazarus.exe
5. Tools-Configure Build Lazarus
6. Switch Clean Up + Buld all to ON
7. Go to Advanced build options, switch starter to none position
8. With packages switch to ON
9. Press Build

got:
---
C:\Works-FPC\lazarus-snap\ide\lazarus.pp(114,1) Error: Undefined 

symbol:

VMT_LCLCLASSES_TLCLHANDLECOMPONENT
C:\Works-FPC\lazarus-snap\ide\lazarus.pp(114,1) Fatal: There were 1
errors compiling module, stopping
---

The same.


Be downgraded to 13140 the above actionset completed cleanly.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Problem compiling last SVN

2007-12-06 Thread Graeme Geldenhuys
On 06/12/2007, Guadagnini David [EMAIL PROTECTED] wrote:
 Have a problem during compile last SVN version (13080)

You have 100 revisions old version, not the latest.  I have v0.9.25
r13179 i386-linux-gtk and it compiled fine with FPC 2.2.0.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Problem compiling last SVN

2007-12-06 Thread Vincent Snijders

Graeme Geldenhuys schreef:

On 06/12/2007, Guadagnini David [EMAIL PROTECTED] wrote:

Have a problem during compile last SVN version (13080)


You have 100 revisions old version, not the latest.  I have v0.9.25
r13179 i386-linux-gtk and it compiled fine with FPC 2.2.0.



I deleted all .ppu files in windows explorer. After that compilation suceeded.

Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New splash screen issues

2007-12-06 Thread Vincent Snijders

Graeme Geldenhuys schreef:

Minor problem:
  - Selecting File|Restart I see the 'old' splash screen.

Rebuild startlazarus: make starter


Vincent

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Problem compiling last SVN

2007-12-06 Thread Bee
I deleted all .ppu files in windows explorer. After that compilation 
suceeded.


That's what make clean does, no?

-Bee-

has Bee.ography at:
http://beeography.wordpress.com

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Give me way to debug codetools !!!

2007-12-06 Thread Andrey Gusev

* Paul Ishenin [EMAIL PROTECTED] [Tue, 04 Dec 2007 22:48:09 +0700]:

Andrey Gusev wrote:
 Have some enrichment of debug output in finddeclarationtool.pas, i
 don't see results in --debug-log file

If you are on windows, just add {$apptype console} to
lazarus\ide\include\ide.inc and you'll have second ide window with
console. There you'll see all output and your debugln too.


Thanks, that is just what need.

=

Investigation in progress...
But, maybe have some ideas about this:
---
[...]
\lazarus-snap\lcl;C:\Works-FPC\lazarus-snap\lcl\widgetset;C:\Works-FPC\lazarus-s
nap\lcl\interfaces\win32;C:\Works-FPC\lazarus-snap\packager\registration
TCTDirectoryCache.FindUnitSourceInCleanSearchPath 
CurPath=C:\Works-FContr\Contracts\Apps

111
TCTDirectoryCache.FindUnitSource UnitName=WorkrXtr AnyCase=True 
Directory=C:\Works-FContr\Contracts\Apps\

TCTDirectoryCache.UpdateListing
Listing:timestamp=2
333
TCTDirectoryCache.FindUnitSourceInCleanSearchPath 
CurPath=C:\Works-FContr\Contracts\Apps\Mods

111
TCTDirectoryCache.FindUnitSource UnitName=WorkrXtr AnyCase=True 
Directory=C:\Works-FContr\Contracts\Apps\Mods\

TCTDirectoryCache.UpdateListing
Listing:timestamp=2
Listing is empty  AG: that's wrong, listing of 
C:\Works-FContr\Contracts\Apps\Mods\ cannot be an empty,
there enough many units, WorkrXtr 
including
TCTDirectoryCache.FindUnitSourceInCleanSearchPath 
CurPath=C:\Works-FContr\Contracts\gen

[...]
---

Somewhat wrong in depth of directorycacher.pas, pool/timestamp mechanics 
or whatever...

?

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Problem compiling last SVN

2007-12-06 Thread Mattias Gaertner
On Thu, 06 Dec 2007 13:47:49 +0300
Andrey Gusev [EMAIL PROTECTED] wrote:

 * Paul Ishenin [EMAIL PROTECTED] [Thu, 06 Dec 2007 17:18:06 +0700]:
  Guadagnini David пишет:
   Have a problem during compile last SVN version (13080)
  
   The messag is
   C:\lazarus\ide\lazarus.pp(114,1) Error: Undefined symbol:
   VMT_LCLCLASSES_TLCLHANDLECOMPONENT
 
 Talked about compiling IDE from itself, as i mean...
 
 1. svn update
 2. make clean
 3. make
 4. startlazarus.exe
 5. Tools-Configure Build Lazarus
 6. Switch Clean Up + Buld all to ON
 7. Go to Advanced build options, switch starter to none position
 8. With packages switch to ON
 9. Press Build
 
 got:
 ---
 C:\Works-FPC\lazarus-snap\ide\lazarus.pp(114,1) Error: Undefined
 symbol: VMT_LCLCLASSES_TLCLHANDLECOMPONENT
 C:\Works-FPC\lazarus-snap\ide\lazarus.pp(114,1) Fatal: There were 1 
 errors compiling module, stopping

You need to recompile clean the packages too.

The IDE builder should be extended for this common fpc bug.

Mattias

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Give me way to debug codetools !!!

2007-12-06 Thread Mattias Gaertner
On Thu, 06 Dec 2007 14:31:38 +0300
Andrey Gusev [EMAIL PROTECTED] wrote:

 * Paul Ishenin [EMAIL PROTECTED] [Tue, 04 Dec 2007 22:48:09 +0700]:
  Andrey Gusev wrote:
   Have some enrichment of debug output in finddeclarationtool.pas, i
   don't see results in --debug-log file
 
  If you are on windows, just add {$apptype console} to
  lazarus\ide\include\ide.inc and you'll have second ide window with
  console. There you'll see all output and your debugln too.
 
 Thanks, that is just what need.
 
 =
 
 Investigation in progress...
 But, maybe have some ideas about this:
 ---
 [...]
 \lazarus-snap\lcl;C:\Works-FPC\lazarus-snap\lcl\widgetset;C:\Works-FPC\lazarus-s
 nap\lcl\interfaces\win32;C:\Works-FPC\lazarus-snap\packager\registration
 TCTDirectoryCache.FindUnitSourceInCleanSearchPath 
 CurPath=C:\Works-FContr\Contracts\Apps
 111
 TCTDirectoryCache.FindUnitSource UnitName=WorkrXtr AnyCase=True 
 Directory=C:\Works-FContr\Contracts\Apps\
 TCTDirectoryCache.UpdateListing
 Listing:timestamp=2
 333
 TCTDirectoryCache.FindUnitSourceInCleanSearchPath 
 CurPath=C:\Works-FContr\Contracts\Apps\Mods
 111
 TCTDirectoryCache.FindUnitSource UnitName=WorkrXtr AnyCase=True 
 Directory=C:\Works-FContr\Contracts\Apps\Mods\
 TCTDirectoryCache.UpdateListing
 Listing:timestamp=2
 Listing is empty  AG: that's wrong, listing of 
 C:\Works-FContr\Contracts\Apps\Mods\ cannot be an empty,
  there enough many units,
 WorkrXtr including
 TCTDirectoryCache.FindUnitSourceInCleanSearchPath 
 CurPath=C:\Works-FContr\Contracts\gen
 [...]
 ---
 
 Somewhat wrong in depth of directorycacher.pas, pool/timestamp
 mechanics or whatever...
 ?

Can you add more debugln, to see if TCTDirectoryCache.UpdateListing
finds all the files in the directory?

Mattias

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Give me way to debug codetools !!!

2007-12-06 Thread Andrey Gusev
* Mattias Gaertner [EMAIL PROTECTED] [Thu, 6 Dec 2007 13:02:27 
+0100]:

Can you add more debugln, to see if TCTDirectoryCache.UpdateListing
finds all the files in the directory?
Just now, exactly attempt to catch list filling moment (with 
C:\Works-FContr\Contracts\Apps\Mods directory).

I will to post it...

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] GUID generator in Lazarus

2007-12-06 Thread Cesar Romero



In the main menu:
  Edit | Insert | GUID

Got my vote here

In the editor window popup menu:
  Make a 'Insert' submenu, move 'Todo Item' under this submenu, and 
add 'GUID' also.

+1 vote for your shortcut proposal.

+1

BTW, Insert ToDo Item should have a shortcut to.

I vote to CTRL+Shit+T as in delphi




[]s

Cesar Romero

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] GUID generator in Lazarus

2007-12-06 Thread Damien Gerard


On Dec 6, 2007, at 3:06 PM, Cesar Romero wrote:




In the main menu:
 Edit | Insert | GUID

Got my vote here

In the editor window popup menu:
 Make a 'Insert' submenu, move 'Todo Item' under this submenu, and  
add 'GUID' also.

+1 vote for your shortcut proposal.

+1

+1



BTW, Insert ToDo Item should have a shortcut to.

I vote to CTRL+Shit+T as in delphi



+1 too :)


--
Damien Gerard
[EMAIL PROTECTED]

People who used magic without knowing what they were doing usually  
came to a sticky end. All over the entire room, sometimes.

-- (Terry Pratchett, Moving Pictures)



_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] GUID generator in Lazarus

2007-12-06 Thread huisvuil
In Lazarus SVN#13180 (after short compile problems, thanks for the 
rescue tip Vincent) i noticed the Ctrl-Shift-G shortcut works, but 
nothing happends via the menu (not really important as the shortcut 
works fine)


Graeme Geldenhuys wrote:

On 06/12/2007, Mattias Gaertner [EMAIL PROTECTED] wrote:

Why not put into Edit|Insert|General|GUID ?

it's in a deep position, but it should be his place, along with the
Ctrl+Shift+G shortcut

Good idea.



A crap, just as I was about to submit the patch to Mantis I'll
move the new item to the location shown above. :)



Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] GUID generator in Lazarus

2007-12-06 Thread Graeme Geldenhuys
On 06/12/2007, Cesar Romero [EMAIL PROTECTED] wrote:
 +1
  BTW, Insert ToDo Item should have a shortcut to.
 I vote to CTRL+Shit+T as in delphi


I'll implement that shortly


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Problem compiling last SVN

2007-12-06 Thread Andrey Gusev
* Mattias Gaertner [EMAIL PROTECTED] [Thu, 6 Dec 2007 12:45:04 
+0100]:


You need to recompile clean the packages too.



Have the Advanced build options tunable
(maybe Package registration, or Clean all checkbox useful for it ?)
to clean my own installed packages, or they can be cleaned only manually 
?



The IDE builder should be extended for this common fpc bug.



_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New bitmap :-)

2007-12-06 Thread Paul Ishenin

wile64 wrote:


I may be stupid but what is the difference between TPageControl and 
TNoteBook exactly ?
TNoteBook is some obsoleted win 3.1 control. In current lazarus 
implementation TNotebook has about the same implementation as 
TPageControl. All difference is in how pages can be accessed and in way 
of controlling visibility of Tabs. In TNoteBook tabs (top part of 
control) can be totally visible or invisible. In TPageControl you can 
control visibility of separate tabs.


Best regards,
Paul Ishenin.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] GUID generator in Lazarus

2007-12-06 Thread Marius
For the record, is it a habit to reuse the Delphi shortcuts in Lazarus 
as much as possible so people can switch rapidly?


For instance the Delphi Goto Line (Alt-G) is now different then Lazarus 
which is kind off confusing (not a biggy as long i can change the 
shortcut) Personally i would like them the same as i still work in 
delphi a lot.


Greetings,
Marius

Mattias Gaertner wrote:

On Wed, 5 Dec 2007 10:51:49 +0200
Graeme Geldenhuys [EMAIL PROTECTED] wrote:


On 05/12/2007, Vincent Snijders [EMAIL PROTECTED] wrote:

Graeme Geldenhuys schreef:

Ctrl-Shift-G shows the procedure list (whatever that is ;-)

:-)   The content for the wiki page is almost done! (btw: That must be
my most used feature in Lazarus... I'm lost navigating code without
it!)

Maybe we should move Procedure List to Ctrl+G (like GExperts in
Delphi for the same feature), but then Ctrl+G I think is used for
'Goto Line...' in Lazarus (or was that Alt+G)?

My proposal:
   Alt+G:   Goto Line...
   Ctrl+G:  Procedure List
   Ctrl+Shift+G:   Insert GUID


Any thoughts?


  Alt+G:   Procedure List
  Ctrl+G:  Goto Line...
  Ctrl+Shift+G:   Insert GUID


Mattias

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] [patch] Insert a GUID menu fix

2007-12-06 Thread Graeme Geldenhuys
Hi,

Attached is a patch to fix the pretty looking but non-functional
Insert a GUID menu item. :-)
I forgot to hookup the OnClick event. Dope!



Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/
Index: ide/main.pp
===
--- ide/main.pp	(revision 13180)
+++ ide/main.pp	(working copy)
@@ -2042,6 +2042,7 @@
 itmEditInsertUsername.OnClick:[EMAIL PROTECTED];
 itmEditInsertDateTime.OnClick:[EMAIL PROTECTED];
 itmEditInsertChangeLogEntry.OnClick:[EMAIL PROTECTED];
+itmEditInsertGUID.OnClick:[EMAIL PROTECTED];
   end;
 end;
 


Re: [lazarus] Problem compiling last SVN

2007-12-06 Thread Guadagnini David

Andrey Gusev ha scritto:
* Mattias Gaertner [EMAIL PROTECTED] [Thu, 6 Dec 2007 
12:45:04 +0100]:


You need to recompile clean the packages too.



Have the Advanced build options tunable
(maybe Package registration, or Clean all checkbox useful for it ?)
to clean my own installed packages, or they can be cleaned only 
manually ?



The IDE builder should be extended for this common fpc bug.


I use Clean and build without packages and now work

begin:vcard
fn:David Guadagnini
n:Guadagnini;David
org:Biotecnica Instruments S.p.A.;RD
adr:;;Via Licenza 18;Roma;RM;00133;Italy
email;internet:[EMAIL PROTECTED]
title:Software architet
tel;work:+39064112616
x-mozilla-html:FALSE
version:2.1
end:vcard



Re: [lazarus] GUID generator in Lazarus

2007-12-06 Thread Graeme Geldenhuys
On 06/12/2007, Marius [EMAIL PROTECTED] wrote:
 For instance the Delphi Goto Line (Alt-G) is now different then Lazarus
 which is kind off confusing (not a biggy as long i can change the
 shortcut) Personally i would like them the same as i still work in
 delphi a lot.

No idea what is the official stance on this, but I did ask before I
made the change to confirm what people wanted.  But lucky for you (and
me), the keyboard shortcuts can be changed in Lazarus (unlike Delphi 7
without add-ons like GExperts).

So yes, you can still make your Lazarus shortcuts works like Delphi if
you wanted.



Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] Problem compiling last SVN

2007-12-06 Thread Guadagnini David



I use Clean and build without packages and now work


Errata corrige! Lazarus build ok but I can't rebuild any my application.
The message is the same: project1.lpr(23,1) Error: Undefined symbol: 
VMT_LCLCLASSES_TLCLHANDLECOMPONENT



begin:vcard
fn:David Guadagnini
n:Guadagnini;David
org:Biotecnica Instruments S.p.A.;RD
adr:;;Via Licenza 18;Roma;RM;00133;Italy
email;internet:[EMAIL PROTECTED]
title:Software architet
tel;work:+39064112616
x-mozilla-html:FALSE
version:2.1
end:vcard



Re: [lazarus] GUID generator in Lazarus

2007-12-06 Thread Graeme Geldenhuys
On 06/12/2007, huisvuil [EMAIL PROTECTED] wrote:
 In Lazarus SVN#13180 (after short compile problems, thanks for the
 rescue tip Vincent) i noticed the Ctrl-Shift-G shortcut works, but
 nothing happends via the menu (not really important as the shortcut
 works fine)


Umm same here... I'll have a look. Thanks for checking.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] Proposed About dialog patch

2007-12-06 Thread Graeme Geldenhuys
Hi,

I've got the following local changes to my Lazarus.  I think these
will be handy for everybody when part of official Lazarus.


Changes:
  * Format the compile date to the ISO 8601 format:  -mm-dd
 Lazarus is used internationally, so use a international format date.
 Before it used to default to a 2 digit year which looked crap and I'm never
 sure about the format used (mm-dd-yy, dd-mm-yy, yy-mm-dd etc...).
  * On clicking the Close button, some version information in copied to the
 clipboard. This is very handy now that the revision numbers are bigger. If
 I ever need to quote my version of Lazarus and toolkit used (like
in mailing
 list or Mantis) I simply open the dialog and close it again. Now I can copy
 a accurate version + widgetset string somewhere.




Index: ide/aboutfrm.pas
===
--- ide/aboutfrm.pas(revision 13182)
+++ ide/aboutfrm.pas(working copy)
@@ -69,7 +69,10 @@

 implementation

+uses
+  Clipbrd;

+
 function ShowAboutForm: TModalResult;
 var
   AboutForm: TAboutForm;
@@ -93,6 +96,7 @@

 destructor TAboutForm.Destroy;
 begin
+  Clipboard.AsText := LazarusVersionStr + ' r' + LazarusRevisionStr +
' ' + PlatformLabel.Caption;
   FPixmap.Free;
   FPixmap:=nil;

@@ -119,7 +123,8 @@
 Date := EncodeDate(StrToWord(Copy(BuildDate,1,SlashPos1-1)),
   StrToWord(Copy(BuildDate,SlashPos1+1,SlashPos2-SlashPos1-1)),
   StrToWord(Copy(BuildDate,SlashPos2+1,Length(BuildDate)-SlashPos2)));
-Result := DateTimeToStr(Date);
+//Result := DateTimeToStr(Date);
+Result := FormatDateTime('-mm-dd', Date);
   end;

 begin






Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] GUID generator in Lazarus

2007-12-06 Thread Graeme Geldenhuys
On 06/12/2007, Damien Gerard [EMAIL PROTECTED] wrote:
 
  BTW, Insert ToDo Item should have a shortcut to.
  I vote to CTRL+Shit+T as in delphi

 +1 too :)



This has been implemented, including the Escape key canceling the ToDo
Item dialog.  I'm waiting for my latest changes regarding Insert a
GUID to be applied, before I submit this patch, to prevent conflicts.



Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] TODO List?

2007-12-06 Thread Nicolas Rodriguez
Hi everybody,
I'm new to Lazarus and I want to collaborate. I've used it for a couple of
weeks and I got a list of things I'll like to correct. Does a TODO list
exists somewhere? How do you coordinate work so nobody works in vain? I'm
used to work in small groups (2 o 3 people) so I don't know where to begin.
Thanks in advance,
Nico.


Re: [lazarus] Give me way to debug codetools !!!

2007-12-06 Thread Andrey Gusev

* Andrey Gusev [EMAIL PROTECTED] [Thu, 06 Dec 2007 15:22:47 +0300]:
* Mattias Gaertner [EMAIL PROTECTED] [Thu, 6 Dec 2007 

13:02:27

+0100]:
 Can you add more debugln, to see if TCTDirectoryCache.UpdateListing
 finds all the files in the directory?
Just now, exactly attempt to catch list filling moment (with
C:\Works-FContr\Contracts\Apps\Mods directory).
I will to post it...


Epopee with searching of WorkrXtr unit is ended.
That was my lack: one of application paths was mistyped( ..\..\Mods 
was mistyped as ..\Mods).

After correction that path in compiler options all works OK -
it verified on untouched codetools (revision 13140).

I make some modification of directorycacher to check directory existence 
in

UpdateListing(),
especially to such unique persons like me (in stubborn mistyping sense),
moreover,
---
Exception: non-existence directory 
C:\Works-FContr\Contracts\Apps\Mods\, inquire by find unit source 
[LR_E_TXT]

---
looks more clever than too much generalized unit not found...,
if it not contraty to UpdateListing() primary specification (that's not 
known to me).


In the light of the talked above the button like Check directories 
existence

looks appropriate in search paths editor dialog.
It need  to order this wish to bugtracker - please advise to me.


DirectoryExistenceCheck.diff.gz
Description: GNU Zip compressed data


[lazarus] About project saving (project paths options)

2007-12-06 Thread Andrey Gusev

That's notified:
Correction of mistyped path (Other unit files box in project compiler 
options),
affect to IDE behavoiur only after saving project, so will be good have 
button
Save options (with sense that it will affects to units searching) on 
project
compiler options dialog, already presented Load/Save button may be 
used to that ?


_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New bitmap :-)

2007-12-06 Thread Luiz Americo Pereira Camara

Paul Ishenin wrote:

wile64 wrote:


I may be stupid but what is the difference between TPageControl and 
TNoteBook exactly ?
TNoteBook is some obsoleted win 3.1 control. In current lazarus 
implementation TNotebook has about the same implementation as 
TPageControl. All difference is in how pages can be accessed and in 
way of controlling visibility of Tabs. In TNoteBook tabs (top part of 
control) can be totally visible or invisible. In TPageControl you can 
control visibility of separate tabs.




I can make separated tabs invisible by using TPage.TabVisible when using 
TNotebook here. (At least in win32)


Luiz

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New bitmap :-)

2007-12-06 Thread wile64
Paul,

!! ATTENTION !!
 - tfilenamedit.png is not used
 - tfilenameedit.png is used

I do not know how to differentiate between tpagecontrol.png and
tnotebook.png the same visually!

regards,

-- 
Laurent.

My Components: http://wiki.lazarus.freepascal.org/Wile64
French Forum : http://lazforum-fr.tuxfamily.org/index.php
attachment: tarrow.pngattachment: tcalcedit.pngattachment: tcalendar.pngattachment: tdateedit.pngattachment: tdirectoryedit.pngattachment: teditbutton.pngattachment: tfilenameedit.pngattachment: tfloatspinedit.pngattachment: tspinedit.pngattachment: ttabcontrol.png

[lazarus] CopyDir,MoveDir,DeleteDir

2007-12-06 Thread el stamatakos

Hi All,
 Does anyone have handy functions for CopyDir(copying a Direcotry from source 
to destination),MoveDir and DeleteDir(even if it is not empty)
 
Thanks
 
Lefti

[lazarus] ShellApi available in Lazarus?

2007-12-06 Thread el stamatakos


Hi All,
 is the ShellApi available in Lazarus? When I add it into my uses ShellApi it 
comes back with an error cannot find unit ShellApi. 
 
Thanks
 
Lefti

Re: [lazarus] Problem compiling last SVN

2007-12-06 Thread Mattias Gaertner
On Thu, 06 Dec 2007 15:02:51 +0100
Guadagnini David [EMAIL PROTECTED] wrote:

 
  I use Clean and build without packages and now work
 
 Errata corrige! Lazarus build ok but I can't rebuild any my
 application. The message is the same: project1.lpr(23,1) Error:
 Undefined symbol: VMT_LCLCLASSES_TLCLHANDLECOMPONENT

All .ppu files, that contain this symbol must be recompiled. But fpc
does not do it. So the linker fails. It's a bug in fpc, but it is hard
to reproduce in a simple case, so it will probably not be fixed soon.

You must recompile your application and all used packages clean.

Mattias

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] TODO List?

2007-12-06 Thread Mattias Gaertner
On Thu, 6 Dec 2007 11:37:59 -0300
Nicolas Rodriguez [EMAIL PROTECTED] wrote:

 Hi everybody,
 I'm new to Lazarus and I want to collaborate. I've used it for a
 couple of weeks and I got a list of things I'll like to correct. Does
 a TODO list exists somewhere? How do you coordinate work so nobody
 works in vain? I'm used to work in small groups (2 o 3 people) so I
 don't know where to begin. Thanks in advance,

Here are some hints for beginning:

http://wiki.lazarus.freepascal.org/How_To_Help_Developing_Lazarus

Mattias

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


[lazarus] A Thread in DLL

2007-12-06 Thread melchiorre caruso

Hi everybody,
I have a question about to Thread and DLL library.
Is it possible to create a function that has as result
a thread, and insert it into a dll?

example:

library getthread

...

function CreateMyThread: TThread;
begin
 Result := TMyThread.Create;
end;

...

exports  CreateMyThread

...

I have tried but the thread doesen't work.


_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New bitmap :-)

2007-12-06 Thread Paul Ishenin

wile64 пишет:

Paul,

!! ATTENTION !!
- tfilenamedit.png is not used
- tfilenameedit.png is used

I do not know how to differentiate between tpagecontrol.png and 
tnotebook.png the same visually!
you can draw TNotebok without tabs at top and TPageControl with tabs. Or 
draw tabs in different way.


regards,

Thank, applied in r13187.


Best regards,
Paul Ishenin.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New bitmap :-)

2007-12-06 Thread Paul Ishenin

A.J. Venter пишет:

Well,
Here is mine for TPopupNotifier - if somebody can make one that is
actually pretty, I won't mind :p

A.J.



Thanks, commited in r13195

Best regards,
Paul Ishenin.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] ShellApi available in Lazarus?

2007-12-06 Thread John




el stamatakos wrote:

  
Hi John
Would this work undre Linux?
  el stamatakos wrote:

  
  Hi All,
is the ShellApi available in Lazarus? When I add it into my uses
ShellApi it comes back with an error cannot find unit ShellApi. 

  

See if what you want is in the windows unit.

cheers,
John 
  

I wouldn't think so, it is mainly wrappers for the windows functions
and supporting definitions. I thought you were using window$ from some
of your previous mails. (It would help us give better answers if you
provided some more information about what you are trying to do, and
what system you are using :) )

I think that generally, once you start using OS APIs, (which is what I
presume you mean by shell API) you have to code them separately for
each OS. Probably there are equivalent units for other OSs, but I
haven't used any others (yet) so I'll let those who have answer that
question.

cheers,
John
.



_
 To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New splash screen issues

2007-12-06 Thread Graeme Geldenhuys
On 07/12/2007, Giuliano Colla [EMAIL PROTECTED] wrote:
 
  Rebuild startlazarus: make starter
 
 
 I got the same problem, and I discovered that for some obscure reasons
 it appears that checking everything (Clean+Build) in the buildlazarus
 dialog didn't rebuild startlazarus, while checking just starter it
 rebuilt properly. I'll try it again to see if it's persistent, or just
 happens sometimes.


Rebuilding startlazarus fixed the issue.  As a side note: I never
build startlazarus, I don't actually know what that application is
supposed to do.  Maybe fixed the linking under Windows where windows
has the lazarus.exe  locked?  Either way, that still doesn't work for
me under Windows. I always have to rename the current lazaurus.exe
before I rebuild Lazarus under Windows.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] A Thread in DLL

2007-12-06 Thread Graeme Geldenhuys
On 06/12/2007, melchiorre caruso [EMAIL PROTECTED] wrote:
 Hi everybody,
 I have a question about to Thread and DLL library.
 Is it possible to create a function that has as result
 a thread, and insert it into a dll?

The issue is probably cause by the same problem I had with threads in
console or fpGUI based apps.  CheckSynchronize() must be called
somewhere in the application loop, but then again I don't use
application DLL's so I wouldn't really know.


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New bitmap :-)

2007-12-06 Thread Bee

Hi Laurent,


TLabel should be modernized as well. I think it can be looks like 
TStaticText but without the rectangle.


TPageControl's border color (currently black, IMO) would be better if 
it's using the same color that TTabControl's border color. Also the 
color of TMemo's line. I think it's too dark. ;)


TImageList is less obvious, IMO. It almost can't be distinguished from 
TImage. It'd be better if it looks as stack of 3 TImage images instead 
of just 2.



What do you think?


-Bee-

has Bee.ography at:
http://beeography.wordpress.com

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New bitmap :-)

2007-12-06 Thread Bee

Hi Laurent,

I ain't no good at drawing icons, but I have an idea for TShape icon. I 
think TShape should looks like the bottom part of TDrawStringGrid (below 
the grid). It's the collection of circle, rectangle, and triangle shape. 
But the triangle should be replaced by a diamond since TShape doesn't 
support triangle (yet).


What do you think?

-Bee-

has Bee.ography at:
http://beeography.wordpress.com

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New bitmap :-)

2007-12-06 Thread Bee

Hi Laurent,


About TFileNameEdit, I think an opened folder is not too appropriate. 
It almost can't be distinguished from TDirectoryEdit. A file icon like 
the one being used on Edit|Copy menu item is more appropriate.


-Bee-

has Bee.ography at:
http://beeography.wordpress.com

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New bitmap :-)

2007-12-06 Thread Bee

Hi Laurent,


For Db-related icon, I think grid is no longer appropriate. A drum 
like on TStrHolder is more acceptable to represent database on modern 
term. So, any grid on TDBxxx icons should be replaced by drum. ;)


Shame on me, just give this ideas without concrete contributions. It 
because I can't draw icons as good as Laurent. I had tried, but it looks 
very ugly. :(


-Bee-

has Bee.ography at:
http://beeography.wordpress.com

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] ShellApi available in Lazarus?

2007-12-06 Thread Jeff Steinkamp


- Original Message - 
From: el stamatakos

To: lazarus@miraclec.com ; [EMAIL PROTECTED]
Sent: Thursday, December 06, 2007 17:02
Subject: RE: [lazarus] ShellApi available in Lazarus?



Hi John
Would this work undre Linux?

Thanks

Lefti




Date: Fri, 7 Dec 2007 10:32:47 +1100
From: [EMAIL PROTECTED]
To: lazarus@miraclec.com
Subject: Re: [lazarus] ShellApi available in Lazarus?

el stamatakos wrote:
Hi All,
is the ShellApi available in Lazarus? When I add it into my uses 
ShellApi it comes back with an error cannot find unit ShellApi.


Thanks

Lefti

See if what you want is in the windows unit.

cheers,
John
-

The shell commands are windows only and will be found in the windows 
unit.  I would recommend using the TProcess which should work for both 
Linux and Windows.


Jeff


_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New bitmap :-)

2007-12-06 Thread Bee

Hi Laurent,


For TODBC icon, this might be the good candidate:
http://www.smg-hosting.co.uk/images/odbc_logo.gif

-Bee-

has Bee.ography at:
http://beeography.wordpress.com

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New bitmap :-)

2007-12-06 Thread Graeme Geldenhuys
On 07/12/2007, Bee [EMAIL PROTECTED] wrote:

 Shame on me, just give this ideas without concrete contributions. It
 because I can't draw icons as good as Laurent. I had tried, but it looks
 very ugly. :(

When I tried my hand at icons I quickly realised it is a art being
able to draw something that looks good and is recognisable with such a
small amount of pixels (canvas).  10/10 to Laurent!


Regards,
  - Graeme -


___
fpGUI - a cross-platform Free Pascal GUI toolkit
http://opensoft.homeip.net/fpgui/

_
 To unsubscribe: mail [EMAIL PROTECTED] with
unsubscribe as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New bitmap :-)

2007-12-06 Thread Bee

Hi Laurent,


Again... for XML logo, these images are good candidates:

http://www.scripting.com/images/xmlIcon2.gif
http://www.xmlbystealth.net/images/xml.gif

Any logo chosen then it should be used consistently on any xml-related 
component icons, TXMLConfig for example.


-Bee-

has Bee.ography at:
http://beeography.wordpress.com

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New bitmap :-)

2007-12-06 Thread Bee

Hi Laurent,


About TFileNameEdit, I think an opened folder is not too appropriate. 
It almost can't be distinguished from TDirectoryEdit. A file icon like 
the one being used on Edit|Copy menu item is more appropriate.


This is also can be applied on next TOpenDialog. It'd better if using 
file icon instead of opened folder like currently being used. And for 
TSaveDialog, it'd be better if using diskette icon (like on File|Save 
menu item) instead of cd since diskette is very commonly recognized as 
saving process though the diskette is no longer used. :-D


-Bee-

has Bee.ography at:
http://beeography.wordpress.com

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New bitmap :-)

2007-12-06 Thread Bee
Under what license that image is distributed? Why do you think we can 
use it?


I don't know. I just google around for odbc logo. :-D

If license would be an issue, then our odbc icon doesn't need to be 
exactly like that pixel-by-pixel. But we could use the idea of the logo. 
Maybe we can change the circle direction, or we don't need to make the 
'o' as a ball and use simple 'o' character instead.


-Bee-

has Bee.ography at:
http://beeography.wordpress.com

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives


Re: [lazarus] New bitmap :-)

2007-12-06 Thread Paul Ishenin

Bee wrote:

Hi Laurent,


For TODBC icon, this might be the good candidate:
http://www.smg-hosting.co.uk/images/odbc_logo.gif

Under what license that image is distributed? Why do you think we can 
use it?


Best regards,
Paul Ishenin.

_
To unsubscribe: mail [EMAIL PROTECTED] with
   unsubscribe as the Subject
  archives at http://www.lazarus.freepascal.org/mailarchives