Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Why both screen dfm and fmx are displaying in cbproj.



Permlink Replies: 3 - Last Post: Dec 27, 2017 6:35 AM Last Post By: Antonio Estevez
velrajan muthuvel

Posts: 28
Registered: 9/22/14
Why both screen dfm and fmx are displaying in cbproj.
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 19, 2017 3:22 AM
Hi,

I am converting the form from vcl (.dfm) to fmx (.fmx). After converting the form to fmx, If i open the cbproj, both dfm and fmx file are displayed in cbproj.

Regards
Velrajan M

Eli M

Posts: 1,346
Registered: 11/9/13
Re: Why both screen dfm and fmx are displaying in cbproj.
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 26, 2017 4:31 PM   in response to: velrajan muthuvel in response to: velrajan muthuvel
Check the section under implementation

Needs

{$R *.fmx}

Remove

{$R *.dfm}
velrajan muthuvel

Posts: 28
Registered: 9/22/14
Re: Why both screen dfm and fmx are displaying in cbproj.
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 27, 2017 6:07 AM   in response to: Eli M in response to: Eli M
I have c++ dll project. In that project, could you help me where can I find "implementation" section?

Eli M wrote:
Check the section under implementation

Needs

{$R *.fmx}

Remove

{$R *.dfm}

Edited by: velrajan muthuvel on Dec 27, 2017 6:16 AM
Antonio Estevez

Posts: 665
Registered: 4/12/00
Re: Why both screen dfm and fmx are displaying in cbproj. [Edit]
Click to report abuse...   Click to reply to this thread Reply
  Posted: Dec 27, 2017 6:35 AM   in response to: velrajan muthuvel in response to: velrajan muthuvel
El 27/12/2017 a las 15:22, velrajan muthuvel escribió:
I have c++ dll project. In that project, could you help me where can I find "implementation" section?


This is a Delphi group so those directives are not valid in C++.

The equivalent directives in C++ that you should look for are:
#pragma resource "*.fmx"
 
#pragma resource "*.dfm"


Eli M wrote:
Check the section under implementation

Needs

{$R *.fmx}

Remove

{$R *.dfm}

Edited by: velrajan muthuvel on Dec 27, 2017 6:16 AM
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02