Posts by Johni Douglas Marangon • 393 points
7 posts
-
1
votes2
answers211
viewsA: Filter a file
Contributing to the answer I would use regular expressions to solve your problem, it is simpler and efficient. A 10,000 dollar purchase was opened and processed in 2 seconds. See the code. var…
delphianswered Johni Douglas Marangon 393 -
2
votes2
answers3095
viewsA: Reading txt file with multiple columns to insert in Tlistview
.You can use the following code to do this. That way it gets more elegant is efficient. procedure TForm1.Button1Click(Sender: TObject); var Coluna, Linha: string; Colunas: TArray<string>;…
delphianswered Johni Douglas Marangon 393 -
0
votes2
answers2020
viewsA: RAD Studio XE6 does not connect to any database!
I had a similar problem while trying to connect with a Postgre database using Firedac on Delphi XE6. The solution was to return the DLL version "libpq.dll" to 9.2.2.1317. In Firebird connected…
-
4
votes3
answers1370
viewsQ: Use of parameters in the "in" clause in a Tibquery
I have the following SQL command in the SQL property of a Tibquery component in Delphi. SQL command used in the component with parameters: select pro_codigo, pro_nome from produtos where…
delphiasked Johni Douglas Marangon 393 -
8
votes4
answers47612
viewsQ: Pin the footer of an html page and follow the page content
I need to pin the tag footer at the end of the html page, but when the content exceeds the page by tag footer should follow the content and not be fixed. See the CSS code is the HTML code I’m using…
-
6
votes6
answers7569
viewsA: Use of global variables and class variables in Delphi
The memory allocation process of a class variable using the class var is the same as a global variable. The only difference is that the variable declared as class var will have a class scope.…
-
8
votes6
answers7569
viewsQ: Use of global variables and class variables in Delphi
I have some questions regarding the use of global variables and class variables using class var at Delphi. Declaring class variables with class var. unit Unit1; interface type TClass = class public…