Questions tagged [delphi-10.3-rio]

Delphi 10.3 Rio is a specific version of Delphi released in November 2018.

Delphi 10.3 Rio supports development of applications covering 32-bit and 64-bit, 32-bit, 32-bit and 64-bit, 32-bit, and server 64-bit. Windows applications may be built using either the framework or the (FMX) framework, whereas the OSX and mobile platforms are built under the FireMonkey framework only.

This version of Delphi brings several enhancements to the core Delphi pascal language, including inline variable declarations and type inference, as well as RTL performance improvements, and changes to Delphi's ABIs for better C++ interoperability across all platforms. It also sports several IDE UI redesigns, better High-DPI support to the VCL, support for iOS 12 and Android API level 26+, and begins Embarcadero's push to phase out its ARC memory management model for TObject classes, starting with the Linux 64-bit compiler.

Always use the tag alongside this tag.

References

546 questions
-1
votes
1 answer

How can I load a jpeg image from a buffer?

I want to store a jpeg image in a RC_DATA resource, but not a single image in one single RC_DATA. There are many things in that RC_DATA, all muxed together. At runtime I load that RC_DATA in a bufer and extract all the object, including this Jpeg.…
Marus Gradinaru
  • 2,824
  • 1
  • 26
  • 55
-1
votes
2 answers

FMX TStringGrid set selected cell

I need to do a cell jump in an FMX TStringGrid. Before, I did it in a VCL application using this code: StringGrid.Row := StringGrid.Row + 1; StringGrid.Col := 1; So, how do I do that in FMX?
-1
votes
2 answers

PosEx on a String with more than 1024 Chars

I have a simple function to get a value from a HTML's ​meta property="og:image": Function HTML_GetOGImage(HTML:String;Var URL:String):Boolean; Var I,A,B,C:Integer; Begin Result:=False; A:=PosEx('og:image',HTML,1); If A<>0 Then…
Stalkium
  • 148
  • 1
  • 11
-1
votes
2 answers

EnumerateWindows works in Delphi 7 but not in Delphi 10.3

I have a problem after upgrading Delphi. I have this code: function EnumerateWindows(hWnd: HWND; lparam:LPARAM):Bool; var ClassName, TheText : Array [0..255] of char; sName : string; begin Application.ProcessMessages; …
-1
votes
2 answers

How do I read many small text files into an array in Delphi 10?

I am new to Delphi. I have developed a VBA program which starts by reading in many small text files into an array using the code below. I am just starting to rewrite the program in Delphi 10.3. Is there an equivalent code in Delphi? or Suggestions…
-1
votes
3 answers

How to detect CTRL+A in other applications using Delphi

I need to detect Ctrl+A keystrokes whenever user presses them. Here is what I did so far procedure TForm1.Timer1Timer(Sender: TObject); begin if (GetKeyState(65)>0) then begin caption:='CTRL+A Pressed!'; end else begin caption:='Not…
Xel Naga
  • 826
  • 11
  • 28
-1
votes
2 answers

TStringlist error on loadfromfile : No mapping for the Unicode character exists in the target multi-byte code page

I'm getting the exception below when trying to load a file using the TStringList.LoadFromFile method: stringlist1.loadfromfile('c:\example.txt'); No mapping for the Unicode character exists in the target multi-byte code page The file is Unicode,…
delphirules
  • 6,443
  • 17
  • 59
  • 108
-1
votes
1 answer

Convert TFont.Pitch into an Integer value?

I use this method to convert TFont.Pitch into an Integer value: var ThisPitch: Integer; case Font.Pitch of TFontPitch.fpDefault: ThisPitch := 0; TFontPitch.fpVariable: ThisPitch := 1; TFontPitch.fpFixed: ThisPitch := 2; end; Is…
user1580348
  • 5,721
  • 4
  • 43
  • 105
-1
votes
1 answer

How to change Listbox Itemdata.detail font size in run time Delphi 10.3

I am working with a Listbox and I am trying to change the Font Size of the listbox "Itemdata.detail" proporty in runtime. I was able to change the "ItemData.Text" font size, but I need also to change the font size for the "ItemData.Detail" { With…
aalmeidasp
  • 13
  • 1
  • 5
-1
votes
1 answer

Get notified if cmd.exe fails to successfully move a file?

I run cmd.exe to move a file with Administrator rights: ThisParams := '/C move ' + '"' + ThisSourceFile + '"' + ' ' + '"' + ATargetFile + '"'; Winapi.ShellAPI.ShellExecute(0, 'runas', 'cmd.exe', PChar(ThisParams), '',…
user1580348
  • 5,721
  • 4
  • 43
  • 105
-1
votes
1 answer

How load a base64 encrypted url in a TWebBrowser or TImage?

I have this url encrypted in base64 that is a animated QRCode. How i can load it in a TWebBrowser (or TImage)? Thanks in advance. Edit: Here was my attempt, but without success: uses IdHTTP, IdSSLOpenSSL, GIFImg, ClipBrd; type TForm1 =…
FLASHCODER
  • 1
  • 7
  • 24
-1
votes
1 answer

Implementing Mail Server using TIdSMTPServer

I have acquired the domain name - xyz.in from GoDaddy.com and also acquired the mail ID - info@xyz.in. And currently, I can able to send 500 mails by using GoDaddy. So, I'm thinking to implement my Mail Server using Delphi - TIdSmtpServer. I found…
-1
votes
1 answer

MDIChild Form always behind ScrollBox

Based in this my working code, now i need of a ScrollBox component and a Image component inside he. Eg: The problem now is the ScrollBox. The MDIChild Form always stays behind, you can test, changing ScrollBox Align (None/Client) property. Then…
FLASHCODER
  • 1
  • 7
  • 24
-1
votes
1 answer

Allow multiple MDI Parent Forms on same Application

I'm trying follow what was suggested in this answer, changing this part of Vcl.Forms.pas: procedure TCustomForm.CreateWindowHandle(const Params: TCreateParams); var CreateStruct: TMDICreateStruct; NewParams: TCreateParams; begin if (FormStyle…
FLASHCODER
  • 1
  • 7
  • 24
-1
votes
1 answer

MDIChild form cannot be created

Have a main form (Form1) where is created a MDIForm (Form2) and a MDIChild (Form3) form respectivelly in execution time. In my tests the MDIForm (Form2) is show like expected but when try show the MDIChild (Form3) i get the following error that…
FLASHCODER
  • 1
  • 7
  • 24