Questions tagged as 'object-pascal'

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
3
answers

How to list files and sub-directories in Delphi?

I created a project in Pascal-Object and at a given time it should list all the files and subdirectories located in the Desktop in tree, I found some examples in the WEB, but none was useful enough, because it only listd superficial directories...
asked by 08.02.2016 / 17:21
1
answer

How to install the TIdHTTP component in Lazarus?

I noticed that Lazarus does not come by default with the component TIdHTTP , unlike Delphi , but I imagine it's possible to instantiate the component somehow. p> How to install?     
asked by 16.12.2015 / 01:35
1
answer

How to leave a semi-transparent Delphi form?

Hello, to be simpler to understand, see the example below, thank you for reading my question!     
asked by 11.06.2015 / 20:30
2
answers

How to convert a String to TNotifyEvent in Delphi?

I want to change the OnTimer event of a TTimer in my project at run time, I tried as follows: Timer1.OnTimer:= ('close'); But Delphi reports this: (E2010 Incompatible types: 'TNotifyEvent' and 'string') , how can I convert String...
asked by 29.10.2015 / 01:31
1
answer

How to use Windows variables in Delphi?

Hello, I'm creating a project in Delphi , however, it needs to create some files, it would not give a good impression if it did this in the place where it is, so I need these files to be created in the temporary Windows folder to avoid any...
asked by 06.06.2015 / 19:27
1
answer

How to upload to an FTP site?

Hello, I have an FTP account in a domain, it is password protected but I need a Delphi application to upload files instead of FileZila and others. How can I upload files? I tried according to some sites and in none of them I was successful, you...
asked by 02.11.2015 / 15:00
2
answers

How to display letters of removable disk drives in Delphi?

Hello, I need to have a "ComboBox" display the letter of the volumes of the pen drives that might possibly be connected to the computer, how can I do this?     
asked by 17.06.2015 / 15:26
3
answers

Read line txt and include ";"

I have a txt file whose lines have the following data: 0 02 020 0201 020110 Z DEMONSTRAR COMPETÊNCIAS PESSOAIS 1 Primar pela correção de atitudes This way I can not import the data either to excel or to mysql, since the words do not have th...
asked by 27.01.2017 / 17:58
1
answer

Lazarus - Error executing program with fpCEF

I'm having trouble following this simple tutorial to build a WebBrowser using fpCEF. I downloaded the latest version of fpCEF from Github , for CEF version 3.2526, and its binaries I got from CEFBuilds (the only trusted place I found tha...
asked by 20.06.2016 / 06:15