Re: [Lazarus] Cocoa: restoring windows order after reactivating the application

2019-06-15 Thread Dmitry Boyarintsev via lazarus
managed types are not allowed in objc objects. as FPC doesn't manage them there (yet). On Saturday, June 15, 2019, AlexeyT via lazarus < lazarus@lists.lazarus-ide.org> wrote: > https://github.com/graemeg/lazarus/commit/4a95f3638a6ec38e6c > 975164b52c9f6d54c7ad10 > > orderArray. Better make its ty

[Lazarus] Cocoa: restoring windows order after reactivating the application

2019-06-15 Thread AlexeyT via lazarus
https://github.com/graemeg/lazarus/commit/4a95f3638a6ec38e6c975164b52c9f6d54c7ad10 orderArray. Better make its type "array of TWinOrderLevel" and set its size as SetLength(orderArray, N), and SetLength(orderArray, 0) to free. This is better practice, more pascalish way to allocate array. -- R

Re: [Lazarus] Get the number of pages in a pdf file

2019-06-15 Thread Graeme Geldenhuys via lazarus
On 14/06/2019 6:19 pm, Rogério Martins via lazarus wrote: > Is there a function for read info about a pdf file ? I need to know the > number of pages in a given pdf file. I don't know of a Object Pascal library you can you, but there is an alternative. The PDF fromat is a mixture of text and bina

[Lazarus] Wiki shows error on uploading new version of PNG image

2019-06-15 Thread AlexeyT via lazarus
Database error A database query error has occurred. This may indicate a bug in the software. [abf9cf9f7950256477509e2b] /Special:Upload Wikimedia\Rdbms\DBQueryError from line 1457 of /srv/www/lazaruswiki/includes/libs/rdbms/database/Database.php: A database query error has occurred. Did y