Quantcast
Channel: Embarcadero Community - Embarcadero Community
Viewing all 1963 articles
Browse latest View live

Inconsistent behavior of ->setFocus with TEdit

$
0
0

Does anyone have any experience or helpful advice about using ->setFocus with TEdit controls? When I write simple code and use ->setFocus, the cursor appears, flashing in the desired TEdit, when I run the program. But when I try to do the same thing in my "real" work, ->setFocus doesn't have the desired effect, i.e., the TEdit box appears, but the cursor is not flashing in it. (And if I start typing, what I type does not appear in the TEdit box.) I would love to attach an example, but the project where I'm having the problem is 5,000+ lines at this point.

Are there any known "bugs" or tricks or idiosyncracies of ->setFocus that I need to know about?

River_Forest


Support for ARM64 (Samsung Galaxy S8)

$
0
0

Delphi 10.2 Tokyo (and possibly Delphi 10.1 Berlin, after update 1) support Android Nougat, however I still cannot run (or even target) Delphi applications to a Samsung Galaxy S8.

I am fairly sure that the Samsung mobile USB drivers I installed include the S8, however the phone does not appear in the list under Target Platforms | Android | target.

I am guessing it is due to the S8's ARM64 processor.  I'm not certain that this is the case, so my question is in two parts:

1. Can we target Android ARM64 systems with Delphi?

2. If not, when will we be able to target that platform?  If we can, then what is blocking the targeting of the S8?

 

 

Calling TStyledPresentationProxy from C++

$
0
0

I am trying to register a new presentation for a custom control in C++.  Is it possible to convert the following Pascal to C++ code?  I am having trouble with the last parameter, the TStyledPresentationProxy template.

Working in Firemonkey, RS 10.2.

TPresentationProxyFactory.Current.Register(TMemo, TControlType.Styled, TStyledPresentationProxy);

firemonkey stylelookup Icon color

$
0
0

10.1.2 can use IconTintColor properties to set the styleLookup icon color. How about 10.2?

thank you

git integration - ssh protocol

$
0
0

Hi

does anybody know if I can work with rad studio and git repositories using ssh protocol ?

 

Problem with form height in IDE

$
0
0

Form 800x600 being resized to 800x580 when the form is opened in the IDE. What to do?

Winsock

$
0
0

We are getting Winsock errors on database connections in our existing application written in Delphi 2007. This is not using FireDac. Do the FireDac connections in 10.2 use Winsock, or have they moved on?

AV installing packages into IDE

$
0
0

We've got a no. of old 3rd party components that when our main project was migrated from Delphi 2009 to Delphi 10 Seattle were not repurchased, but upgraded in house.

We've not had any issues with Seattle.  However when attempting to install the same packages into Berlin/Tokyo, they AV with "Can't load package ..... Access violation at address 1D068791 in module 'bds.exe'. Read of address 00000010".

We have rebuilt the packages :)  It seems what builds and installs OK in Seattle, build OK in Berlin/Tokyo, but won't install.

The main culprit is FastReports v4, however it's not just FastReports it's others as well.

If this was a standard runtime error, we'd be able to trace it through in our application etc.  But as it AVs on installation of the design-time packages into the IDE we're unable to do anything.

Does anybody have any ideas?


Linux support

$
0
0

I have several projects using c++ builder 6.  Is there any version of the Embarcadero product that will support compiling this into an exe that can be deployed under debian linux? And if so where can it be purchased? Thanks

PS - Still want to work under windows 7 too if possible.

 

TO GET HELP

$
0
0

HOW CAN I DOWNLOAD DELPHI 10.2 FREE

How to connect bluetooth printer from IOS device ?

$
0
0

Hello,

     i have code for connecting bluetooth printer from Windows & Android devices but i couldn't able to find any sample program for IOS.

Please help me on this.

Structure pane popup wrong

$
0
0

Structure pane popup menu gives a popup item "Tool Windows". After clicking this it gives the correct normal popup menu.

I have no glue why this started to happen this morning. Searched Options, Restarted, searched google and help.

How do I restore the popup menu in the structure pane?

winapi problems with 10.2

$
0
0

I have an issue with the 10.2 Trial edition.  I am able to compile a C++ Release Build but cannot compile a Debug Build.  I am getting numerous E2257 errors in Winapi.Windows.hpp and Winapi.ShellScaling.hpp, and E2238 and E2344 errors in SystemRtti.h.  I reviewed https://community.embarcadero.com/article/articles-support/171-rad-studio/16436-issues-with-winapifamily-h-and-other-header-files-after-installing-c-builder-10 for a previous similar problem with 10.1, but verified all of the eight header files are present and updated after the 10.1 hotfix.  I had a similar problem when I updated to the 10.2 Starter but resolved that when I reloaded my previous project file.  That is not working for me now.  So, if anyone can help me resolve the winapi problems I'd also appreciate it.  FYI, I did a complete manual uninstall of the previous Starter editions before installing the Trial edition, so hope that helps.  Perhaps there are still some old files or registry keys that are affecting the clean execution of 10.2 Trial for me.

 

Problem loading data -- RAD Studio Platform Selection

$
0
0

I am evaluating your product 'RAD Studio 10.2' with my office PC. The following problem appears when I start the software.

 

'Problem loading data'

Cannot load data from the server: Error sending data: (12002) The operation timed out

 

I suspect that it is a web-proxy-related issue because Internet access of the PC is controlled. How should I solve the problem?

Ribbon Quick Access Toolbar items visibility issue

$
0
0

Ribbon Quick Access Toolbar items icons are not visible in C++ project while it works fine in Delphi project:


TSQLConnection without driver in registry on workstation

$
0
0

RX10.1 Enterprise

Windows 7 and 10.

 

I'm trying to establish an odbc connection to a SQL Anywhere  server. I'm hoping to do this completely DSN-free, and without having to set the "SQL Anywhere 11" odbc registry entry.

With FireDAC, if the drivers are installed (in registry) on the workstation, I can override the VendorLib and point to a different path to find the dll.

In a similar fashion, if the drivers are not actually installed (nothing in registry) on the workstation, I can set

    FDPhysODBCDriverLink1.VendorLib:=\\server\folder\driver.dll

 

and connect to the database.

 

There doesn't seem to be any way to do this with DBExpress.

I've tried setting VendorLib in SQLConnection.Params, and setting the deprecated VendorLib value directly, as well as quite a number of variations.

If the DriverName is not already set in the registry, I keep getting  "Data source name not found and no default driver specified".

Is there any way to tell TSQLConnection where to find the vendor lib at runtime, as opposed to giving it a driver name that already exists in registry?

 

TIA.

 

Cheers,

EdB

Characters of foreign languages (German Umlaute) in 64Bit app

$
0
0

Hi,

I do have problems in displaying German characters (Umlaute as in my last name) but only when I use 64bit Windows as target OS. In the 32bit version it's correct. French, Arabic... software should have the same trouble.

These not English characters are not displayed properly, they will be corrupted. Not in all cases. If the text comes from an edit field, it is correct, but not when it is set by code and displayed for instance in a label or message box. Setting captions manually is ok.

And: Does anyone have got this silly error message?

[ilink64 Fehler] Error: Unresolved external 'WinMain' referenced from C:\PROGRAM FILES (X86)\EMBARCADERO\STUDIO\17.0\LIB\WIN64\RELEASE\C0W64.O

The file exists, Aug 27, 2015 00:55, 3984 bytes.

I'm using Embarcadero® C++Builder 10 Seattle Version 23.0.20618.2753 and Windows 10.

Thanks,

Andreas Schäfer (Schaefer)

Germany

 

 

AbsoluteRect problem in 10.2 Tokyo on Android

$
0
0

I have a problem in Rad Studio 10.2 Tokyo on Android. The property AbsoluteRect of a TEdit control doesn't work correctly. It worked in 10.1. I tried the ScrollableFormDemo in 10.2 and scrolling doesn't work (worked in 10.1). Does anybody know a solution?

GotoBookmark issue

$
0
0

I receive the error  message [dcc32 Error] unt1.pas(38): E2010 Incompatible types: 'System.TArray' and 'Pointer' at the  GotoBookmark(pointer(DBGrid3.SelectedRows.Items[i])); I try with format:  dbgrid3.DataSource.DataSet.GotoBookmark(pointer(DBGrid3.SelectedRows.Items[i])); But I receive the same error message.   Can you help me about that please.   Thanks

No FireDAC in RAD Studio 10.1 Berlin Architect Trial ?

$
0
0

Hi,

I just installed RAD Studio 10.1 Berlin Architect Trial, but when trying to open sample project Object Pascal\Database\FireDAC, i get many error messages like : "TFDMemTable class not found ...".

Isn't FireDAC enabled with RAD Studio Trials ?

 

Viewing all 1963 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>