Questions tagged as 'delphi'

1
answer

customFormat LiveBindings Could not find ifthen

I'm trying to use an inverted livebindigs, that is, I have a boolean field that comes from the database and I have to make a button visible when it comes false. I'm putting in customformat ifthen( owner.fieldbyname('tem_movimentacao').asboo...
asked by 05.10.2016 / 20:41
1
answer

Generate an XLS without using Excel (BIFF)

How to generate a .xls file without using Excel? I do not want to use OLE , but I would like to enter the information in binary format, using the BIFF8 structure or something like this. The problem is that I can not find doc...
asked by 26.09.2016 / 16:11
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

How to use TAnimate in Delphi

Hello, I'm trying to use the TAnimate tool, but it does not have any animation in it, where I researched it says it already comes with the tool. Can you tell me if you have to declare something together? or where can I get these animations? Do t...
asked by 23.09.2016 / 13:42
2
answers

How to create form dynamically in Delphi

I'm having trouble creating form in Delphi, I'm using a procedure but it's giving a direct error. Can anyone tell me a more efficient way to create a form in Delphi? Current code: procedure TLogin.CriarForm(NomeForm: TFormC...
asked by 13.09.2016 / 20:56
1
answer

GetWindowText in C #

How can I use the GetWindowText function in C #? I need to convert this function into delphi for C # function FindWindowExt(partialTitle: string): HWND; var hWndTemp: hWnd; iLenText: Integer; cTitletemp: array [0..254] of Char; sTitleT...
asked by 21.10.2016 / 13:44
1
answer

Removing folders from a directory

I have a project in Delphi 2010 in which I use to compress and create backups of WinRAR, through the following code I can compress the following folder teste3 : AFile := 'C:\teste1\teste2\teste3'; LocateFile := 'C:\Users\Desktop\BACKUPS\...
asked by 21.10.2016 / 11:22
1
answer

Android Emulator with Internet [closed]

I configured the Android emulator, but it does not have an Internet connection, how do I configure or not?     
asked by 10.08.2016 / 16:54
3
answers

Sorting using DbGrid with ClientDataSet

I'm using a DbGrid together with a DataSource. And I want to do the ordering as the customer clicks on the title. I made the following settings: In my Dbgrid in the DataSource property linkei my DS. In my Ds in the DataSet property I linkei my C...
asked by 13.06.2016 / 21:07
1
answer

Create an API with Delphi and generate Json to consume with Ionic

I want to create an API with Delphi that generates data in Json to be able to consume using Ionic Framework, is it possible? Json consumption with Ionic, but my API today is C # as of this tutorial , I want to know if I can do the same with Del...
asked by 06.04.2016 / 00:39