Friday, January 16, 2015

Make Your Software Installs More Professional

I was showing a friend of mine one of the latest programs I just created. He downloaded it and it installed perfectly. I asked him to uninstall it after we got done looking at it. He went straight to the Control Panel - Programs and Features and to my surprise my application was not listed.

I use Inno Setup (highly recommended) for all of my install files. It turns out that you need to include two directives inside the [Setup] section of the Inno Setup script in order for your program to be listed. I'd like to thank TLama from StackOverflow for his answer.

[Setup]
UninstallDisplayName={#MyAppName}
UninstallDisplayIcon={app}\{#MyAppExeName}

Adding unistall information with Inno Setup
TLama
Inno Setup

Enjoy!

Semper Fi
Gunny Mike
end.

Saturday, January 3, 2015

Most Frequently Used Shortcuts By Delphi Programmers

Here is a list of the most frequently used shortcuts by Delphi programmers

Ctrl+.
IDE Insight - Focus the IDE Insight input box

Ctrl+Space
Code Completion (window resizeable/sortable)
Video

Ctrl+Shift+Space
Code Parameter Hints (invoke tooltip help)
Video

Ctrl+Shift+A
Find Unit - Add to Implementation or Interface

Ctrl+Shift+C
Class Code Completion at Cursor

Ctrl+Shift+V
Declare Vaiable

Ctrl+Shift+D
Declare Field

Ctrl+J
Code Templates (window resizeable)
Video

Ctrl+Shift+J
Sync Edit
Video

Ctrl+Left Click
Alt+Up Arrow
Code Browsing (requires $YD)

Ctrl+Shift+Up Arrow
Ctrl+Shift+Dn Arrow
Code Jumping Between Declaration/Implementation

Alt+Left Click+Drag
Select Block

Tab
Indent Selected Code
Indent Selected Block

Shift+Tab
Outdent Selected Code
Outdent Selected Block

Ctrl+D
Format Selected Code
Format Selected Block

F9
Run

Ctrl+Shift+F9
Run Without Debugging

F4
Run To Cursor (Build Debug)

Ctrl+F9
Compile

F5
Set/Remove Breakpoint
Video

F7
Trace Into

F8
Step Over

Ctrl+F2
Program Reset

Code Folding Shortcuts


Ctrl+Shift+K+A
Expand All Blocks of code

Ctrl+Shift+K+C
Collapse All Classes 

Ctrl+Shift+K+M
Collapse All Methods 

Case Statement Code Completion
https://stackoverflow.com/a/13532718/195983

Complete List of Shortcuts

Enjoy,
Gunny Mike
end.