Questions tagged as 'delphi'

0
answers

National Simple The ControlToValidate property of '' RegularExpressionValidator1 '' can not be blank

I am developing a query in Simple National, but when giving an HTTPPost in the site link returns me the error The ControlToValidate property of ''RegularExpressionValidator1'' cannot be blank. Follow the query code: Post.WriteString('_...
asked by 03.07.2018 / 19:20
1
answer

Error uploading with IdHTTP firemonkey android

I'm using this code to do the tests uploading files to my server. file html where I select the file. <html> <body> <form method="post" action="upload.php" enctype="multipart/form-data"> <label>Arquivo<...
asked by 27.06.2018 / 22:51
1
answer

Count the total number of decimal places in Delphi

I need to count the number of decimal places in Delphi (10.1) in a string, I'll use Edit, validating monetary values when typing, before inserting in the edit. I can validate if it is a valid Currency, but when comparing it it means 1.23 equa...
asked by 26.06.2018 / 21:24
0
answers

InvokeScript webbrowser in delphi

How to use this invoke in webbrowser using delphi InvokeScript('eval', new[] { ''angular.element($('input[CPFOuCNPJDeclarante]')).val('02.388.058/0001-80').triggerHandler('change')'' })'     
asked by 21.06.2018 / 19:14
1
answer

Master and Detail in delphi, with SchemaAdapter, only records the second time onwards

I'm using Delphi 10.1, Firebird 2.5 with Firedac. I have 3 FDQuery, all with CachedUpdates = true, being 1 MASTER, and 2 detail. In bd, the FK points to the ID of the master table. In the application, mastersource, MasterField and IndexFieldName...
asked by 13.06.2018 / 17:48
0
answers

Create TZConneciton in run time

Good afternoon I'm using Delphi 7 with ZEOS. I need to create a connection in RUN TIME. I'm trying to use the following code Var Connection : TZConnection; begin Connection:= TZConnection.Create(Nil); Connection.HostName:= '127....
asked by 18.06.2018 / 17:02
1
answer

Delphi JSON Encode with TSslHttpCli (Overbyte ICS)

I'm using the TSslHttpCli component of Overbyte www.overbyte.eu and am having problems with formatting my json return, with special characters, I'm consuming google's api geolocation, see return: { "results":[ { "address_co...
asked by 02.06.2018 / 16:45
0
answers

Post_Event in MySQL

Good night, in firebird we have the functionality to create a trigger with the post_event function, in mysql do we have this function? because I have a delphi application that uses mysql and I have a need that using the FiredacFederal from Fir...
asked by 27.05.2018 / 01:24
0
answers

RLBarcode using FNC1

I'm having trouble using the RLBarcode component using Code128C with FNC1, Documentation there is information on how to use but I can not. In my code RLBarcode.Caption what character do I inform to be identified that it is FNC1?    ...
asked by 21.05.2018 / 19:50
0
answers

How to load the XML data into a TTreeView in Delphi in MultiDeviceApplication?

Hello, using a procedure that adds to TTreeView the data of an XML file in VCLForms Application works perfectly, whereas in MultiDevice Application    Error [dcc32 Error] Unit1.pas (56): E2029 '[' expected but '.' found...
asked by 17.05.2018 / 21:36