Posts by Guybrush • 287 points
8 posts
-
1
votes0
answers121
viewsQ: Use AVI in the Tanimate component (VCL project)
I use Delphi 7 and have been trying for more than 4 hours to add a simple animation "loading" (loading) into a Tanimate component, without success. While trying to load the AVI file through the…
-
1
votes1
answer641
viewsA: How to delete directories containing subdirectories and files on an FTP server in Delphi?
As far as I know, Indy doesn’t have a "ready" method for what he wants. You will need to create a recursive method to delete all files and subdirectories before removing the root directory. See this…
-
0
votes3
answers144
viewsA: How to check if the user is currently online?
In your case the most correct way (without gambiarras) is to use the event "Session_onend" of the global file.asa. On the login page create a session variable with the logged in user code (e.g.,…
-
1
votes1
answer1493
viewsQ: How to fade some components in the background to highlight a Tpanel on them?
I have a main screen, with some Tpanels and other components, and one of these Tpanels would like to create a login screen. By calling this login Tpanel over the other components of the form I am…
-
2
votes1
answer2508
viewsA: How to open a WEB image on a Timage in Delphi?
You can use the Idhttp component for this. Create a new project, play an Idhttp component and another Idantifreeze in the form, also a Timage and a Tbutton. Then add the following code to the Button…
-
1
votes2
answers4623
viewsA: How to resize image
I created this function based on others I found on the internet. I did tests with several functions of this type, and this was the fastest I found. Note: Wmax and Hmax parameters are used to…
-
1
votes1
answer710
viewsA: Routine Issues to Identify Windows Version
A while ago I found in Google a library (Unit) specific to this, which is one of the most complete I have seen to date. I’m sending you down. Copy and save to a file with the name…
-
7
votes3
answers7489
viewsA: How do I make a Delphi application run as an administrator?
First you should create a text file with the following content: <?xml version="1.0" encoding="UTF-8" standalone="yes"?> <assembly xmlns="urn:schemas-microsoft-com:asm.v1"…