Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for FreePascal/Lazarus (API part) attached #125

Open
CCRDude opened this issue Oct 4, 2023 · 1 comment
Open

Support for FreePascal/Lazarus (API part) attached #125

CCRDude opened this issue Oct 4, 2023 · 1 comment

Comments

@CCRDude
Copy link

CCRDude commented Oct 4, 2023

I've switched from Delphi to Lazarus many years ago, and for one specific project, I wanted ribbons. Looks like Lazarus has two popular custom components emulating it, but I didn't find real code right away, so I went with RibbonFramework and made some adjustments.

This is the first part, making the "Low Level" code compatible with FreePascal/Lazarus. For the low level examples to work, minor adjustments to UIRibbonApi.pas and WinApiEx.pas needed to be made (enabling Delphi compatibility, adding a pointer type, IFDEF'ing the delayed load).

A Lazarus package for the API unit is an attachment, as is the example (basically the same code here).

I'm working on the other units as well, but won't post before I got it running well.

@joachimmarder
Copy link
Contributor

We are fine with adding support for Lazarus. Since we do not use Lazarus ourselves, we will however not invest our time here.

Would it be possible to send normal pull request via GitHub, instead of attaching (patch) files?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants