Questions tagged [delphi-xe8]

Delphi XE8 is a specific version of Delphi released in April 2015.

Delphi XE8 is a specific version of Delphi released in April 2015.
It supports development of applications covering , , , (both 32 and 64-bit), and . 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.

Always use the tag alongside this tag.

494 questions
-1
votes
2 answers

Convert TEdit.Text to array of string, Delphi

This code change IP address with no problems function ArrayToVarArray(Arr : Array Of string):OleVariant; overload; var i : integer; begin Result :=VarArrayCreate([0, High(Arr)], varVariant); for i:=Low(Arr) to High(Arr) do …
Master
  • 328
  • 3
  • 10
-1
votes
1 answer

Generate Random Number between 2 constraints

I know the code from the Standard Delphi programming goes like this: randomize(); i := random(5,10); // where i is an integer. Then the value of i will be between 5 and 10. However how would I do that in Fire Monkey. The function requires a range…
Jacques Koekemoer
  • 1,378
  • 5
  • 25
  • 50
-1
votes
2 answers

setTimeout not working in injected JavaScript?

I have an external JavaScript file mypapopup.js with this content: function mypopup() { alert("Hello stackoverflow") } In a Delphi XE8 VCL Form application, with TEmbeddedWB.ExecScript I inject this JavaScript into a loaded document in…
user1580348
  • 5,721
  • 4
  • 43
  • 105
-1
votes
1 answer

System.Generics.Collections differences in XE8 compared to other Delphi versions

I have the following unit I have used for some Delphi versions. But now I am testing XE8 and I get an error in function THolydayList.TEnglishNameCollection.ToArray: TArray; begin Result := ToArrayImpl(fList.Count); end; I think is has to…
OZ8HP
  • 1,443
  • 4
  • 31
  • 61
-1
votes
1 answer

Delphi - FMX Form BUG?

I have usual code to show modal form. But sometimes happens strange bug captured on picture below. (about once per 10 attempt to show that form) It happens only with custom FireMonkey style "Diamond.style". My code for setting style (in DPR…
core4096
  • 101
  • 12
-1
votes
1 answer

How to always show bottom bar over popup virtual keyboard

I am using Delphi XE 8 to build Android app and I have a form that have two buttons at the bottom like this one How I make sure these buttons still visible when the virtual keyboard appear and position back to the bottom when the keyboard disappear…
zac
  • 4,495
  • 15
  • 62
  • 127
-1
votes
2 answers

make Delphi XE 8 editor color more clear

porting a code from Delphi XE 5 to XE 8 I noticed the colors of the font inside XE8 are not clear like in XE5 IDE although I use the same font. The color appear more clear if I choose white background but if I choose black background (which I want)…
zac
  • 4,495
  • 15
  • 62
  • 127
-1
votes
1 answer

Infinite loop in parsing a string using pointer math

I have a routine that processes a C-like string, resulting in usual Delphi string: class function UTIL.ProcessString(const S: string): string; var SB:TStringBuilder; P:MarshaledString; procedure DoIt(const S:string;const I:Integer=2); begin …
ZzZombo
  • 1,082
  • 1
  • 11
  • 26
-1
votes
2 answers

sending automatic SMS in iOS with Delphi XE8

Is it possible to send automatic text messages in iOS with Delphi Xe8? I have found examples to do so in Android, but none in iOS. Would I need to import headers to use in Delphi or is there already built in functionality to do so?
ThisGuy
  • 1,405
  • 1
  • 24
  • 51
-1
votes
1 answer

How to Put Icones in RadStudio XE8 IDE palette for new component?

I wrote a set of few components named : - TUser - TRESTAccess - TServerAccess Then i create 3 PNG image 100x100 with same name than component (in the same directory than the BPL and the .PAS files) I wrote a .RC file include in my package. But…
Fabien Fert
  • 95
  • 2
  • 11
-1
votes
1 answer

How to see if stream does not contain a valid bitmap to convert.

How can I tell if a stream contains a picture or not? I am working with Delphi xe8 FMX developing an iOS application. I have a listbox and am loading pictures into the items. I can do this: if not Assigned(S) then …
ThisGuy
  • 1,405
  • 1
  • 24
  • 51
-1
votes
1 answer

Error calling GetProcessDPIAwareness

I am trying to port GetProcessDPIAwareness from the Windows 8.1 SDK. However when I try to start this program it just crashes with the error: system exception (code 0xc0000409) at 0x77929990' The function is present in shcore.dll. I am running…
-2
votes
1 answer

Android application getting crashed on click of TDateEdit (FMX Control)

I'm using Delphi XE8 for Android mobile application development. I have used TDateEdit for date pick. In some Android device (like Samsung Galaxy J7 Prime , Xiaomi mi) , when i click on TDateEdit , the application getting closed without any…
-2
votes
2 answers

how to use MultiByteToWideChar in delphi?

I am trying to use MultiByteToWideChar but i get 'undeclared identifier' . Where is it declared ? which 'uses' ? I am using Embarcadero Delphi XE8.
sub
  • 89
  • 3
  • 11
-2
votes
1 answer

Delphi: How to check for valid login from SQLite database using App tethering?

I've Client And Server Apps. In a Client Side I've Authorization. In a Server Side I've SQLite database. In a Client Side Using: App tethering(TTetheringAppProfile and TTetheringManager), 2 Edits and 2 Buttons(Connect Button and Login Button)... In…
Alex Kirov
  • 217
  • 4
  • 16
1 2 3
32
33