Questions tagged as 'delphi-xe6'

1
answer

Write and Use images in database (Delphi and MySQL)

Hello, I would like to know how to write images (.jpg, .png, .bmp, etc) in the MySQL database using Delphi XE6. I would like to use TDBImage, if possible, to show the images already recorded in the database. Where it stores the image in MySQL is...
asked by 13.02.2018 / 17:54
1
answer

How do I install the Chromium package in Delphi?

I was using the TWebBrowser component which is based on Internet Explorer, however I have noticed that it runs the HTML5 pages in a disfigured way, I heard about the FireFox package, but it did not run in Delphi and was shown to be very heavy, s...
asked by 18.08.2015 / 00:28
1
answer

How to get the value of a property and how to get the property where the attribute is declared?

Let's say I'm creating an Attribute like this: TCompareAttribute = class(TCustomAttribute) private FPropertyToCompare: string; public constructor Create(APropertyToCompare: string); function IsValid: boolean; end; implementation ... fu...
asked by 25.02.2015 / 15:18
2
answers

Generate RES (stringtable) file from a unit resourcestring

I am studying some sources on how to internationalize software, and in the example I have the software has a unit with constant strings (captions, etc), something like: unit Resources; interface resourcestring CompanyName = '***'; implementa...
asked by 26.01.2016 / 08:36
1
answer

Load items in a combobox from the select of another combobox

I have a Combobox that lists school units coming from my DB. Here is the code: _fastcall TForm1::TForm1(TComponent* Owner) : TForm(Owner) { QueryUnidade->Close(); QueryUnidade->Open(); while (QueryUnidade->Eof == false){ ComboBo...
asked by 03.12.2015 / 14:13
1
answer

Problem when inserting into a SQLITE table using RAD STUDIO XE6

Good afternoon, I am having a problem in my code, I use Rad Studio XE6 connected to an SQLITE base, when I insert values with point in the table the following error occurs for example = 'near' 6.75 ": syntax error 'being 6.75 the value, when I p...
asked by 09.09.2014 / 20:43
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 get the mysql table id for a combobox

My question is I have a combobox in the application and this combobox is populated with data coming from the mysql database so far so good. I throw the data in a DataSource to feed the combobox however when the user chooses a result of the combo...
asked by 14.09.2017 / 17:06
2
answers

Connection between MySQL and FireDAC closes the application when it is activated

I developed an application that uses FireDAC to connect to MySQL. But when I try to open it in a station, when the Connected := True is set, the application is closed, without returning any Exception. I wrapped the code in a try...exce...
asked by 15.06.2015 / 16:32
1
answer

Problems with the text listview above the icons

This happens on Android and IOS. When the store name or store name is too large, the text is over the image. And the client wants the image on the right side, and on the left side I do not have this problem with the images. Text is aligned...
asked by 27.11.2014 / 15:19