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

Suggestion for how to install both VCL and FMX versions. #14

Open
rbwinst-usgs opened this issue Jul 10, 2024 · 1 comment
Open

Suggestion for how to install both VCL and FMX versions. #14

rbwinst-usgs opened this issue Jul 10, 2024 · 1 comment

Comments

@rbwinst-usgs
Copy link

BeepButton.zip
BeepButtonExample.zip
You mention that one of the things that isn't working is "installing package for both VCL and FMX in the same time." I have attached an example of a simple component that has both VCL and FMX versions that can be installed simultaneously and example programs that use them. The component itself is worthless. It is just a button that beeps when you click it. Nevertheless, it does demonstrate how VCL and FMX versions of a component can both be installed.
One unsolved problem is how to have the component automatically detect whether it is in a VCL or FMX program. For the examples, the user use to define "FmxBeepButton" in FMX programs.

@livius2
Copy link
Owner

livius2 commented Jul 10, 2024

I know that by using different unit names, I can do this. However, we need to have the same unit names, like VirtualTrees.pas, not FMX.VirtualTrees.pas. If we can't find a way to achieve this, we will probably end up with the scenario mentioned above.

and remember about debugging such scenario :(

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

No branches or pull requests

2 participants