Re: [Lazarus] Is there tool for testing class methods speed?

2016-01-20 Thread K. P.
I stand corrected - they do make versions for Lazarus...

From: platyster...@hotmail.com
To: lazarus@lists.lazarus.freepascal.org
Date: Wed, 20 Jan 2016 19:33:16 +
Subject: Re: [Lazarus] Is there tool for testing class methods speed?




Hi Krzysztof,
was it http://www.prodelphi.de/ ?
Am not aware of anything as easy and powerful for Lazarus :(
Cheers,Kai

Date: Wed, 20 Jan 2016 20:17:59 +0100
From: dib...@wp.pl
To: lazarus@lists.lazarus.freepascal.org
Subject: [Lazarus] Is there tool for testing class methods speed?

Hi,
Almost 10 years ago I worked in company where they used tool (Delphi 5) which 
automatically added "checkpoints" after BEGIN and before END of each method of 
pointed class / pascal unit. Then after run, it reported (as extension for IDE) 
what was execution time of each method and how many times it was called. With 
the same easy way we could clean up unit from checkpoints. Totally forgot name 
of this tool but do we have something similar for Lazarus / FPC?
Regards

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

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


Re: [Lazarus] Is there tool for testing class methods speed?

2016-01-20 Thread K. P.
Hi Krzysztof,
was it http://www.prodelphi.de/ ?
Am not aware of anything as easy and powerful for Lazarus :(
Cheers,Kai

Date: Wed, 20 Jan 2016 20:17:59 +0100
From: dib...@wp.pl
To: lazarus@lists.lazarus.freepascal.org
Subject: [Lazarus] Is there tool for testing class methods speed?

Hi,
Almost 10 years ago I worked in company where they used tool (Delphi 5) which 
automatically added "checkpoints" after BEGIN and before END of each method of 
pointed class / pascal unit. Then after run, it reported (as extension for IDE) 
what was execution time of each method and how many times it was called. With 
the same easy way we could clean up unit from checkpoints. Totally forgot name 
of this tool but do we have something similar for Lazarus / FPC?
Regards

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


Re: [Lazarus] Cross Platform SQL Client/Editor

2016-01-01 Thread K. P.
I use HeidiSQL for such purposes - but it is not natively cross-platform :(
Other than that, it is very usable and very stable


> Date: Fri, 1 Jan 2016 21:04:00 -0200
> From: m...@delfire.net
> To: lazarus@lists.lazarus.freepascal.org
> Subject: Re: [Lazarus] Cross Platform SQL Client/Editor
> 
> On Fri, Jan 1, 2016 at 8:39 PM, Anthony Walter  wrote:
> > If the pickings are slim in answer to Question 1, are they many people here
> > who want a simple cross platform SQL client/editor, possibly with both MySQL
> > and MSSQL support?
> 
> I don't use Linux for development (yet) but I work with MSSQL every day.
> Would be great if we had such tool. Thanks.
> 
> Marcos Douglas
> 
> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
  --
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Can't load client library libmysql.dll

2015-07-13 Thread K. P.
Possibly confusion re. 32 and 64 bit versions of said DLL...?

> Date: Mon, 13 Jul 2015 23:26:21 +0200
> From: eric...@metropolitancollege.ac.sz
> To: lazarus@lists.lazarus.freepascal.org
> Subject: [Lazarus] Can't load client library libmysql.dll
> 
> Hi All,
> I have noticed that my application can't load the MySQL library if I 
> used the libmysql.dll version 5.5.44.0 when I used TSQLConnection  and 
> TMySQL55Connection with MariaDB/MySQL 5.5.44.
> The client library that works is libmysql.dll version 5.5.28.0, an old 
> version that I got for more than an year now.
> I used Lazarus 1.4.0 with FPC 2.6.4
> Please what can be the problem?
> Thanks
> 
> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
  --
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Help for your applications

2015-07-03 Thread K. P.
I used to be a fan of CHM because of the single file concept, but now use HTML 
help (http://wiki.freepascal.org/Add_Help_to_Your_Application) because it very 
easy to pimp up plus every machine (no need to worry about the OS platform) has 
a web browser installed - no need to install viewers. Plus, if I ever wanted my 
applications to point at help hosted on my server(s), it would not take much 
since it's already in the required format!
I use "Help & Manual" and generate both help and PDF docs in one go from the 
same source - am extremely happy with it. I haven't tried any other competing 
products, though...
Kai

Date: Fri, 3 Jul 2015 21:34:36 +0100
From: richard.m...@gmail.com
To: lazarus@lists.lazarus.freepascal.org
Subject: [Lazarus] Help for your applications

Hi,

When writing help files and documentation for your apps, what are peoples 
preferences?
Richard

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


Re: [Lazarus] Flashing task bat icon orange on Windows 7

2015-06-12 Thread K. P.
I have no clue how they do this - but would suspect that they might cycle 
through a number of images based on a timer
 
Date: Fri, 12 Jun 2015 21:25:02 +0100
From: richard.m...@gmail.com
To: lazarus@lists.lazarus.freepascal.org
Subject: [Lazarus] Flashing task bat icon orange on Windows 7

​Hi,I am trying to work out how to flash the taskbar icon in Windows 7, like 
Skype does, pragmatically. I have googled, and the closest I found was 
FlashWindowEx, but that doesn't actually flash the icon, just the form window.
Any ideas?
Thanks
Richard​

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


Re: [Lazarus] change the icon image of my running application

2015-06-10 Thread K. P.
this is one of many google results on the topic
http://stackoverflow.com/questions/17068684/change-application-taskbar-icon-at-run-timeignore-shortcut-icon
when in doubt, always check in the delphi context as well

Date: Wed, 10 Jun 2015 17:58:38 +0100
From: richard.m...@gmail.com
To: lazarus@lists.lazarus.freepascal.org
Subject: [Lazarus] change the icon image of my running application

Hi,

Does anybody know how I can change the image of my running application, like 
Skype does when a new notification has happened?

Effectively, I am wanting to update the running taskbar image by overlaying a 
numerical number to show the number of notifications in my app
Hope that makes sense
Richard

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


Re: [Lazarus] AlignTop/AlignBottom issue

2015-05-25 Thread K. P.
I assume you are speaking of controls being created at run time?
If so, then I have seen this behaviour (and I believe I had encountered it in 
Delphi as well).I deal with it by simply setting the Top property to some value 
higher than "used", i.e.
NewPanel.Top := 1;
for top aligning controls - there is no need for painful calculations or 
switching alignments.
Just setting top (while control is top aligned) puts it in the proper sequence, 
i.e. at the bottom of the "stack"
Cheers,Kai



> Date: Mon, 25 May 2015 19:13:27 +0200
> From: giuliano.co...@fastwebnet.it
> To: lazarus@lists.lazarus.freepascal.org
> Subject: [Lazarus] AlignTop/AlignBottom issue
> 
> AlignTop and AlignBottom do not appear to behave as they should.
> 
> When you have several controls contained in another control, you would 
> expect that each AlignTop or AlignBottom would stack the control in the 
> first free position: with AlignBottom on top of the stack of the other 
> bottom aligned components, with AlignTop at the bottom of the stack of 
> the other top aligned components.
> 
> On the contrary, it happens that "sometimes", in an unpredictable but 
> reproducible way, the control which should go in one place goes to a 
> different one, either becoming topmost or bottommost, or being inserted 
> between other components.
> 
> This occurs both at design time, making it sometimes very difficult to 
> lay out the components as desired, and at runtime, disrupting the 
> desired order of the components.
> The only workaround I've found is to set Align to alNone, and to 
> painfully calculate the Top property of each component from the Top and 
> Height properties of the others.
> 
> This, besides not being Delphi compatible, is quite annoying.
> 
> Should I open an issue in the bugtracker, with the usual small example 
> to demonstrate the issue?
> 
> Giuliano
> 
> 
> 
> 
> 
> 
> 
> 
> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
  --
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] TBitBtn's OnClick not fired

2015-05-21 Thread K. P.
Hi Graeme,
debugging on (I have fallen for this many times - hate that I can set BPs w/o 
any visual indication that debugging itself is off)? It sure does work for me.
I call 2nd form like this:
procedure TForm1.BitBtn1Click(Sender: TObject);var  f:  Tform2;begin  f := 
Tform2.Create(nil);  tryf.Showmodal;  finallyif Assigned(f) then  
f.Free;  end;end;  
form2 has a panel with a bitbtn on it. The button's ModalResult = mrNone and 
Kind = bkClose. The Actionproperty is also empty.
BP set on 'Self.Close' line in OnClick event and debugger stops there as 
expected (Laz 1.4, Windows 7)
Cheers,Kai




> Date: Thu, 21 May 2015 15:52:43 +0100
> From: mailingli...@geldenhuys.co.uk
> To: lazarus@lists.lazarus.freepascal.org
> Subject: [Lazarus] TBitBtn's OnClick not fired
> 
> Hi,
> 
> I've got a form with a panel and a TBitBtn in the panel. The button is
> used to close the form, which is shown via ShowModal.
> 
> I've got an OnClick event handler for the BitBtn, but when I put a
> breakpoint in that event handler it is never reached???
> 
> The button's ModalResult = mrNone and Kind = bkClose. The Action
> property is also empty.
> 
> Unfortunately there is no LCL help on the TBitBtn.Kind property, but
> would that affect the OnClick event not being used?
> 
> http://lazarus-ccr.sourceforge.net/docs/lcl/buttons/tcustombitbtn.kind.html
> 
> Clicking the button does close the modal form though.
> 
> 
> Regards,
>   - Graeme -
> 
> -- 
> fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
> http://fpgui.sourceforge.net/
> 
> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
  --
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Getting and setting the x numbered word in a sentence

2014-01-07 Thread K. P.
Not exactly - but it is trivially simple to write your own using

http://lazarus-ccr.sourceforge.net/docs/rtl/strutils/extractwordpos.html

Cheers,
Kai

Date: Tue, 7 Jan 2014 18:04:53 +
From: richard.m...@gmail.com
To: lazarus@lists.lazarus.freepascal.org
Subject: [Lazarus] Getting and setting the x numbered word in a sentence

Hi,

Is there an existing routine in Lazarus that will get and set effectively the x 
numbered word in a sentence without actually knowing what the actual word is?

E.g with the string "the cat sat on the mat"

You could say replace word 3 with string "stood" so the result would be a 
string which was " the cat stood on the mat" even though you didn't know that 
the 3rd word was originally "sat"? 


Hope that makes sense :)

Thanks

Richard



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


Re: [Lazarus] SQLite Vacuum & Error Cannot rollback - no transaction is active

2013-11-25 Thread K. P.
As the error message indicates, do:

SQLite3Connection.ExecuteDirect('Begin Transaction');
 
after the vacuum and you should be fine. Works for me. 
 
From: mulc...@hotmail.com
To: lazarus@lists.lazarus.freepascal.org
Date: Mon, 25 Nov 2013 09:31:24 +0100
Subject: [Lazarus] SQLite Vacuum & Error Cannot rollback - no transaction is
active

At the end of some database maintenance where I drop several tables I want to 
Vacuum the SQLite database. I use the code below and this works fine, however 
when I close the program I get the error:“Project project1 raised exception 
class ‘EDatabaseError’ with message:Cannot rollback – no transaction is active. 
Question: how can I Vacuum the database and close the program without errors? 
The code (which gives no error when run):procedure 
TForm1.VacuumButtonClick(Sender: TObject);begin
SQLite3Connection.DatabaseName:='A.db';
SQLTransaction1.Database:=SQLite3Connection;
SQLite3Connection.Open; // Statement below must be issued, 
otherwise I get error “cannot VACUUM from within a transaction”
SQLite3Connection.ExecuteDirect('End Transaction');  // End the transaction 
started by SQLdbSQLite3Connection.ExecuteDirect('Vacuum');end; 
Exit procedure which give the error message.procedure 
TForm1.ExitMenuItemClick(Sender: TObject);begin Application.terminate;end; 
BTW, when hitting the “break” button the cursor jumps to line 4828 “  inherited 
Destroy;” within the  “destructor TControl.Destroy;” in “control.inc”.I run on 
Windows 7 32 bits and use Lazarus 1.0.12 and FPC 2.6.2
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
  --
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Find Form instance with Title

2013-11-15 Thread K. P.
Look at your Screen object:

http://lazarus-ccr.sourceforge.net/docs/lcl/forms/tscreen.html

Check out FindForm and Forms



> Date: Fri, 15 Nov 2013 22:32:37 -0500
> From: the.tail.kin...@gmail.com
> To: lazarus@lists.lazarus.freepascal.org
> Subject: [Lazarus] Find Form instance with Title
> 
> Google has failed me on this one.  :(  I need to check to see if a 
> dynamically created form (object) with a given title already exists 
> within the application, and if so, to raise it to the front.
> 
> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
  --
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] TMemo flicker

2013-04-29 Thread K. P.
That should have been Endupdate...
 From: platyster...@hotmail.com
To: lazarus@lists.lazarus.freepascal.org
Subject: RE: [Lazarus] TMemo flicker
Date: Mon, 29 Apr 2013 16:38:17 +




Have you tried wrapping your writes in
 
memo1.Lines.BeginUpdate and memo1.Lines.BeginUpdate?
 
> Date: Mon, 29 Apr 2013 18:34:07 +0200
> From: juergen.hesterm...@gmx.de
> To: lazarus@lists.lazarus.freepascal.org
> Subject: [Lazarus] TMemo flicker
> 
> After having moved from TStringList over TStringGrid (which both cannot be 
> shifted right to make long text visible) I now use TMemo. But again I have 
> another issue with this component: If there are more rows than can be 
> displayed in the window and I change the text in the last row (Lines.Count-1) 
> rapidly then the whole display flickers. This OnClick event demonstrates it:
> 
> ---
> with Memo1 do
> begin
> for i := 1 to 40 do
>begin
>if odd(i) then
> Append('\')
>else
> Append('+');
>end;
> for i := 1 to 1000 do
>begin
>Lines[Lines.Count-1] := ' LAST LINE 
> ---'+IntToStr(i)+'---';
>Application.Processmessages;
>end;
> Memo1.Lines[Lines.Count-1] := ' READY  ';
> end;
> ---
> 
> When you click on the memo (so that the routine runs) and the window is small 
> enough then all lines are shifted down for a short time and then are shifted 
> up again when writing to Memo1.Lines[Lines.Count-1]. This flicker is quite 
> disturbing and it does not happen when there are only a few lines (which fit 
> in the window). Is this a known bug?
> 
> 
> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

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


Re: [Lazarus] TMemo flicker

2013-04-29 Thread K. P.
Have you tried wrapping your writes in memo1.Lines.BeginUpdate and 
memo1.Lines.BeginUpdate?
 > Date: Mon, 29 Apr 2013 18:34:07 +0200
> From: juergen.hesterm...@gmx.de
> To: lazarus@lists.lazarus.freepascal.org
> Subject: [Lazarus] TMemo flicker
> 
> After having moved from TStringList over TStringGrid (which both cannot be 
> shifted right to make long text visible) I now use TMemo. But again I have 
> another issue with this component: If there are more rows than can be 
> displayed in the window and I change the text in the last row (Lines.Count-1) 
> rapidly then the whole display flickers. This OnClick event demonstrates it:
> 
> ---
> with Memo1 do
> begin
> for i := 1 to 40 do
>begin
>if odd(i) then
> Append('\')
>else
> Append('+');
>end;
> for i := 1 to 1000 do
>begin
>Lines[Lines.Count-1] := ' LAST LINE 
> ---'+IntToStr(i)+'---';
>Application.Processmessages;
>end;
> Memo1.Lines[Lines.Count-1] := ' READY  ';
> end;
> ---
> 
> When you click on the memo (so that the routine runs) and the window is small 
> enough then all lines are shifted down for a short time and then are shifted 
> up again when writing to Memo1.Lines[Lines.Count-1]. This flicker is quite 
> disturbing and it does not happen when there are only a few lines (which fit 
> in the window). Is this a known bug?
> 
> 
> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
  --
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] Limit to the number of forms in a project?

2013-03-27 Thread K. P.
Maybe something to do with form auto-creation (Project Oprions -> Forms -> 
AutoCreate)?Are your forms created at run- or design-time? Cheers,Kai
 > Date: Wed, 27 Mar 2013 08:12:55 +0200
> From: dgcoven...@gmail.com
> To: laza...@lazarus.freepascal.org
> Subject: [Lazarus] Limit to the number of forms in a project?
> 
> I needed a dialog box to allow users to select which database to
> access in my project.
> 
> The project already has 6 forms.
> 
> But when I added a form and click 'Run', the Project appears to
> compile but doesn't run in the debugger. If I run the compiled project
> from the command line, it runs but the 7th Form does not appear.
> 
> Odd.
> 
> Lazarus 1.1 r40644 FPC 2.6.0 x86_64-linux-gtk 2,
> 
> The same behaviour is observed in Lazarus running on an XP guest
> running on a Virtualbox VM Lazarus 1.0.7 r40363 FPC 2.6.0
> i386-win32-win32/win64.
> 
> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
  --
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] SQLitePass package install problems

2010-07-12 Thread K. P.

Thanks Jaroslaw,
it does indeed work - quite different from Delphi. This will teach me not to 
assume too much but rather search for documentation!
CheersKai

> Date: Sat, 10 Jul 2010 11:20:23 +0200
> From: j@poczta.fm
> To: lazarus@lists.lazarus.freepascal.org
> Subject: Re: [Lazarus] SQLitePass package install problems
> 
> from SqlitePass docs:
> 
> Packages Installation for Lazarus users (>=0.9.20)
> 
> 1. Uninstall any previous version of SqlitePassDbo components : 
> Choose [Components] [Configure Installed Packages] from IDE menu
> 2. Select the Laz_SqlitePassDbo_Runtime and 
> Laz_SqlitePassDbo_Designtime packages and click [Uninstall the 
> selection] then [Save and quit the dialog].
> 3. Compile the Laz_SqlitePassDbo_Runtime package. Compile and 
> install the Designtime package : Choose [File] [Open] from the IDE menu 
> and select 
> ..\SQLitePass\Packages\Lazarus\Laz_SqlitePassDbo_Designtime.lpk. In 
> package dialog, Choose compile - this way, the Laz_SqlitePassDbo_Runtime 
> will automatically be compiled. Then select install to rebuild the IDE.
> 4. Check installation : Select SqlitePassDbo on Component palette 
> pages and drop a SqlitePassDatabase and a SqlitePassDataset on a new 
> form. Check the components versions are correct in object inspector.
> 
> it works :)
> 
> --
> Doladuj telefon przez Internet.
> Sprawdz >>> http://linkint.pl/f2778
> 
> 
> --
> ___
> Lazarus mailing list
> Lazarus@lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
  
_
Hotmail: Free, trusted and rich email service.
https://signup.live.com/signup.aspx?id=60969--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] SQLitePass package install problems

2010-07-09 Thread K. P.


Hi all,
just tried to install the design time package for sqlitepass v0.51 under 
Lazarus 0.9.28.2/svn 22279/Win7 and it complains about not finding 
Laz_SqlitePassDbo_Runtime.pas.
When I look at the paths via Show Options (Relative Paths checkbox unchecked) 
it does have the directory containing said file listed.
I am confused
Any pointers? Coming from Delphi, this is only the second package I tried 
installing so far.
Cheers & TIAKai   
_
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Menu dividers?

2010-06-10 Thread K. P.


Hi all ~
in Delphi I can create horizontal menu dividers by setting the caption of a 
menu item to '-' - this does not seem to be supported by Lazarus - any other 
way this can be done?
ThanksKP  
_
Hotmail: Free, trusted and rich email service.
https://signup.live.com/signup.aspx?id=60969--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Cross-platform default browser?

2010-06-10 Thread K. P.


Hi all ~
am in the process of converting one of our win32 delphi apps to lazarus/cross 
platform.
Converting something trivial like
 ShellExecute( 0, nil, PChar( url ), nil, nil, SW_SHOWDEFAULT ); 
How can I find the default browser (if any) on supported platforms?
Thanks for any pointers,KP
  
_
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] Cross-platform version info?

2010-06-10 Thread K. P.


Hi all ~
is there an API of sorts for reading version info across all supported 
platforms?
ThanksKP  
_
Hotmail: Trusted email with powerful SPAM protection.
https://signup.live.com/signup.aspx?id=60969--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] SQLite3Connection / db framework problem

2010-06-07 Thread K. P.


Hi all ~
I connect to the World.db3 database that comes with SQLiteSpy
http://www.yunqa.de/delphi/doku.php/products/sqlitespy/index
via SQLite3Connect & SQLQuery components. In the dbgrid that I have attached, 
all text fields display as '(MEMO)' instead of the content strings.Just for the 
record, the strings are definitely short enough to fit in the grid columns...
How do I resolve this?
Thanks for any pointersKP
  
_
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free.
https://signup.live.com/signup.aspx?id=60969--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus