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
2 answers

How to set regex for lines that don't start with '/' and end with ',' or '.' or '+'?

I have source code, and I would like to find all lines than end with comma, dot or plus symbols ',' , '.' , '+', So, I have this: (\,|\.|\+)$ - to show lines that end with any of these symbols. But I want to ignore lines that start with // -…
Mike Torrettinni
  • 1,816
  • 2
  • 17
  • 47
0
votes
1 answer

gzip decompression issue on OSX with TIdHTTP and TIdCompressorZLib

I'm trying to fetch a page with gzip compression enabled, using TIdHTTP and TIdCompressorZLib. On Windows, the code works fine and the data is decompressed. But the exact same code on OSX is returning garbage data that looks like its still…
Sierra C
  • 305
  • 1
  • 11
0
votes
0 answers

Install TMS Edit Controls fails in Delphi 10

I'm trying to install TMSEditControls in Delphi 10, but get the message "Required package 'DbxCommonDriver' not found". I can't seem to find that package anywhere, so any hints to where I can get it or solve the install problem would be appreciated.
AH.
  • 2,913
  • 1
  • 28
  • 26
0
votes
1 answer

Why FMX.TWebBrowser cannot be used in desktop applications as per DelphiDocs?

The TWebBrowser documentation mentions that Note: TWebBrowser is a mobile component. It cannot be used in FireMonkey desktop applications. Why this restriction? On Windows TWebBrowser defaults to Internet Explorer and works fine. Is the wiki…
Gad D Lord
  • 6,620
  • 12
  • 60
  • 106
0
votes
1 answer

How to create a DataModule in Delphi 10.1

I tried to create a DataModule for my non visible components in my multi-device-application, but the app won't compile giving me the following error:
0
votes
1 answer

Importing a CSV file using a FDBatchMove into a FDTableTask

I am starting my first app that needs an embedded database, ability to import a CSV into a table and display the results into a Grid. I used the Live Binding Wizard to link my grid to a BindSourceDB. Here are the basic components I am…
0
votes
2 answers

Error: F1026 File not found: 'System.Actions.dcu' by Command Line Compiler

The editor automatically adds the System.Actions unit when one of my forms is saved. It compiles without a problem in the IDE, but unfortunately the Command Line Compiler can not find the file and gives me the error: Error: F1026 File not found:…
0
votes
1 answer

Freeing buttons in a list in OnClick

What I'm trying to achieve, in simplified form, is to create a list of dynamically created buttons. When clicking on one of the buttons it should be removed from the list and its object should be freed. My approach is : Create a…
0
votes
1 answer

Easiest way to show differently styled buttons

I want to modernize an old VCL application based on a design template. That design template contains different button styles. Let's say there are three types of buttons: LightButton, DarkButton and GreenButton. Since more than 50% of all buttons…
Wosi
  • 41,986
  • 17
  • 75
  • 82
0
votes
0 answers

delphi Berlin tabcontrol style

I want to create a custom style for a TTabControl. I succesfully changed the background color of the TTabControl itself, but I'm not able to do the same with the TTabItem objects. I added a TRectangle with the color properties set to my color…
ppro
  • 167
  • 15
0
votes
1 answer

Advice for components for a Multi Device program in Delphi Berlin

I have a Delphi 5 app that has too many 3rd party components to move to Delphi 10.1, so I am starting from scratch and need some advice from some Experts out there. It basically is a database program that used DBISAM with a CSV importing and an I…
0
votes
2 answers
0
votes
0 answers

Indy 10 projects being flagged as malware?

I recently had to update indy for my 22-year-old application now being written in D5. Well, that was fun but I needed TLS ver 1.2. With the new OpenSSL DLL's everything worked fine with D5 and Indy10. I am starting to play around with Delphi Seatle…
0
votes
1 answer

How to convert a milliseconds date to a DateTime?

I have this time from an server: 1475245457452 The Date and Time for this is: 30.9.2016, 16:24:17 How can I convert this 1475245457452 in Delphi to a correct Date and Time?
PascalL
  • 155
  • 3
  • 12
0
votes
0 answers

Delphi Android app - Detect if device has internet connection

How I can detect if Android device has internet connection (WiFi or mobile internet) from my FireMonkey application. I know I can use Indy components ... try Ping google.com ... and wait for exceptionon on timeout but I want to know If exist some…