Questions tagged [delphi-10.4-sydney]

Delphi 10.4 Sydney is a specific version of Delphi released in May 2020.

363 questions
0
votes
2 answers

TControlList scrolls list when a record is changed when using LiveBindings

To reproduce: Set up a TControlList with LiveBindings to a DataSet and assign an OnClick event that just does: DataSet.Edit; DataSet.Post; Now when you click on a cell it will scroll that cell to be in the last row of the list (assuming you've…
Alister
  • 6,527
  • 4
  • 46
  • 70
0
votes
0 answers

Migrating to 10.4, functions Eip and Ebp called on pointer context are unknown

I'm trying to migrate some code from the previous RAD version to the 10.4. Hovewer, I've stumbled on this piece of code: function GetCallStack(Context: PContext): TList; overload; begin Result := GetCallStack(Pointer(Context^.Eip),…
Alexander
  • 388
  • 1
  • 12
0
votes
0 answers

Which audio file format can be recorded and played back by FMX Delphi apps on Win, Mac, iOS, and Android?

My Delphi 10-4-2 project must store audio snippets in a database. The databases are edited by the app on Windows, Macintosh, iOS, and Android. What common audio format can be recorded by a Firemonkey app on all four of those platforms? And played…
Mike at Bookup
  • 1,211
  • 14
  • 32
0
votes
1 answer

Alternate color of groups of rows on a DBGrid

I want to alternate the colours of my grid by groups. My first try is doing this adding a GroupNumber to the ClientDataset (using the DENSE_RANK() function of SQL Server). select dense_rank() over (order by Viatge) as GroupNumber, …
Marc Guillot
  • 6,090
  • 1
  • 15
  • 42
0
votes
0 answers

TFDManager v/s FDManager function vs TFDCustomManager

I read some of the documentation on TFDManager and TFDCustomManager but none of it explained the difference between them properly. Can someone please help me understand the difference between TFDManager v/s FDManager function vs TFDCustomManager and…
Devd
  • 41
  • 5
0
votes
1 answer

Rapidapi & 401 unauthorized Response

I am working with Rad Studio (Delphi) and I am trying to connect to a RapidApi Endpoint via a Rest Component of Rad Studio. Although I use the "x-rapidapi-key" & "x-rapidapi-host" as parameters on the Rest Component, I get a 401 unauthorized…
VaVel
  • 69
  • 3
  • 13
0
votes
0 answers

Error "an Invalid Character was found in the text content" from IXMLDomDocument.LoadXML()

I am trying to strip Carriage Return and Linefeed (#13#10/#$D#$A) from my WideString before I use the IXMLDomDocument.LoadXML() function: OleDoc := CreateOleObject('Microsoft.XMLDOM') as IXMLDomDocument; try WideDecoded :=…
mobo
  • 43
  • 5
0
votes
0 answers

Shared memory - access violation

Please tell me, I want to write json to shared memory. StrPCopy if the text is more than 2047 character error "Access violation at 0x004074ba: address entry 0x00381000". I did not find information about the restrictions. Maybe there is another way…
zig8953
  • 47
  • 1
  • 9
0
votes
0 answers

Can you initialize variables in the var declation section using a function in Delphi?

I'm kind of rusty on Delphi. Used in the early nineties but am C# programmer now. I'm current working on a Delphi project. I have to transform a lot of .pas file for localization of strings. I've written a C# program to do the transformation. The…
Paul Sinnema
  • 2,534
  • 2
  • 20
  • 33
0
votes
1 answer

RAD Studio 10.4.1 my first iOS app error when attempting to run 'Unable to create process: /Applications/PAServer-21.0.app/Contents/MacOS/dbkosx_27_0'

I am trying to build my first multi-platform application using RAD Studio 10.4.1 (Delphi). Very simple one button app. My development environment: RAD Studio version: 10.4.1 (with latest Combined.Hotfix from 12/25) Xcode version 13.7 Xcode…
cellb9
  • 3
  • 1
0
votes
0 answers

How to detect 3 key press combined with Shift in Firemonkey for any keyboard?

I'd like to detect Shift+3 in the Form's KeyDown event. KeyChar contains '3' when just the 3 key is pressed, but is modified to the Shift character when Shift is down (on my British keyboard it's the '£' symbol but for US keyboards it will be '#'…
XylemFlow
  • 963
  • 5
  • 12
0
votes
0 answers

Menu icons appearing black when disabled in FMX (with screens set to different scales)

I have a TMainMenu which is linked to a TImageList containing the images. Images appear as black when the menu item is disabled (Enabled=False). However, I'm using two screens and it only appears black on one of the screens. The main difference in…
XylemFlow
  • 963
  • 5
  • 12
0
votes
2 answers

Where can i find Vcl.ExtCtrls.pas file post installation of RAD Studio 10.4?

I am looking for few Delphi controls(TControl) and their structures of Delphi version 10.4.Thought of installing RAD Studio 10.4 trial and searching for file(s) such as Vcl.ExtCtrls.pas. I am unable to find those file(s),though I can see only binary…
0
votes
0 answers

Resource TMDIChild not found

I am writing an MDI application. It works fine in Delphi 10.3 + Windows 10, but I get the error "Resource TMDIChild not found" in Delphi 10.4 + Windows 10. What is the problem, and how to solve it? Thanks. if frmMDIChild = nil then frmMDIChild…
XS Liu
  • 1
0
votes
2 answers

Do timer events in Delphi happen in their own thread?

When a Delphi timer executes, is it not in the main thread? procedure TMainForm.MyTimerTimer(Sender: TObject); begin MyModalDialog.StatusText.BeginUpdate; MyModalDialog.StatusText.Text := 'timer fired...'; …
Mike at Bookup
  • 1,211
  • 14
  • 32