Questions tagged as 'delphi-xe8'

1
answer

Adding Occurrences in a Memo

I have the following items in a memo: ns ns basica+textura+Al ns ns ns ns basica+textura+Al basica+textura+Al basica+textura+Al basica+textura+Al ns ns ns I would like it to add how many times ns appears. I tried using memo1.Lines...
asked by 23.06.2016 / 16:11
1
answer

Custom DB Grid with webservice data

I'm creating a simple system to test the operation of Delphi with WebService REST, the first test is a search of data in the database that in this case is working everything right, only that when the data is loaded in the DBGrid the visualizatio...
asked by 05.02.2018 / 12:59
1
answer

Add values in the cells in the StringGrid

I would like that when I click on a cell of StringGrid I could add a number and pressing next to it would jump from cell to cell, much like excel , is it possible to do this with this component? > I've tried using keypress ,...
asked by 26.09.2017 / 01:01
1
answer

Get the id of a Panel that is being created dynamically

I'm creating multiple dashboards dynamically according to the number of entries in a database table and data: pnlBtn := TPanel.Create(Self); // Cria o um Panel pnlBtn.Parent := pnlMesas; // seta pnlMesa como parente sTop := FloatT...
asked by 05.01.2017 / 13:29
2
answers

Delete TEdit created at run time

In the click of the button I create some Edits ... So far everything works normally, but when I try to delete the edits created by clicking another button, not all are deleted. Ex. I created 10 edits fields, when I click...
asked by 08.08.2016 / 23:11
1
answer

Check running subprocess

When my application starts I need to check if a third-party program is running, if it is not, I need to start it. The problem is that the program done in Java and when it is running it runs inside the Java itself, as in the image: HowcanI...
asked by 07.05.2018 / 15:06
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

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

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

customFormat LiveBindings Could not find ifthen

I'm trying to use an inverted livebindigs, that is, I have a boolean field that comes from the database and I have to make a button visible when it comes false. I'm putting in customformat ifthen( owner.fieldbyname('tem_movimentacao').asboo...
asked by 05.10.2016 / 20:41