Questions tagged as 'delphi'

2
answers

How to register Datasnap service classes in runtime in Delphi XE7?

In Delphi XE3 I could register my service classes by doing the following: type TRegisterServices = class class procedure RegisterServices(AOwner: TComponent; DSServer: TDSServer); private class procedure RegisterService(AOwner:...
asked by 02.02.2015 / 21:32
1
answer

Color Listview Delphi Line Android

How to change the color of a Delphi / Android listview line? To have the color changed as some condition is true: se a = 1 then listview.linha?.? := clBlue entao listview.linha?.? := clRed;     
asked by 20.10.2015 / 19:17
1
answer

Automating Inner Join using LookupComboBox component

Sometimes I use the TDBLookupCombobox component to bring up a list of a dataset lookup field, this approach streamlines some things but is quite limited. For example I have a list of stores in one TDBLookupCombobox and another a list of clien...
asked by 21.02.2015 / 08:29
3
answers

Update secondary form without changing primary focus

I've developed a program in Delhi that has two forms , one with a grid and another with a map, the operation is simple: of the vehicle is updated on the map, the problem is that every time I call the procedure on the map form to update the...
asked by 03.02.2014 / 05:45
1
answer

Delphi Cut Screens in Windows 8 (Flashing)

How to not 'cut' the Delphi Screens in Windows 8? The system was running fine on Windows XP. I went to Windows 8 and noticed that some screens are cut (you can read the top and bottom). Checking the relationship of components x problems, ap...
asked by 07.02.2014 / 13:03
1
answer

Count Items in a ListView

I need to count how many items I have added in a listview , I did the following: LV1.Items.BeginUpdate; try for i := 0 to LV1.Items.Count-1 do Label11.Caption := inttostr(i+1); finally LV1.Items.EndUpdate; end; end; It wo...
asked by 20.04.2014 / 04:26
1
answer

webservice rest to receive an xml in delphi

Good afternoon. A client wants to send me an .xml file I created a DataSnap Rest Application project. I implemented the method as follows for JSON function TFo_SM_Fornecedor.updateFornecedor(TObjJson: TJsonObject): TJsonValue; Var Forneced...
asked by 25.06.2018 / 21:22
0
answers

MySQL Cached Web Base [closed]

Good morning, I have an application developed in Delphi 2010 with MySQL, the base is in server on the Web, a few days ago they migrated this server and updated the version of MySQL, since then I have had a problem, when one of the clients ins...
asked by 27.10.2017 / 15:25
1
answer

Form does not download from memory

Hello everyone, I need help. My form does not download from memory so I can not call it again. Here is the code below: If formage=nil then Begin I create form and no onclose of form Action:=cafree: Formage:=nil Doe...
asked by 07.11.2017 / 01:18
0
answers

Problem when trying to exclude with a delphi 5 a dll made in C # using COM

I have a DLL that I use to make PDF's digital signature created in C # (Digital SignaturePdf.dll), it in turn uses a dll that handles PDF files (itextsharp.dll), I load it into Delphi and execute signatures without problems . I've embedded th...
asked by 09.11.2018 / 18:27