Questions tagged as 'delphi'

1
answer

Remove noise, dots and image strokes

I'd like to know how I can process a captcha image to remove noise, traces, and dots. Here are some examples of how you are and how I would like you to stay. Original Image: AdjustedImage:     
asked by 23.11.2015 / 13:33
2
answers

Data types incompatible with calling procedure

I'm having trouble calling the following procedure on my form : procedure TDM_Maquinas.IBDSMaquinasCOD_LINHASetText(Sender: TField; const Text: string); begin if Text <> '' then begin if Text = 'Linha 1' then sender.A...
asked by 24.08.2017 / 22:46
1
answer

Indentation in a TEdit

Is it possible to indent a text within a TEdit or a derived component (eg TLabeledEdit )? If so, how? I do not want to align it ( Left, Center, Right ), I just want to indent it, as if it were the first line of a paragraph. The...
asked by 16.11.2016 / 17:15
1
answer

Print OleObject ("word.application") with delphi

I'm trying to print a range of pages from objeto co_de OleObject to ("word.application") and I'm not getting it. Using delphi 6 I can print successfully, but I want to print a range of pages. Thank you very much...
asked by 24.06.2014 / 20:55
1
answer

strongsReport in Delphi

Would anyone have a mini application for me to learn about the operation of the strongs Report? I've already done a report with the strong report, but what I'm hooking on, is that I have to put a Bane SubDetails so I try to reference 2...
asked by 27.05.2014 / 16:28
2
answers

How do I persist database objects in Delphi?

Work with Delphi, but always procedurally and using Data-Aware components. I recently started reading a few things about working with POO in Delphi, and I've done some pretty basic examples, my doubts are these: How can I work with a class (T...
asked by 09.02.2014 / 16:54
1
answer

Migration, Delphi and Firebird. What is the correct way to deal with the encode question?

I have a project in Delphi 7 that makes use of Firebird. I'm thinking of migrating this application to a Delphi XE * version. However, we know that since Delphi 2009 the String pattern is Unicode and not ANSI anymore. My Firebird database...
asked by 05.02.2016 / 19:24
2
answers

Update client dlls [closed]

I have software that communicates with a MySQL 4.1.14 database. I installed a new server for Mysql 5.6 tests, but when I communicate with the new database, the message that the client does not support the authentication protocol requested by...
asked by 21.05.2015 / 18:17
3
answers

Open Form2 side by side with Form1 simultaneously and close or minimize both simultaneously

I need to open 2 forms simultaneously next to each other and then when I close or minimize one of them, the 2 are closed / minimized simultaneously. I looked for some idea on several sites and all I found so far was the following code that shows...
asked by 22.09.2015 / 02:00
2
answers

Comparison of variables of different type with conversion returns incorrect result

I have the following code var Valor1: string; Valor2: Double; begin Valor1 := '150.15'; Valor2 := 150.15; If StrToFloat(Valor1) = Valor2 then ShowMessage('Iguais'); end; In this situation, sometimes Delphi understands that t...
asked by 14.06.2018 / 18:14