Questions tagged as 'delphi-xe3'

3
answers

How to create a solid mask from a semi-transparent Bitmap?

I want to create the right image from the one on the left. And I have the following structure: var Image, Mask : TBitmap; begin Mask := TBitmap.Create; Image := TBitmap.Create; Image.LoadFromFile('Yoshi.png'); // Criação da más...
asked by 09.04.2014 / 19:23
1
answer

Delphi, TThread.Queue. Which is? When should it be used?

I was seeing this method that makes use of thread: procedure TFormClient.QueueLogMsg(const s: string); begin TThread.Queue(nil, procedure begin LogMsg(s) end ); end; What is this method TThread.Queue ? Unlike...
asked by 07.06.2014 / 17:00
1
answer

Release configuration options in Debug and Release mode in Delphi

In Delphi projects, we have Debug and Release options Build Configurations . IknowthatDebugmodeisusedtodebugtheapplicationandthatitgeneratesalargerexecutablebyaddingcuepointstothedebugger.Releasemodenolongerincludesdatumsandgenerate...
asked by 07.05.2014 / 21:38
3
answers

How to make a Delphi application run as an administrator?

I'm using Delphi XE4 and I have no idea how to make an application ask administrative permission to Windows 7 to run, I looked at websites and bolgs, but I did not find the answer! Help me please!     
asked by 29.05.2015 / 21:28
2
answers

Auto build tool for Delphi

Are there applications for automatic build, such as FinalBuilder , and Free or Open-Source ? Preferably I support old and new versions of Delphi . What would these be?     
asked by 16.04.2014 / 21:22
1
answer

Paint DBGrid lines when selecting them

I'm painting the lines of a
asked by 07.04.2014 / 15:03
1
answer

Am I loading this Music correctly with Bass.dll?

Based on the Bass documentation, I'm trying to load an ordinary ogg file, with the following code: var FFile : string; Music: HSAMPLE; ch: HCHANNEL; OpenDialog1 : TOpenDialog; begin Dynamic_Bass.Load_BASSDLL('Library/Bass.dll');...
asked by 20.02.2014 / 22:00
1
answer

Change properties of a component contained in a system module

I am modulating a system developed in Delphi XE3. One of my modules named Default has dmDados with a connection. In my main application, in onShow of my main Form I'm loading the module and trying to disconnect my connection...
asked by 04.05.2014 / 01:22
1
answer

How to stop a Thread for a certain time, without using a Timer?

Explanation: Next, I have a TThread running parallel to Main Thread . And I have a routine to give a fade in the image. Well, the important thing is that I do this fade in a certain time in milliseconds, so I did the routine...
asked by 19.02.2014 / 17:58
3
answers

Open as administrator only the first time in Delphi.

I put a method on my system to change the registry by starting it with windows, so the executable must be run in administrator mode. The problem is that every time the system starts, the application opens and shows the message asking if the user...
asked by 15.12.2016 / 14:48