The Wiert Corner – irregular stream of stuff

Jeroen W. Pluimers on .NET, C#, Delphi, databases, and personal interests

  • My badges

  • Twitter Updates

  • My Flickr Stream

  • Pages

  • All categories

  • Enter your email address to subscribe to this blog and receive notifications of new posts by email.

    Join 2,092 other followers

Delphi: 2 things to check when FMX/VCL units are inserted when you use VCL/FMX components

Posted by jpluimers on 2019/12/19

On G+Tom Field bumped in the [WayBack] issue that the IDE would add VCL units to the uses list when putting FMX controls on a form.

I’ve observed it the other way around as well, and there are two things you need to check:

References:

David Nottage:

It has to do with whether there’s {$R *.fmx} or {$R *.dfm} in the unit. You may be able to get away with renaming the .dfm file to .fmx, and changing the directive in the unit.

Jeroen Wiert Pluimers:

 Your .dproj file tells you what kind of application it is (FMX or VCL) in the FrameworkType element and the IDE should respond to that correctly.

–jeroen

Source: [WayBackIn the Berlin Update 2 IDE. I’m working on a multi-device app I’m creating. …

3 Responses to “Delphi: 2 things to check when FMX/VCL units are inserted when you use VCL/FMX components”

  1. Tom Field said

    My fleeting 15 minutes of fame have now fled! Thanks for the memory. Tom Field. PS I’m still doing VCL/FMX development and loving the results. http://www.rspec-astro.com and http://www.fieldtestedsystems.com

    • jpluimers said

      How cool is that!

      Note that your fame is still archived in the WayBack link of the post. I try to archive most of the links before posting the blog article. Link rot and killing of services is all too common nowadays.

  2. xepol said

    It would be better if they could just use non conflicting resources (mainly cursors I found).

    Otherwise, if you are sticking to wintel land, fmx and vcl can play together in the same app.

Leave a Reply to Tom Field Cancel reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.

 
%d bloggers like this: