Questions tagged as 'delphi'

1
answer

FDMemTable losing data when using Filter

I created an FDMemTable, at runtime, with the following structure: Cds_NaMenu := TFDMemTable.Create(nil); Cds_NaMenu.FieldDefs.Add('ID', ftInteger); Cds_NaMenu.FieldDefs.Add('MN_TELA_CODIGO', ftInteger); Cds_NaMenu.FieldDefs.Add('MN_MENU_PESQU...
asked by 01.08.2017 / 22:28
1
answer

Fast Reports tools do not appear on tool palette

I'm using Delphi-XE8 in a project that requires the creation of forms from DB (FireDac) data, before my team used the Delphi-XE4 version, which used the external Rave Reports from Nevrona, but it is not compatible with the version we will use...
asked by 11.08.2017 / 19:05
1
answer

Using TDBComboBox component

I have the following problem, when I select an item in the TDBComboBox when exiting the component it automatically selects the last record. DM_BancoInsumos.IBQCons_ForneInsumos.Close; DM_BancoInsumos.IBQCons_ForneInsumos.Open; DBComboFornecedo...
asked by 08.08.2017 / 00:31
1
answer

Delphi Datasnap Callback - Prompt the Client about something

I'm now starting to implement in Datasnap. I searched a lot but I did not find a solution, maybe because of my inexperience, I was letting something very simple go by. I need to find a way to send a message to the clients connected to the ser...
asked by 11.08.2017 / 13:08
1
answer

Serialization Mormot Object with ArrayDynamic

type TRecordInstructions = record TextInstructions : RawUTF8; end; TArrayInstructions = array of TRecordInstructions; type TDoctoVO = class private p_customer : Integer; p_messages : RawUTF8; p_expire...
asked by 19.07.2017 / 21:37
1
answer

Firemonkey file sharing

I'm new to firemonkey and I think my question is simple. I have a table in sqlite with some info and I exported this data to a txt. Now I want to email this txt. How do I share this file on android?     
asked by 31.07.2017 / 14:22
2
answers

Lazarus comparing Dates

In the data collector I can configure the Data format, but I want to do this setting inside my application, I am trying to do it as follows: FormatSettings.ShortDateFormat := 'dd-mm-yy'; ShowMessage(QueryTesteDT_PALLET.Text); // Resultado: '06...
asked by 06.07.2017 / 21:29
0
answers

DbGrid with following error out of memory

I'm having the following error in the DBGrid.    out of memory - dbgrid This error is only occurring in Windows XP.     
asked by 03.07.2017 / 16:17
1
answer

Flashing Error (could not get ole control window handle) Delphi

Good morning, I have an application that runs on 8,000 machines, however, I'm having a mistake on a small plot (average of 100) every day. I get msg (could not get ole control window handle) and can no longer close this msg on screen until the a...
asked by 27.06.2017 / 20:19
1
answer

Create Graphs with TSimpleGraph

I need to create graphs in the interface of my program, the only solution I found was TSimpleGraph . I tried to run the program that comes in the ZIP file, however it gives an error that the component TSimpleGraph is missing. I alread...
asked by 21.06.2017 / 15:03