Questions tagged as 'delphi'

1
answer

Add line RichText Delphi

Good afternoon I have an application that text has to have Bold, italic and underlined so I am using a TRichText. So far so good For the same to work in print I did RTRLrichText which gets the TRichText values. However ... if I insert lines i...
asked by 08.12.2017 / 16:56
1
answer

Execute a procedure while the component is pressed

I have a multi-device application made in Delphi-XE8, in it I have a rocket image ( TImage ) and other 2 arrows, I would like the rocket to move on the X axis of the screen (% ), but with the current code the user would have to press sever...
asked by 08.12.2017 / 19:33
1
answer

Restore minimized application (Login)

I have an application in Delphi that the login screen appears before the main screen, it is actually created and opened during the Create MainForm >. If the user minimizes the application on the login screen and tries to restore applicat...
asked by 14.11.2017 / 17:51
1
answer

Return number of rows or columns of an array

I have an array like this in Delphi XE8: Matriz[2][3] . I would like to know what method I can use to return the number of rows or columns in this array, my idea is to loop with 2 for 'if I scroll through the array elements by in...
asked by 06.10.2017 / 20:44
1
answer

DELPHI function for PHP

I'm reprogramming a system from a client and need to convert a function in Delphi to PHP to complete a system step and I'm having trouble with that ... could you give me a help .. thank you in advance .. follow the code below that needs to be co...
asked by 17.11.2017 / 03:03
1
answer

Prevent downloading TWebBrowser Delphi

I have 1 WebBrowser that when loaded a URL it should load an image according to a query in the DB. It happens that the first time the request is made, it opens the screen to save that image, if closing this window it proceeds normally. Any way t...
asked by 21.10.2017 / 02:51
2
answers

Dynamic component name Delphi

In jQuery we can reference an element of the form below: var tipo = "B"; $("#campoTipo"+tipo).val("Teste"); that would be the same as: $("#campoTipoB").val("Teste"); I need in Delphi, disable some buttons that depend on a Query proce...
asked by 24.09.2017 / 01:53
1
answer

Using 'this' in Delphi

Just as there is 'this' in JavaScript, what is the equivalent in Delphi? And how would I use it? I want to replace the 'UniButtonX' of each procedure with a 'this' equivalent to the clicked button. procedure TUniForm1.UniButton1Click(Sender: T...
asked by 14.09.2017 / 18:55
1
answer

How to get the mysql table id for a combobox

My question is I have a combobox in the application and this combobox is populated with data coming from the mysql database so far so good. I throw the data in a DataSource to feed the combobox however when the user chooses a result of the combo...
asked by 14.09.2017 / 17:06
1
answer

User authentication service for desktop applications?

I'm developing a desktop application in delphi, but I do not want to build the part that controls user access because I do not really know this part and time limit. I would like to use an online service for such a task. Does anyone know a servic...
asked by 09.08.2017 / 03:46