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...
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...
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...
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...
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....
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 "...
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...
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...
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...
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...