Questions tagged [delphi-10.2-tokyo]

Delphi 10.2 Tokyo is a specific version of Delphi released in March 2017.

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

Always use the tag alongside this tag.

References

558 questions
0
votes
0 answers

Error when running a TFlexCelReport that exports to Excel

I am trying to export to Excel some data using TMS's TFlexCelReport in Delphi 10.2 and getting an error which I cannot figure out how to fix. In an earlier version of Delphi (2007) and TMS it worked fine. The data is being retrieved from the…
0
votes
0 answers

Zeoslib new version encoding problem, strange charaters

I have installed Zeoslib 7.2.4 because of updating to Delphi 10.2 and after testing my projects the result of SELECT isn't expected. The previous version 7.1.4 Works fine. The results after updating to 7.2.4: Connection ClientCodePage is binary. If…
SAMPro
  • 1,068
  • 1
  • 15
  • 39
0
votes
1 answer

How to solve [FireDAC][Phys][SQLite] ERROR: unable to open database file, When app is installed in programFiles?

I developed a tool using Firedac with the database as SQLite. after finishing the project and making an installer (InnoSetup) I get an error [FireDAC][Phys][SQLite] ERROR: unable to open database file when I launch the app (double click). This is…
Nasreddine Galfout
  • 2,550
  • 2
  • 18
  • 36
0
votes
0 answers

Why is the worldtoscreen() output for Windows correct and is wrong for Android

I created a multi-device firemonkey form which included one viewport3d ,one Cube and one camera.I want to make a calloutpanel exactly on the top of the cube in the form with camera projection. In Firemonkey, we can use worldtoscreen() to convert…
A.K
  • 106
  • 1
  • 11
0
votes
2 answers

design a custom checklist inherited from cxCheckList which contains functionalities of Orpheus checklistbox

I am trying to create a custom checklist component with some added functionalities from Orpheus component(TOvcCheckList) and some UI enhancements. I require some help on creating a CheckList which looks like as in the image, For achieving this…
userhi
  • 553
  • 1
  • 7
  • 27
0
votes
1 answer

extending cxGrid with cxgridDbTableview

I have created a component by extending cxGrid and added some required properties, I want to do same and add some extra functionalities to cxGridDBTableView, I tried extending the cxGridDBTableView and added properties, but I am not able to access…
userhi
  • 553
  • 1
  • 7
  • 27
0
votes
0 answers

Why compilation fails for the first time but succeedes the second time?

This question is about Delphi 10.2 Tokyo, 32-bit compilator. When I change interface of specific unit (A), compile fails in unit B the first time. When I rerun the compilation, it proceeds (sometimes only the third compilation works). If I build the…
andowero
  • 439
  • 4
  • 13
0
votes
1 answer

Change the highlight color on combobox dropdown

We require to replace the blue highlight when we scroll through the items in combo box. How can we do it? I tried a sample code to handle the border of the combo drop down, The below is my sample application code. unit Unit1; interface uses …
userhi
  • 553
  • 1
  • 7
  • 27
0
votes
0 answers

Get path and GPS from a gallery picture

How can I select an image from Android gallery and get the path + GPS data (lat & long)? With the code below I don‘t get the path from the original image with GPS data. It returns a path to a cache file without GPS…
Colin S
  • 1
  • 1
0
votes
1 answer

Delphi 10.2 crashing on startup: where are "recent projects" stored?

I think that I opened a bad Project, and now every time I open Delphi 10.2, it crashes. Where is the list of Projects stored, so that I can remove the bad Project from the list? Thanks!
jon bondy
  • 411
  • 3
  • 11
0
votes
0 answers

TRESTClient capture a reasonably exception cause, e.g. when server is not available

I'm struggeling with how to capture the exception cause when I send a RESTRequest to a server which isn't available at the time of the request. I do get an exception, but it's really a poor exception to work with when I need to present a error…
hhaumann
  • 272
  • 2
  • 19
0
votes
1 answer

Cannot read property 'scrollView' of undefined

I got this error when using uniGUI framework for executing JS code. Cannot read property 'scrollView' of undefined This property is used in this procedure. procedure SetScrollboxSize(AFramem: TWPUnimFrame; ASize: Integer); begin if ASize >…
Josef Henn
  • 125
  • 4
  • 18
0
votes
1 answer

How to hide components when clicking outside your area

I have a form with green edit, when the user clicks the search button, the components in red are displayed on the screen. But I want that when the user clicks out of the component area, they disappear. I have no idea how to do this. I saw some…
Tallys Ferrante
  • 173
  • 1
  • 13
0
votes
0 answers

How to reduce spurious paint messages when movable controls overlap

The scenario is, I have a Scrollbox which is a container control for several custom controls which I create at runtime. The custom controls are movable and resizeable. Typically the custom controls contain charts populated with data, some of the…
Andy k
  • 1,056
  • 1
  • 11
  • 22
0
votes
1 answer

Avoid calling duplication for validation

I am stuck a bit. My aim is to check and validate my currency field always when it's value changed never mind from the inline code or from the user interface. Is there any validation pattern or sample for it? I want to avaiod calling my validation…
Steve88
  • 2,366
  • 3
  • 24
  • 43