Questions tagged [delphi-10.1-berlin]

Delphi 10.1 Berlin is a specific version of Delphi released in April 2016.

Delphi 10.1 Berlin 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.

580 questions
0
votes
1 answer

Add Thousand Separator in a float value

I have a problem with a thousand separator.I want to add a thousand separator and a decimal separator in a float value,for example 1000 will be 1.000,00.The decimal separator it works but the thousand separator it doesn't. So i try to work with…
Vlad Costin
  • 61
  • 1
  • 10
0
votes
1 answer

firemonkey threading on android show a black page

i used a httpd to request some data from internet function requestToServer(lParamList: TStringList) : string; var userDataString : string; lHTTP: TIdHTTP; serverResponce : string; aobj: ISuperObject; begin application.ProcessMessages; …
peiman F.
  • 1,648
  • 1
  • 19
  • 42
0
votes
1 answer

Which TChart property to use in Delphi 10.1 Berlin instead of TeeUseMouseWheel?

When I build my project in Delphi 10.1 Berlin, there is an error: E2003 Undeclared identifier: 'TeeUseMouseWheel' Field TeeUseMouseWheel works in Delphi 2006, so which property can I use instead in Delphi 10.1 Berlin?
Chetan Bhatt
  • 43
  • 1
  • 6
0
votes
0 answers

How to restart the job again without freeing pipeline input

I'm using OTL, pipelines tasks to check a bunch of URLs. My question is: How to restart the search again quickly, I mean it takes time to add the strings again to Pipeline input and start again, is there a way to do that? If not? Am I using the…
0
votes
0 answers

Sharing functionality issue for FaceBook app using Delphi 10.1 Berlin

I'm using Delphi 10.1 Berlin for developing android apps and for this I have tried to implement sharing functionality using the following code: procedure TBaseForm.ShareDataInAndroid; var Intent: JIntent; begin try Intent :=…
test12345
  • 367
  • 1
  • 21
0
votes
2 answers

How to display TBalloonHint always downwards independently from the screen position?

Create a VCL Forms Application, put a TBalloonHint (Name: balloonhintTest) and a TButton (Name: btnTest) on the form and write this code: procedure TForm2.FormCreate(Sender: TObject); begin balloonhintTest.HideHint; balloonhintTest.Style :=…
user1580348
  • 5,721
  • 4
  • 43
  • 105
0
votes
1 answer

disable indy TIdTCPClient connect retries in firemonkey

i have this code to check connection to my server so code is like this: function CheckInternet(ssip:string): boolean; begin result:=false; with form1.IdTCPClient1 do try ReadTimeout:=2000; ConnectTimeout:=1000; Port:=80; …
peiman F.
  • 1,648
  • 1
  • 19
  • 42
0
votes
1 answer

Delphi 10.1 Berlin Firemonkey TComboBox StyledSettings, Excluding the styles

I want to exclude one TComboBox from styles. This one is a part of component and have another visual suit (manually painted with OnPaint event), but the main style of form has an influence on this TComboBox. Especially one parameter: FixedHeight -…
Wojtek
  • 85
  • 10
0
votes
0 answers

TStateMachine.TStateConfiguration.OnEntry is never fired

I'm using Sir Rufo's TStateless framework in Delphi 10.1 Berlin Update 2. I'm trying to adapt this kind of workflow: Here is how I have set my classes: Some of my states does have an "OnEntry" event or an "OnExit" event : type …
0
votes
0 answers

TEvent or TLightweightEvent do not work in Android service (Delphi-Berlin)

I am using Delphi 10.1 Berlin Update 2. TEvent and TLightweightEvent do not work in an Android service. Any of these calls will not return: Event1.SetEvent; Event1.WaitFor(100); // should return after 100 ms Only this one…
JBart
  • 51
  • 5
0
votes
1 answer

How to Animate markers using GMLib and LoadFromDataset

I am using Delphi Berlin with the GMLib v3 Google Map Components on a Windows 10 64bit development machine. I would like to be able to animate the locations when clicking on the marker or grid when using the LoadFromDataSet function of the GMMarker…
0
votes
1 answer

Trouble debugging code delphi

I am having issues debugging the following code, I really need help as we have an exam tomorrow! Whenever I try to change the combo box the program stops responding. Please let me know if you spot the issue, I'm sure it's glaringly obvious... Thanks…
Anon
  • 9
  • 4
0
votes
1 answer

Update Knuth, Morris, Pratt algorithm to work with unicode

Have some old code (written by someone else) that I need to fix to work with Unicode strings in Delphi 10.1. EDIT: I've narrowed my question down to the following: code below fails with unicode strings. Suggestions? //global variable: var …
Jarle
  • 45
  • 6
0
votes
1 answer

Capture Windows registered messages by name

On Windows tablets there are two on screen keyboard apps (that I'm aware of), c:\program files\common files\microsoft shared\ink\tabtip.exe and C:\Windows\System32\OSK.exe. I want to capture the messages that these apps send to my application when…
DeCoder
  • 173
  • 1
  • 15
0
votes
1 answer

Delphi- Make a EditBox to accept only numbers lessthan or equal to(<=) 12 on Keypress event

I have an Edit box and am trying to make it to only accept numbers from 0 to 12. I wrote an onExit handler like this: procedure TfrmCourse.edtDurationExit(Sender: TObject); begin if not string.IsNullOrEmpty(edtDuration.Text) then …
userhi
  • 553
  • 1
  • 7
  • 27