Questions tagged [delphi-10-seattle]

Delphi 10 Seattle is a specific version of Delphi released in August 2015

Delphi 10.0 Seattle supports development of applications covering Windows 32-bit and 64-bit, 32-bit, 32-bit and 64-bit, and 32-bit. Windows applications may be built using either the framework or the (FMX) framework, whereas the rest of the supported platforms are built under the Firemonkey framework only.

Always use the tag alongside this tag.

626 questions
1
vote
0 answers

Delphi 10 Seattle Launcher app (FMX)

I have developed an application in Delphi XE6 that acts as a launcher for mimicking kiosk mode by adding some informations to the android manifest. It works well. After migrating all my projects to Delphi 10 Seattle I discovered that this…
MichaSchumann
  • 1,361
  • 1
  • 17
  • 36
1
vote
1 answer

Execute a method at given time (with threads)

I would like to execute a method at a given time (e.g. every day at 7 PM). My first idea was to check the current TDateTime every second with a TTimer, but it is not thread safe. How should I do this?
Oh nooo
  • 478
  • 5
  • 19
1
vote
4 answers

How do I tell Delphi to use the local project's Security.pas file rather than Winapi.Security.pas in DXS?

Delphi 10 Seattle introduces Winapi.Security.pas. The project (a package) I'm trying to upgrade already has a Security.pas file. Short of removing Winapi from the list of scope names for the project (huge undesirable ripple effect), is there a way…
John Kaster
  • 2,509
  • 1
  • 33
  • 40
1
vote
2 answers

How do you specify the SQLite database file in FireDAC's TFDPhysSQLiteDriverLink component?

I'm trying to modify one of the FireDAC sample projects in order to use an existing SQLite file as the database source. The sample works fine unmodified and connects to its database. However, I can't figure out where the database it connects to is…
David
  • 13,360
  • 7
  • 66
  • 130
1
vote
2 answers

Use RTTI to read and write enumerated property as Integer

I do know how to write to an enum property as a string: var Form: TForm; LContext: TRttiContext; LType: TRttiType; LProperty: TRttiProperty; PropTypeInfo: PTypeInfo; Value: TValue; begin Form :=…
cydo
  • 187
  • 2
  • 10
1
vote
1 answer

How can I open Delphi Chromium Embedded 3 gui correctly?

I downloaded dcef3 and found some demos in it. I copied contents of "src" directry to "minimal" directory and it worked fine. But when I do this to guiclient directory, I get error while opening the project: Class TChromium not found How can I fix…
onurcano
  • 395
  • 2
  • 18
1
vote
1 answer

In RAD Studio 10 Seattle, the properties ".Text" and ".Detail" for my ListViews are underlined as errors. How do I fix this?

I have just downloaded RAD Studio 10 Seattle and opened a program that I was developing in RAD Studio XE8. In XE8, my program had absolutely no errors. However, when I opened the program in 10 Seattle and tried to run it, it gave me about 60 errors.…
1
vote
1 answer

dccosx Fatal Error

I would like to compile my Rad Studio XE8 Delphi project under Rad Studio Seattle. Compiling for Win32 and Win64 platforms are success. But when I try to compile the project with OSX, I always got an compile error: [dccosx Fatal Error] F2084…
1
vote
1 answer

How can I set the default system style in Delphi 10 Seattle?

I am trying to port some code that works in Delphi XE8 to Delphi 10 Seattle. This code sets the default system style of my program, but the SetSystemStyle method does not exist in the Delphi 10 Seattle. TStyleManager.SetSystemStyle(Self);
1
vote
1 answer

Delphi - Change Editor Background Color in Seattle

In previous Delphi versions it was enough to change this back background color setting in options: however in Seattle there is still this white area at the bottom. For example in XE8 everything gets colored: and now in Seattle: am i missing…
MRSNAPS
  • 89
  • 1
  • 6
1
vote
0 answers

How to store data in TTask instance for later use?

My goal is to store some data (TValue) in a TTask instance before I run it and later use it from within the task. I want to use anonymous handlers instead of TNotifyEvent ones. Something like this: LTask.SetData(LMyData); and later use it like…
iPath ツ
  • 2,468
  • 20
  • 31
0
votes
0 answers

Migration - Comport 3.2 (delphi 7) to Comport 4.11 (delphi seattle)

I have an application with the old version for Delphi 7 and when I try to migrate to Delphi 10 Seattle several problems occur, how can I solve it? Could you help me, please? The errors shown on the screen are attached Example error code with…
0
votes
0 answers

alternatives route not exists on the same route

My problem is the strange behavior of HERE Api. alternatives = 5 in API query I send a request for a route Warsaw - Berlin for a truck and receive one route with no alternative routes. If I add an endpoint to the route, e.g. Madrid, then an one…
0
votes
1 answer

Indy doesn't get response text returned with error 404

My HTTP server returns custom 404 error text when REST route is not found: {"sessionIdent":"051F-dUen7-tetW-kNf82-WxT","Details":[{"messageCode":60,"messageCategory":"","messageText":"No matching route for \"POST…
Paul
  • 25,812
  • 38
  • 124
  • 247
0
votes
1 answer

Saving certain data into an array from a DBGrid

I would like to ask for help. I have been tasked with saving FighterID into an array. This data will be used to make fighter 1 ,fight, fighter 2(the data has already been sorted in descending order according to wins they have). I could only find…
Kyle
  • 5
  • 4