Re: [Lazarus] Why doesn't this work?

2012-11-29 Thread Howard Page-Clark
On 28/11/12 10:15, Erwin van den Bosch wrote: procedure TForm1.Button1Click(Sender: TObject); var iLastError: integer; begin iLastError:=10053; if iLastError in [10053, 10054] then Label1.Caption:='Yes, it works!' else Label1.Caption:='No, it doesn''t

Re: [Lazarus] Why doesn't this work?

2012-11-29 Thread Erwin van den Bosch
Op 29-11-2012 1:13, Maxim Ganetsky schreef: 29.11.2012 2:15, Erwin van den Bosch пишет: procedure TForm1.Button1Click(Sender: TObject); var iLastError: integer; begin iLastError:=10053; if iLastError in [10053, 10054] then Label1.Caption:='Yes, it works!'

Re: [Lazarus] WebLaz bug

2012-11-29 Thread Leonardo M . Ramé
On 2012-11-28 23:33:40 -0800, leledumbo wrote: I don't know if this bug is related to Lazarus, WebLaz or FPC. Please tell me and I'll post it on Mantis: To reproduce it, please follow this steps: 1) Create a CGI application. You'll need WebLaz package. 2) Add an FPWebModule. 3) Add

Re: [Lazarus] WebLaz bug

2012-11-29 Thread leledumbo
for example ...Invalid value for property A A in Error reading TFPWebAction.OnRequest: Invalid is TFPWebAction.OnRequest -- View this message in context: http://free-pascal-lazarus.989080.n3.nabble.com/Lazarus-WebLaz-bug-tp4027787p4027794.html Sent from the Free Pascal - Lazarus

Re: [Lazarus] WebLaz bug

2012-11-29 Thread Leonardo M . Ramé
On 2012-11-29 05:03:52 -0800, leledumbo wrote: for example ...Invalid value for property A A in Error reading TFPWebAction.OnRequest: Invalid is TFPWebAction.OnRequest Ok, OnRequest is the property. Then, it could help if the message is changed to: Invalid value

[Lazarus] Source Tab duplication on Linux...

2012-11-29 Thread William Oliveira Ferreira
Hi, when I'm debugging a application and the debugger reach a break point, it doesn't use the already open source tab, Lazarus opens a new tab of the same file focusing the break point line. How can I change this behavior? Screen Shots: http://imagebin.org/237601 http://imagebin.org/237602

Re: [Lazarus] Source Tab duplication on Linux...

2012-11-29 Thread Martin
On 30/11/2012 00:27, William Oliveira Ferreira wrote: Hi, when I'm debugging a application and the debugger reach a break point, it doesn't use the already open source tab, Lazarus opens a new tab of the same file focusing the break point line. How can I change this behavior? Screen

[Lazarus] Beta testers needed / Lazarus with Editor-Macro-Script

2012-11-29 Thread Martin
Hi, I need some testers for all the different available platforms. Because, unfortunately, I do not have every available hardware/OS myself :( I added a package called macroscript (in the components folder), there also is a modified (bug fixes) version of pascalscript (the original will not

Re: [Lazarus] Source Tab duplication on Linux...

2012-11-29 Thread William Oliveira Ferreira
Thanks for the hint! 2012/11/29 William Oliveira Ferreira bdexterholl...@gmail.com 2012/11/29 Martin laza...@mfriebe.de Look at the filename (with path) in the statusbar. The location differ. Maybe it is a link (lazarus does not detect links), maybe you used the other copy of the file.

Re: [Lazarus] Source Tab duplication on Linux...

2012-11-29 Thread Martin
You also wont to check the lps (session) file (may be in your main config folder). Now that it knows both pathes, there may be references. Simpl gcep for the path, you do not ant to open On 30/11/2012 01:36, William Oliveira Ferreira wrote: Thanks for the hint! 2012/11/29 William Oliveira