c++builder-xe7

Setting Firemonkey control font programmatically in C++

别来无恙 提交于 2020-05-18 02:35:24
问题 I have a custom Firemonkey control that extends TEdit which is dynamically created on a form. I am attempting to set it's font size when it is created using: Search->Font->Size = 15; However, the font remains unchanged on the control. I have another control of the same type that is already on the form which I can change the font size programmatically. I noticed with this control, that if the Size setting is set to false in the StyledSettings properties I can change the font, whereas if the

Setting Firemonkey control font programmatically in C++

随声附和 提交于 2020-05-18 02:35:09
问题 I have a custom Firemonkey control that extends TEdit which is dynamically created on a form. I am attempting to set it's font size when it is created using: Search->Font->Size = 15; However, the font remains unchanged on the control. I have another control of the same type that is already on the form which I can change the font size programmatically. I noticed with this control, that if the Size setting is set to false in the StyledSettings properties I can change the font, whereas if the

Strange C++ Builder Linker error DATA.BIND.OBJECTSCOPE.OBJ

☆樱花仙子☆ 提交于 2019-12-20 03:22:10
问题 So I recompiled a perfectly fine and working project and suddenly all I get is this linker error: [ilink32 Error] Fatal: Unable to open file 'DATA.BIND.OBJECTSCOPE.OBJ' The project is a C++ console application with VCL enabled and I have no idea where the DATA.BIND.OBJECTSCOPE.OBJ comes from. These are the headers I'm using. #include <windows.h> #include <tchar.h> #include <stdio.h> #include <vector> #include <vcl.h> #include <System.hpp> #include <System.IOUtils.hpp> #include <System.Zip.hpp

Android JNI bridge Toast C++ not working - How to fix it?

大城市里の小女人 提交于 2019-12-08 04:13:21
问题 I'm trying to solve a little problem with my hpp unit. I found some examples on the internet showing how to Toast an information on screen with an Android JNI bridge, but it was just in pascal (delphi), so I decided to use the same pas file but with it an hpp file for conversion. Till now I got it: #ifndef Android_Jni_ToastHPP #define Android_Jni_ToastHPP #pragma delphiheader begin #pragma option push #pragma option -w- // All warnings off #pragma option -Vx // Zero-length empty class member

Android JNI bridge Toast C++ not working - How to fix it?

偶尔善良 提交于 2019-12-06 15:33:16
I'm trying to solve a little problem with my hpp unit. I found some examples on the internet showing how to Toast an information on screen with an Android JNI bridge, but it was just in pascal (delphi), so I decided to use the same pas file but with it an hpp file for conversion. Till now I got it: #ifndef Android_Jni_ToastHPP #define Android_Jni_ToastHPP #pragma delphiheader begin #pragma option push #pragma option -w- // All warnings off #pragma option -Vx // Zero-length empty class member #pragma pack(push,8) #include <FMX.Helpers.Android.hpp> // Pascal unit #include <Androidapi.JNIBridge

C++ Builder XE7 LME288 Error

假装没事ソ 提交于 2019-11-30 05:56:57
问题 Suddenly, out of the blue, I get the LME288 linker error. [ilink32 Warning] Warning: D:/Projects/TrainFever Game Manager/TFGM/Win32/Debug/TFGameManager.ilc: 0x00010000 / 0x08000000 [ilink32 Warning] Warning: D:/Projects/TrainFever Game Manager/TFGM/Win32/Debug/TFGameManager.ild: 0x00010000 / 0x08000000 [ilink32 Warning] Warning: D:/Projects/TrainFever Game Manager/TFGM/Win32/Debug/TFGameManager.ilf: 0x00010000 / 0x0a000000 [ilink32 Warning] Warning: D:/Projects/TrainFever Game Manager/TFGM

C++ Builder XE7 LME288 Error

我怕爱的太早我们不能终老 提交于 2019-11-28 04:41:23
Suddenly, out of the blue, I get the LME288 linker error. [ilink32 Warning] Warning: D:/Projects/TrainFever Game Manager/TFGM/Win32/Debug/TFGameManager.ilc: 0x00010000 / 0x08000000 [ilink32 Warning] Warning: D:/Projects/TrainFever Game Manager/TFGM/Win32/Debug/TFGameManager.ild: 0x00010000 / 0x08000000 [ilink32 Warning] Warning: D:/Projects/TrainFever Game Manager/TFGM/Win32/Debug/TFGameManager.ilf: 0x00010000 / 0x0a000000 [ilink32 Warning] Warning: D:/Projects/TrainFever Game Manager/TFGM/Win32/Debug/TFGameManager.ils: 0x0003b000 / 0x08000000 [ilink32 Warning] Warning: unknown heap name :