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
3 answers

Exception with German Umlaut characters in TMemIniFile.Create

I have an .URL file which contains the following text which contains a German Umlaut character: [InternetShortcut] URL=http://edn.embarcadero.com/article/44358 [MyApp] Notes=Special Test geändert Icon=default Title=Bug fix list for RAD…
user1580348
  • 5,721
  • 4
  • 43
  • 105
1
vote
2 answers

How to add library paths in Delphi 10

I am trying to install GLscene but getting problems with the source file locations. It says in the install instructions to add the GLscene source directories into the global library path in tool/options/Delphi options/Library, which I have done but…
Andy k
  • 1,056
  • 1
  • 11
  • 22
1
vote
2 answers

How to make disabled image from control?

I've put together this code which creates a grayscale Bitmap from a control: procedure TForm1.PseudoDisableControl(const AWinControl: TWinControl; const AImage: TImage); var Bmp: TBitmap; function Control2Bitmap(Control_: TWinControl): TBitmap; …
user1580348
  • 5,721
  • 4
  • 43
  • 105
1
vote
2 answers

How to handle TRegEx named capture groups that might be empty?

I have a regular expression with named capture groups, where the last group is optional. I can't figure out how to iterate the groups and properly deal with the optional group when it's empty; I get an EListOutOfBounds exception. The regular…
Ken White
  • 123,280
  • 14
  • 225
  • 444
1
vote
1 answer

TTask[n] EThreadNameException

Experts, take the following code snippet below: var aAllTasks : Array [0..1] of ITask //global private var Procedure SetImage(); begin //.. //.. Get a URL of an image stored on a server //.. aAllTasks[0] := TTask.Run( …
Ryno Coetzee
  • 516
  • 4
  • 13
1
vote
1 answer

Why can't we enable Apple Push Notifications on Delphi Seattle anymore?

When we head over the Entitlement List on Delphi Seattle, we can no longer enable the PushNotifications for iOS like in the old versions. It states : "Android only." Why?
1
vote
1 answer

How do I return a result parameter from a Sybase 16 database using FireDAC?

I'm updating an ancient codebase written in Delphi 7 using ODBC Express for database connectivity to Delphi Seattle 10 using FireDAC. Currently, ODBC Express OEDataset components are pointed at stored procs and defined with params at design-time,…
Eclipsic
  • 11
  • 3
1
vote
1 answer

How to check if a service is running in Delphi 10 Seattle

The consensus (most votes) for Java developers seems to be private boolean isMyServiceRunning(Class serviceClass) { ActivityManager manager = (ActivityManager) getSystemService(Context.ACTIVITY_SERVICE); for (RunningServiceInfo service :…
Freddie Bell
  • 2,186
  • 24
  • 43
1
vote
1 answer

The sample for kbmMW CG edition doesn't work (Delphi DX10)

I installed kbmMW CG for Delphi DX10. It was installed successful, but when I opened sample demo from \SQL\VCL\ folder I found the same errors: - "Class TkbmFMXMemo not found ....." - "Class TkbmFMXDBGrid not found ....." - ...... How…
Andy Birtman
  • 155
  • 1
  • 9
1
vote
0 answers

TCanvas.DrawLine behaves differently on Windows and on iOS

When drawing a list of connected lines using TCanvas.DrawLine they are not drawn connected on iOS, but they are on Windows. Here are the results of a simple test app connecting 40 points: Targeting iPad 2 on simulator (non-retina, but it also…
Hans
  • 2,220
  • 13
  • 33
1
vote
0 answers

Smooth form resizing in Delphi Firemonkey

If I create a Multi-Device application in Delphi 10 Seattle (no controls on the form), run the app., and resize the form to make it larger, I see a hint of a black background rectangle following my cursor and every so often the form jumps to the new…
Duns
  • 418
  • 2
  • 15
1
vote
2 answers

GridPanelLayout not adding controls Delphi DX Seattle

I'm trying to manipulate a TGridPanelLayout dynamically. Why doesn't this code work? It doesn't show anything - the grid is blank. self.OverviewGrid.RowCollection.Clear; self.OverviewGrid.ColumnCollection.Clear; …
ThisGuy
  • 1,405
  • 1
  • 24
  • 51
1
vote
1 answer

How to fire notification in delphi XE10 seattle without vibration

In Android app, code fires silent notification when app goes in background. In Delphi XE8 it works fine - no sound, no vibration, but it behaves differently in Delphi XE10 - no sound, but there is vibration [vibration is off in user permissions].…
vppavlov
  • 33
  • 2
1
vote
0 answers

How to manipulate TChart when clicking a Bar Series?

Using Delphi Seattle and the TChart component for iOS/Android, I have a bar series chart. Is there an easy way, so that when I click on a bar, a popup/legend/callout shows on top of the bar with the exact value? I've come across the ClickSeries…
ThisGuy
  • 1,405
  • 1
  • 24
  • 51
1
vote
1 answer

Unit 'CodeSiteLogging' not found

On Delphi XE7 I have on Tools> Options >library path U:\Program Files (x86)\Raize\DM2\Lib\RS-XE7\Win32 to run code for codesite. The code is running but I upgrade the code to XE10 seattle. Now I get an error F2613 Unit 'CodeSiteLogging' not…
Ravaut123
  • 2,764
  • 31
  • 46