Questions tagged as 'delphi'

0
answers

How to create properties of similar components RowSpan, ColSpan Delphi with GridPanel

I am creating a component inheriting from the gridpanel. When I add a label, edit, or other component on the gridpanel, the edit, label ... component appears in the Row, Col, RowSpan, and ColSpan properties. How do I create a new property equal...
asked by 20.04.2018 / 20:08
1
answer

Delphi Treeview with BD link

Good afternoon, I have created a treeview with the data that is in a table in the DB, and has a field that contains the name in the form. How to do to give a showmodal in the onclick event of the Treeview getting the name of the form that is in...
asked by 17.04.2018 / 20:08
0
answers

FastReport Half Sheet Printing

I have a problem with half sheet prints in FastReport. I migrated my code from Delphi 2010 to xe10 , before it worked normally half-leaf printing, but when I changed the version of fast, it was 4.9 now 5.6 at the ti...
asked by 12.04.2018 / 15:54
0
answers

SynPDF Library x Delphi - "Out of memory" when exporting images to PDF

Use the SynPDF library in Delphi to generate PDFs of system reports. The generated report ( pReport ) allows at run time through a loop I to go through all the generated items ( label's, shape's, images and etc ) and within that loop I g...
asked by 12.04.2018 / 13:40
0
answers

Error ListView Event for Round Images

I have a listview linked to an FDMemTable, in the event: TForm31.ListView1UpdateObjects(const Sender: TObject; const AItem: TListViewItem); I do the following to leave the round photos: var imagem : TListItemImage; begin imagem := AItem....
asked by 09.04.2018 / 15:19
0
answers

"MainMenu Designer" in Runtime

In designer mode it is very easy to set up the main menu of an application with Delphi, and I also know how to set up a menu via Runtime code. But what I'm trying to do is enable the end user to work on the menu through the " MainMenu Designer "...
asked by 20.03.2018 / 18:55
2
answers

Delphi arendation values

I have the following problem: | Result | 10 / 0,9280 = | 10,77 | 10 / 0,8740 = | 11,44 | 214,35 / 0,9280 = | 230,98 | Note: This information is stored on the server with rounding, just like the example. Now if...
asked by 22.03.2018 / 14:53
2
answers

How to change the background color of a list item in a ListView in Delphi 10

In Delphi 10 with Firemonkey, at runtime I need that when I click on a list item in a TListView, the background color of this item is changed and it stays anyway so I click on another item. Then, even if you click on another item, the background...
asked by 16.03.2018 / 17:30
2
answers

Lazarus Debugando

In delphi in debug mode I can check the value of a field, for example: if Edit.text = '' then If you hover over Edit, I can see the value of the field. How do I do this on Lazarus? Or if there is another way to view the field values in d...
asked by 13.03.2018 / 21:12
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