Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-08

Patch for LM_SHOWMODAL (Win32) and fix for TApplication.GetTitle

4 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Karl Brandt

I'm sending a patch that implements/fixes LM_SHOWMODAL in win32.

I also noticed a bug in TApplication.GetTitle:
It was returning wrong values.
To fix, just replace

   Delete(Result, Length(Result) - Length(Ext) - 1, Length(Ext) + 1);

with

   Delete(Result, Length(Result) - (Length(Ext) - 1), Length(Ext));

BTW, how can i inspect string variable with fp/gdb?

karl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: zip00027.zip
Type: application/octet-stream
Size: 1032 bytes
Desc: "modal.zip"
Url : http://localhost/pipermail/lazarus/attachments/20030809/51180daa/zip00027.obj

Reply by email

Marco van de Voort
to Karl Brandt: I'm sending a patch that implements/fixes LM_SHOWMODAL in win32. I also noticed a bug in…
Show quoted text 11 lines
I'm sending a patch that implements/fixes LM_SHOWMODAL in win32. I also noticed a bug in TApplication.GetTitle: It was returning wrong values. To fix, just replace Delete(Result, Length(Result) - Length(Ext) - 1, Length(Ext) + 1); with Delete(Result, Length(Result) - (Length(Ext) - 1), Length(Ext)); BTW, how can i inspect string variable with fp/gdb?

x/s <variable>

Reply by email

Mattias Gaertner
to Karl Brandt: I'm sending a patch that implements/fixes LM_SHOWMODAL in win32. I also noticed a bug in…
Show quoted text 8 lines
I'm sending a patch that implements/fixes LM_SHOWMODAL in win32. I also noticed a bug in TApplication.GetTitle: It was returning wrong values. To fix, just replace Delete(Result, Length(Result) - Length(Ext) - 1, Length(Ext) + 1); with Delete(Result, Length(Result) - (Length(Ext) - 1), Length(Ext));

Thanks. Applied.

Mattias

Reply by email