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
1 answer

Why numeric field become TWideStringField after union two datasets in SQLite using TFDQuery

I'm using Delphi 10 Seattle and below is sample codes. unit Unit1; interface uses Winapi.Windows, Winapi.Messages, System.SysUtils, System.Variants, System.Classes, Vcl.Graphics, Vcl.Controls, Vcl.Forms, Vcl.Dialogs, Data.DB,…
lmengyew
  • 371
  • 4
  • 18
1
vote
1 answer

Insert data from a dataset in delphi

I want to insert data to a nexusdb table which are in a access database table. i am using two query for this. one for select data from access database and other one for insert to nexusdb. I don't want insert this using a loop. Is there any way to…
Ishanka
  • 360
  • 4
  • 18
1
vote
1 answer

Delphi 10 Seattle Datasnap via HTTP: Correctly using Context in TDSAuthenticationManager.OnUserAuthenticate?

I am working on a Datasnap server with multiple ServerMethods classes. These are then exposed via HTTP/S etc via TDSHTTPService as normal. I'm now trying to implement distinct authentication appropriate to each service area/context/realm. This…
W.Prins
  • 1,286
  • 1
  • 14
  • 22
1
vote
0 answers

Memory leaks on Win32 and a Touch Screen device

I'm having memory leaks with every application running on a device with a Touch Screen capability. If I use only the mouse and keyboard, everything is fine. Memory leaks occur if I touch the application, it can be any gesture from tapping on a…
DanielH
  • 123
  • 1
  • 10
1
vote
1 answer

Delphi Seattle changing IDE default folder settings

I'm trying, so far with no success, to change the default directory where the Seattle IDE prompts to save a newly-created VCL project and its units. Under Tools | Options | Environment variables | System variables there are a number of environment…
Alex James
  • 696
  • 5
  • 13
1
vote
1 answer

Delphi thread created in suspended mode gets started by itself on windows 2012 server

I've been struggling for the last couple of days with a bug I can't understand. This only happens in a Windows 2012 server (64bits), while it does not happen (at least) on the following windows versions: Windows XP (32 bits), Windows 7 (32 and…
1
vote
0 answers

Jump to the last page

I am migrating reports from QuickReport to FastReports. In the old code I have the following: if MyCheckBox.Checked then MyReport.LastPage; I would call this in an AfterPrint event of a band, but I can´t seem to migrate this part of the code.…
Oh nooo
  • 478
  • 5
  • 19
1
vote
1 answer

Delphi Android app crashes after start

I use Delphi 10 Seattle with Mobile Add-On Pack. My application shows "Application does not support this device" first. I tried to uncheck the "$(BDS)/lib/android/debug/x86 libnative-activity.so" from the deployment options. After that the…
methos
  • 13
  • 4
1
vote
0 answers

Check how often a BPL-Package is loaded

I am loading forms from different BPL-Packages like explained here: http://edn.embarcadero.com/article/27178 However i don't show them modal. So it can happen that the same package (and form) gets loaded twice - and sometimes that is needed. When i…
Tommy
  • 596
  • 6
  • 30
1
vote
1 answer

TComboBox TextHint to Display While Focused

EM_SETCUEBANNER sets the textual cue, or tip, that is displayed by the TEdit control to prompt the user for information, but how do I set the textual cue of a TComboBox control and change it’s behaviour so that it only disappears when the user…
1
vote
1 answer

Android app crashes when TEdit or TMemo gets focus

Make a new blank Multi-device Application. Put Edit or Memo on the Form. Build project on tablet Lenovo Tab 2 A8-50LC (Android version 5.0.2). When I touch Edit or Memo then error appears: call to OpenGL ES API with no current context (logged once…
Rusland
  • 159
  • 2
  • 13
1
vote
1 answer

Get Android Device and OS Info in Firemonkey

I know how to get app version, package name, udid for both Android and iOS But for iOS I can get more info. Code below returns model name, device name, os type and os version: string(Device.model.UTF8String);//Model…
Remi
  • 1,289
  • 1
  • 18
  • 52
1
vote
2 answers

Encodeing results are not working

I have a program written in Delphi 4 and trying to convert it to delphi xe10. One part i do not understand is this. Cmd[0] := 2; // Number of equipment to talk to Cmd[1] := 22; // My device address …
user41758
  • 309
  • 1
  • 2
  • 8
1
vote
1 answer

What kind of metadata is generated by anonymous methods? And is there a way to remove it?

I'm using the tool MapFileStats to inspect generated map files from delphi. I found that anonymous methods generate some kind of metadata, which doesn't seem to be related with RTTI. What kind of metadata is it? It would be nice to remove it because…
ventiseis
  • 3,029
  • 11
  • 32
  • 49
1
vote
0 answers

Can a FireMonkey app be launched from a push notification?

I have an app that I'd like to send push notifications to. But I understand that if I've shut down the application (especially on iOS at least until iOS 7) that push notifications won't launch it (either in the background or the foreground). I…
BIBD
  • 15,107
  • 25
  • 85
  • 137