Re: [Lazarus] Size adjustments in TControl.DoDock

2011-10-08 Thread Hans-Peter Diettrich
Hans-Peter Diettrich schrieb: I don't understand why DoDock ignores the given rectangle, that was shown while the control has been dragged. Clarification: TControl.DoDock should *never* change ARect itself (Delphi compatible). Eventual adjustments can be made in an *overridden*

[Lazarus] Can't find package

2011-10-08 Thread Santiago A.
Hello: I had installed in my ubuntu 9.10 Lazarus 0.9.28. I finally decided to upgrade it to 0.9.30. I removed 0.9.28 to start from scratch, downloaded the deb packages fpc-2.42 and lazarus-0.9.30 (in big tarballS). After several issues with dependences, I managed to install it. Besides, I have

Re: [Lazarus] Can't find package

2011-10-08 Thread Mattias Gaertner
On Sat, 08 Oct 2011 10:08:54 +0200 Santiago A. s...@ciberpiula.net wrote: Hello: I had installed in my ubuntu 9.10 Lazarus 0.9.28. I finally decided to upgrade it to 0.9.30. I removed 0.9.28 to start from scratch, downloaded the deb packages fpc-2.42 and lazarus-0.9.30 (in big tarballS).

Re: [Lazarus] Short cut key for Code templates names

2011-10-08 Thread Frank Church
On 8 October 2011 11:59, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Sat, 8 Oct 2011 11:28:11 +0100 Frank Church vfcli...@gmail.com wrote: Is there a short cut for bringing up the abbreviations used for your code templates, in case you can't remember all of them?[?] Ctrl+j

Re: [Lazarus] Platform dependent modifier for common shortcut-keys?

2011-10-08 Thread Flávio Etrusco
Another approach might be to have a widgetset function like: function KeyCombo_IsCut(const Key: Word; const Shift: TShiftState): Boolean or something like: type  TCommonShortCut = (tcsUnknown,tcsCut, tcsPaste, tcsCopy, tcsBof, tcsEof); function KeyComboToCommonShortcut(const Key: Word;

Re: [Lazarus] Synchronize in Threads not working correctly on Gtk2 on Windows 32?

2011-10-08 Thread Bernd
2011/9/19 Michael Schnell mschn...@lumino.de: I recently verified that TThread.Synchronize does work (in my testing program) in the current svn version of Lazarus. It did not work in some older versions. IIRC there was a problem with older GTK2 versions (only really old versions, Ubuntu Hardy

Re: [Lazarus] Platform dependent modifier for common shortcut-keys?

2011-10-08 Thread Hans-Peter Diettrich
Bart schrieb: This is a chunk form a proposed patch for TMaskEdit: procedure TCustomMaskEdit.KeyDown(var Key: Word; Shift: TShiftState); +const + ssModifier = {$if defined(darwin) or defined(macos)} ssMeta {$else} ssCtrl {$endif}; begin Inherited KeyDown(Key, Shift); // Not masked -

[Lazarus] Are multiple critical sections allowed in form or data module?

2011-10-08 Thread Frank Church
Are multiple critical sections allowed in form or data module? e.g. I have different datasets each with its own connection and queries that threads need to lookup data from. Is it acceptable to have additional TCriticalSections on the form? -- Frank Church ===