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

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

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

Free Pascal - Lazarus mailing list
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.

--
Regards,
Alexey

--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus
Reply | Threaded
Open this post in threaded view
|

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

Free Pascal - Lazarus mailing list
managed types are not allowed in objc objects. as FPC doesn't manage them there (yet).

On Saturday, June 15, 2019, AlexeyT via lazarus <[hidden email]> wrote:
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.

--
Regards,
Alexey

--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus

--
_______________________________________________
lazarus mailing list
[hidden email]
https://lists.lazarus-ide.org/listinfo/lazarus