26th June 2008
Hello alldelphi.com users, we meet again today i want to show you some interesting snippet
Suppose you have a data-critical type of application where you would not want a non-authored user to work with the data. Such an application could automatically log out the current user if no user activity has taken place in a lengthy time.
To track a user’s idle time you could hook keyboard and mouse activity. Note, however, that installing a system-wide message hook is a very invasive thing to do and should be avoided if possible, since it will require your hook DLL to be loaded into all processes. Read the rest of this entry »
Posted in Snippet, Tips | 1 Comment »
21st June 2008
Hi AllDelphi.com Readers, today i want to upgrade my delphi 7 installation to codegear and i want to make it as clean install as possible so i uninstall all delphi 7 related including all the BDE Engine. then when i open my control panel i found one icon that really - really piss me off, there it stand the “BDE Administrator” icon proudly as like it want to make fun of me and say ..”hey you could not removed me…i will stay here as long as i want hahahaha “, did you guys ever have the feeling like that or stump to something like that ? what make it worse is that when i tried to search it on google no article can be found to show me how to delete that bde administrator icon on my control panel, i also found so many lines people said that bde has been abandon by Borland . Read the rest of this entry »
Posted in Tips | No Comments »
16th June 2008
Hi Guys, it’s been a while since my last posting here. There are alot of responsibility now on my job. Recently i got opportunity to play with threading again and this this time those multiple threading accesing one same TStringList.
for some of alldelphi.com user that has experienced on multithreading field, i think already know that borland Delphi standard TStringlist is not a thread safe. let say that i have learned it the hardway i took several scratching on the head and slap on my forehand before i realiase that the TStringList is not a thread safe, so i need to figure out how to make the stringlist become a thread safe.Luckyly for me that a quick serach on google show this source . Read the rest of this entry »
Posted in Snippet, Tips | No Comments »
8th April 2008
Hi, for all of u that have used delphi for sometimes, i think this tips is usefull.
if we need to edit certain published property on some object in the property editor and also if the object have long - long published property ..then some times we will have some difficulty in finding those property. Read the rest of this entry »
Posted in Tips | No Comments »
9th January 2008
On Recently, i received project that required DBGrid having ability drag and drop to other object, On delphi.about.com they have samples that can make our DBGrid has the ability to drag and drop but the drag and drop it self is not perfect since every left click on the field will execute the begindrag() function, so the problem is how delphi know when to drag n drop and when is only left click. Read the rest of this entry »
Posted in Tips | No Comments »