Questions tagged as 'object-pascal'

1
answer

Function for popular TTreeview only adds childs to the first node

I created this procedure to populate a treeview: procedure TFrmGerProfDock.Button1Click(Sender: TObject); Var Tables: TTreeNode; I: Integer; begin for I := 0 to ds.DataSet.FieldCount - 1 do begin TreeView1.Items.BeginUpdate;...
asked by 25.06.2015 / 16:52
2
answers

Doubt to "check" a radiobutton when clicking on an image

I have these 3 images with 3 RadioButtons different, I would like to click on the image of the blank square for example, its RadioButton is selected. I used radiobutton3.checked in event OnClick of image but did no...
asked by 13.06.2016 / 20:30
1
answer

How to solve problems in TIdFTP upload in Object-Pascal?

I have found a way to upload to my FTP server, but I have noticed that files with a weight greater than 1 KB arrive damaged, so I ask for your help to solve my problem, the mode used was the image below, how to resolve this problem?     
asked by 16.01.2016 / 14:05
2
answers

How do I know if there is a selected row in the DBGrid?

How can I tell if there is a selected row in my DBGrid. In this case below: Thepointerisselectedinthedataset,butIwantedtoknowwhenthegridlookslikethis: In this case would it be only if it the line is "painted", if so how to know? I tried...
asked by 14.07.2015 / 04:31
1
answer

How to delete directories containing sub directories and files on an FTP server in Delphi?

I've been trying to get my Delphi 2010 application to remove a directory on an FTP server, I've used TIdFTP for this task with the "RemoveDir" command, but the process fails, because according to the application the directory does not is empty....
asked by 02.02.2018 / 15:28
1
answer

Delphi registry key permissions

Windows security settings often do not allow registry keys to be changed by the user. As is the case with the key: "HKEY_LOCAL_MACHINE \ SOFTWARE \ Microsoft \ Windows NT \ CurrentVersion \ Schedule \ TaskCache \ Tree" that manages the softwar...
asked by 16.08.2016 / 22:33
1
answer

Lazarus invalid debugger

I installed: Lazarus 1.4.0 / FPC 2.6.4 Lazarus WinCE Cross Compile inside the C: \ Lazarus folder In Lazarus I made the following configuration: 1 - link 2 - link 3 - link I created a form with a button to test only, when ru...
asked by 23.06.2016 / 22:11
1
answer

How to put shadow on a label in Delphi?

Hello, I wanted to know how to put shadow on a label in Delphi like this one in the image below:     
asked by 21.06.2015 / 03:27
0
answers

How to supply the absence of the TTreeView LoadFormStream in the Delphi RAD XE10 MultiDeviceApplication?

I have been trying to give a LoadFormStream to TTreeView so that it loads the data of a TStringStream in Delphi RAD XE10 MultiDeviceApplication mode, but I noticed the absence of this option ( TreeView1.LoadFromStream(Str...
asked by 16.05.2018 / 00:18
0
answers

Doubt: Tags as in Emails or Forums on Delphi / Lazarus

I'm new with programming. I have two forms of customer registration. I have two other forms where I register some products, the quantity of products should vary more or less by 5 to 30 products at most (expectation). They are two forms, becau...
asked by 21.03.2018 / 18:25