How To Get VersionInformation
> Can I get the Application Version, which I set using IDE’s option menu , in > code? How? Here’s an example:
how to let EXE delete itself while running?
Q: how to let EXE delete itself while running? >I want to delete exe file while is opened. My friend did that in…
Keyb_event (simulating Keypress part 2)
> I’ve already got a handle of another application’s window. Now, how can I > simulate a keyboard input of ‘ALT-R’ to it?…
Pascal to htm converter
> Does anybody know about a Pascal-to-HTML converter which uses the Delphi > editor settings, like colors etc.? > steven 1.) The converter…
nSonic Homepage
> yes, but what is the virtual-key code for ALT+F? > There ain’t one, this is a key *combination*, not a single keystroke.…
Run a routine by name
[code lang=”delphi”]type TExecute = procedure of object; procedure TForm1.ExecuteRoutine(Instance: TObject; Name: string); var Routine: TMethod; Execute: TExecute; begin Routine.Data := Pointer(Instance); Routine.Code :=…
Sleep
Sleep Delay Wait Pause [code lang=”delphi”]procedure TForm1.msSleep(ms : Integer); Var tmpTime : Integer; tmpMs : Integer; Begin tmpMs := ms; tmpTime := GetTickCount…
General: Stop a Loop with ALT+S but ignore any other User action
Sanford Aranoff wrote: > I would like to prevent any user action during the loop except for a > menu Alt S, which…
Mouse: How to “HotTrack” any control
[code lang=”delphi”]// We have to override the WndProc procedure procedure WndProc(var Message : TMessage); override; procedure TForm1.WndProc(var Message : TMessage); begin // Here…
Mouse: How to get the MousePosition
[code lang=”delphi”]var ThePoint: TPoint; begin GetCursorPos(ThePoint); end; [/code] [tags]Delphi, Misc, Mouse[/tags]