Questions tagged as 'delphi'

0
answers

Save Image WebBrowser Delphi

I get a picture of an IP camera and display it in a TWebBrowser I would like to save that image to a folder. The generated HTML source code is this: <!DOCTYPE html> <html> <head> <title></title> </head>...
asked by 20.10.2017 / 03:28
0
answers

There is an object that is lighter than Trectangle and can apply background color,

I'm using firemonkey (FMX) and I made a list of times with TRectangle and label, because using ListView it does not look very pretty. Home It turns out that when there are a lot of records (something around 20), it can not open on...
asked by 05.10.2017 / 21:41
0
answers

Make an inputQuery replace a variable in word if the condition is true

I'm working with delphi and need a method that does the following in the open word document look for a variable '@Name' if it finds the variable '@Name' open an inputQuery for the user to enter the new value of the variable and then replace the...
asked by 06.10.2017 / 14:34
1
answer

Calling CreateParams of an inherited component

I have a component inherited from a TEdit . I already have an override of CreateParams and by default it has the following parameters: Params.Style := Params.Style or WS_CLIPCHILDREN or ES_MULTILINE or ES_AUTOHSCROLL; But sometimes,...
asked by 27.09.2017 / 16:28
1
answer

How to send Delphi parameter to JavaScript?

procedure TForm2.Button1Click(Sender: TObject); var arquivo : string; begin arquivo := 'teste.pdf'; WebBrowser1.Navigate('C:\zLocal2016\src_Teste\PDF_atual\pdf\web\viewer.html'); end; I need to pass the file variable that is in Delphi...
asked by 27.09.2017 / 18:43
1
answer

DataSnap with FireDac

In an application with DataSnap, I used SQLConnection : procedure TForm1.Button1Click(Sender: TObject); var ConectaServidor : TUClasseServidorClient; begin ConectaServidor := TUClasseServidorClient.Create(SQLConnection1.DBXConnection); try...
asked by 25.09.2017 / 18:30
1
answer

Service Application Delphi

How to mount a function inside the service application that calls a .exe ? I have tried everything from winExec, ShellExecute, to creatProcess but it is not working, someone has knowledge in the area to help me.     
asked by 22.09.2017 / 16:10
1
answer

How do I adjust the size of items in a TListView

I would like to ask you about a difficulty I am facing. TListView is set to Appearance as DynamicAppearance . I would like to break those products that have additional, for example, the first product has 2 additio...
asked by 22.09.2017 / 15:02
2
answers

Problem opening form inside panel

I'm trying to open a form inside a panel in Delphi, but apparently the form opens with the same panel size, but outside it. I did so ... UniForm1.Parent := UniPanel1; UniForm1.Show;     
asked by 15.09.2017 / 16:49
1
answer

Access violation with FindDragTarget

I need to detect what kind of component the user has clicked on. For this I am using the following check, every time the left mouse button is clicked: if FindDragTarget(Mouse.CursorPos, True).ClassType = TEdit then //Código However, when th...
asked by 07.08.2017 / 21:49