Posts by Edu Mendonça • 2,564 points
103 posts
-
0
votes0
answers13
viewsQ: Auto increment build number does not work
I have these settings for version information when building my Delphi 10.3 project in Field Builder 2.1.745.3. Even if the "Auto increment build number" is checked, the number never increases. How…
-
3
votes1
answer32
viewsQ: Error E2033 Types of current and formal var Parameters must be identical. How To Troubleshoot?
I’m trying to write a Project in Delphi 10. Procedure calls a form I use to display error messages. But when I try to make things work, Delphi gives an error like: [dcc32 Error]…
-
0
votes1
answer23
viewsQ: How to Disable a Tbuttongroup Item
I was wondering if there’s a way enable / disable the items of a Tbuttongroup or at least add the property to it? And I’ve tried it in the following ways.…
-
0
votes1
answer29
viewsQ: How to Disable one of the items in a Tlistbox!
I wish I could be Disable one of the items in a Tlistbox. And I’ve tried the following ways and I haven’t succeeded. ListBoxMenu.ItemIndex(0).Enabled := False; ListBoxMenu.ItemIndex[0].Enabled :=…
-
2
votes2
answers38
viewsQ: How to stretch a form only the width?
I wanted to know how to stretch a form only right or left by preventing it from stretching down and up. I checked the website http://docwiki.embarcadero.com/ who the forms have this property but…
-
1
votes0
answers23
viewsQ: What is and what is the GDI Scaling for
I just installed the newest Delphi and I realized this GDI Scaling Someone knows how to say it is, what it’s for and how it works?
-
0
votes1
answer63
viewsQ: What are the advantages and disadvantages of using Auto Increment Field in Firebird?
I’ve heard of some people who use Campo auto increment can give complications in the database on account that it can make several jumps in the numbering and even get lost in the counts. I don’t know…
-
1
votes1
answer81
viewsQ: What’s the difference between Owner and Parent?
I want to know the difference Owner for Parent at Delphi?
-
0
votes0
answers62
viewsQ: Can’t enter Memo by clicking the mouse
In my project I have a TMemo and a TDBMemo, all of them have implemented an input and output event of the component, from a while to here began that error of not being able to enter the memo by…
-
2
votes0
answers37
viewsQ: Tmemo.Caretpos how it works and how to use this command?
I am wanting to position the text cursor in a certain position, in a normal situation would just click on the position only that I do not know what happened is not working. Reading the command on…
-
-1
votes1
answer84
viewsQ: What would be the code to simulate the inverse of the tab
I have a project in which I open a form inside the other, and with this in the secondary Forms the Onkeydown event instead of going to the secondary Forms are going to the Main form, more if I press…
-
1
votes1
answer57
viewsQ: Close a form is closed all
I have 2 Forms in a Delphi application. When I open the system to register I open the two Forms, the main and the registration. The problem comes when I try to close the registration form because it…
delphi-10asked Edu Mendonça 2,564 -
2
votes1
answer29
viewsQ: Using case to match fields
I have the following structure --------------------------------------- |DT_Ven | VLR_CONTA|DT_QUI | VLR_QUI| |-------------------------------------- |30/07/20| 84,00|NULL | 84,00| |03/08/20|…
-
2
votes2
answers109
viewsA: CONSULT DATA FROM A FOREIGN KEY TABLE
That must be about what you’re looking for. SELECT Cliente.NOME, Produto.NOME FROM Vendas LEFT JOIN Cliente on (Vendas.IDCliente = Cliente.IDCliente) LEFT JOIN Cliente on (Vendas.IDProduto =…
-
4
votes1
answer564
viewsQ: How to check if a process is running on the server?
Thinking about the nescidade of verifying if a certain application is running on the server, I came to mind if you have how to do this checking using Delphi and if positive as it would be? In case,…
-
1
votes1
answer189
viewsA: Construction CASE Firebird
For what it says in firebirdsql.org, in the CASE will only accept as a result values literal or variables, compound expressions or NULL literals. only your code is missing a fine the Operator "=" in…
-
3
votes1
answer138
viewsQ: How to Know if the Form that is the son of a Tpanel is open
Opa! I have a question. How to know if a form assigned as a child of a TPanel this fir? My form is being created like this: if not(Assigned(Form2)) then begin Form2 := TForm2.Create(self);…
-
1
votes2
answers167
viewsQ: With SQL query adding extra column that does not exist in table
You can see that the countryside ORCAMENTO.DATA_VENDA, is duplicated isn’t it? Well, I don’t know how to make it more precise than the field ORCAMENTO.DATA_VENDA, come as null(As if I deleted the…
firebirdasked Edu Mendonça 2,564 -
1
votes1
answer36
viewsQ: Handling of temporary text files
I am trying to manipulate a text file on my system, in it will have to contain the name of the machine that the system is running. Only I can’t write in that file. Ps: The purpose of this file is…
delphi-10asked Edu Mendonça 2,564 -
1
votes2
answers89
viewsQ: Error leaving the Formshow
I’m trying to figure out a mistake that I don’t know exactly where it’s generated. whenever I have to open one of the screens of the system it passes by 2 Procedure, (I go through them just below)…
-
4
votes3
answers858
viewsQ: Windows service does not start automatically
I just implemented a Windows service I just can’t get it to turn automatically when the windows is started. I don’t know if it was some thing in the programming or some configuration of the windows.…
-
1
votes1
answer132
viewsQ: Breaks lines in creating the . pdf with Synpdf
My question is this. I have a String with more than 6000 characters and need to put the contents of this variable in a file .pdf. only that saved to pdf the text is in a single line, it does not…
delphi-10asked Edu Mendonça 2,564 -
1
votes1
answer49
viewsQ: Creating Run Time Components in Windows Service
I’m trying to make a Windows service in the Delphi 10.2 and in one of the procedure I need to create a TMemo only when I execute this error below. Project AutoPub.exe raised exception class…
-
1
votes1
answer92
viewsQ: What are Containers and Docker?
What are Containers and Docker in a developer’s view? what they are used for and how important they are in a software project?
-
3
votes1
answer208
viewsQ: How to Shuffle Characters from a String in Delphi
Would it have any function to shuffle in Delphi to shuffle a string. String Ex := 'wooden house'; Return ex := 'medr ci saedaaa';…
-
1
votes1
answer1915
viewsQ: How to read a file . Json by Delphi
I’m having trouble reading a file .Json by Delphi. My intention is to read and paste its contents into the database. I already visualized some links more not one answered what I wanted. Dry the…
delphi-10asked Edu Mendonça 2,564 -
3
votes2
answers642
viewsQ: What is SQL dialect 1 and dialect 3?
I don’t understand very well with these database deals but it made me curious these SQL dialect. What SQL dialect? What is the difference between SQL dialect 1 and SQL dialect 3? And what’s the…
-
1
votes1
answer172
viewsQ: Summarize fields with direct calculations in sql query
I don’t know how to do it I’ve tried almost all day and I can’t if any can help... The problem is I have to add a field that is sine calculated in the direct sql query. Sql: SELECT…
-
1
votes2
answers98
viewsQ: Tdbgrid with Multiselect selected with one Click
I’m going through the following problem with a TDBGrid. That one TDBGrid is with the option dgMultiSelect active. The problem is, I want, with one click the line to be selected as if it had pressed…
-
1
votes1
answer264
viewsA: How to move Form with Borderstyle in bsNone
I found this in a forum, See if it works. procedure TFormPrincipal.ImageFundoMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer); const sc_DragMove = $f012; begin…
-
1
votes1
answer985
viewsQ: External exception C0000006
This week I’m hitting myself on this mistake on some machines where the system is running. Excepção externa C0000006 EXCEPTION_IN_PAGE_ERROR The machines have access to the system through a shared…
-
1
votes2
answers375
viewsQ: Format Date by Capitalizing the Month
I know there are several other topics of date formatting but I did not find one with my doubt... According to the documentation of Delphi the date is formatted according to the table below. d…
-
0
votes1
answer206
viewsQ: Is there any way to hide the scrollbars from Tlistview?
Would have as Withdraws or Deactivate or Hide the Scrollbars vertical of TListView I didn’t find an option for this in the Object Inspector. When I put in the ViewStyle vsReport there appears a…
delphi-10asked Edu Mendonça 2,564 -
1
votes1
answer1307
viewsA: Error opening/creating Firebird database
To resolve the message "ibexpert unsuccessful Execution caused by an unavailable Resource." do so: Check if the server of Firebird is active. Check whether the door 3050 is released in the firewall…
-
6
votes2
answers139
viewsQ: What are the consequences of leaving the system without closing the tables?
What are the consequences of Quit / Quit of a system without closing the database tables? This harms something in the database? I should or should not close the system tables? procedure…
delphiasked Edu Mendonça 2,564 -
0
votes2
answers330
viewsQ: Topenpicturedialog does not take the path from the Images folder
I have in my form a component TOpenPictureDialog to open the Images on a system, only instead of it taking the full path of the image file it only takes the alias. Ex How I need : 'C: Users User-03…
-
1
votes1
answer100
viewsQ: Error set Parameters value in Query
I got a problem with that SQL in the Lazarus with Zeos and Firebird every time I perform the procedure of error. I’ve Already Added Parameters in the Component TZQuery. Error message: [Notificação…
-
2
votes1
answer558
viewsA: What is the difference between a Mediator Class (Interposer Class) and a Helper Class (Helper Class) in Delphi?
Class Mediator One Class Mediator (Interposer Class) is a class that, hierarchically speaking, stands between a classe ancestral (from which it derives) and the declaration of a object of the type…
-
4
votes0
answers721
viewsQ: Fastreport 5.6.2 - Why didn’t you generate . bpl files
I performed the Procedures to install the Fastreport in the Delphi 10.2 I compile the sources of Fastreport but the files .bpl does not appear in the Folder. What must be done? I followed those…
-
1
votes1
answer148
viewsA: Open file . pas by explorer in win10
Change default programs in Windows 10 On the menu Initiate , select Settings . Select Apps > Standard apps. Scroll to the bottom and click "Set patterns by application” Select the default…
-
2
votes1
answer547
viewsQ: Open word file by Delphi
I have a system that integrates with MS-Word I can do almost everything on it, just can’t open the document and leave it as read-only so that the user can not make modifications. currently my code…
delphiasked Edu Mendonça 2,564 -
2
votes1
answer1139
viewsA: Firebird - function for decimals and thousands
Try that one cast(tb.SEU_FIELD AS NUMERIC(15,4)) as Saldo or cast( replace(tb.SEU_FIELD,',','.') as decimal(18,4)) These are the only ways I know to format the numbers.…
-
2
votes0
answers105
viewsQ: Error saving Word document to Olecontainer
Situation is the following I have a system that makes automation of the Word and at the time of salvage the document he is not saving. It is not what it is, because it only occurs in the Client.…
-
2
votes3
answers1433
viewsA: How to create list in Haskell
Given any list xs... you can find here the function you are looking for (it is in the item 1.2) and more. Basic Get the list size. length xs Turn a list back to front. reverse xs 1.2. Find / search…
-
5
votes1
answer373
viewsQ: Integrating Delphi to Word (enabling Save Word button)
Some time ago I created a system that integrates the MS Word with the Delphi, only that the button of Save Word gets disabled. It would be important that this button was enabled, because it is…
-
2
votes1
answer1114
viewsQ: Saving formatted text in the Firebird database
I know you have a similar question to that, but it’s for tag C# Has with Save formatted text in a TRichEdit in the Firebird? What would be the data type of field that makes this recording possible?…
-
2
votes2
answers688
viewsQ: Delete a line in Dbgrid without deleting in Database
Could erase one or more lines from a given Dbgrid without deleting the database record? I was trying something like this but it didn’t work. while not DataModuleGeral2.qryAudienciasInicial.Eof do…
-
2
votes2
answers839
viewsA: How to make a Javascript mask for type tel?
I found this Code and it’s working. See if it fits you. <html> <head> <title>Mascara Telefone</title> <script type="text/javascript"> /* Máscaras ER */ function…
-
5
votes1
answer84
viewsA: Directshow9 Delphi 7 error
This fatal error occurs when the symbol declaration declared on the interface part of a drive has been changed and the compiler cannot recompile a drive that depends on this statement because the…
-
6
votes1
answer801
viewsQ: Change Inputquery Box Size
The InputQuery is a message where we can enter a certain value, but changing the value of the variable passed as reference, see its structure : //Função InputQuery function InputQuery(const…