Posted by
Eng.Ahmed AlSadi
Apr
23
We will show how to set mouse position (Cursor Position) to a specific point (X,Y) programmatically in delphi, some times you need to move the mouse to a position you want with coordinates of X and Y, to that, write only the following function that is built in delphi
Posted by
Eng.Ahmed AlSadi
Apr
23
We will show how to add images to DropDownlist (Combo box) in delphi, The first thing go to style property of your DropDownlist (Combo box) and change it to “lbOwnerDrawVariable” , this is to Draw in list box
Posted by
Eng.Ahmed AlSadi
Apr
23
How to make a form in front of all other forms, this so easy in delphi, just go to the form properties tool bar and choose the property “FormStyle” you will find it “fsNormal” as default
Posted by
Eng.Ahmed AlSadi
Apr
22
We will show how to add images to listbox in delphi, The first thing go to style property of your listbox and change it to “lbOwnerDrawVariable” , this is to Draw in list box, suppose we pot a Listbox names ‘lst1′, Add now Image List and name it ‘il1′ , go to the event “onMeasureItem” [...]
Posted by
Eng.Ahmed AlSadi
Apr
16
Delphi TrayIcon example, Some times you want your program to be minimized to system tray beside clock , here I will give you an example to do that using TrayIcon control
Posted by
Eng.Ahmed AlSadi
Apr
16
how to disable the maximize button in delphi ?! … to that, go to the form options and then choose the group BorderIcons, under this group you will see the item ‘biMaximize’, change it to false
Posted by
Eng.Ahmed AlSadi
Apr
16
How to add background to form in delphi?! , there is no property to do this directly, the best way to do that insert a new TImage then change it’s picture property to the background you ant and then move the TImage to the back of the form (right click, order -> send to back).
Posted by
Eng.Ahmed AlSadi
Apr
12
In this post I will make the function now($format) to get the current date using php, the current date is needed to check expiration of some thing, you can see what you can do with the format parameter of the now($format) function from the following post
Posted by
Eng.Ahmed AlSadi
Apr
12
Date comparison is mostly needed by the programmer, for example to determine expiration of some thing, I will use the php built in function strtotime() to compare two date variable $date1 and $date2
Posted by
Eng.Ahmed AlSadi
Apr
12
1- Php date format examples: I firstly will show some php date format examples, the php date() functions takes a format parameter as the table listed in the page : http://php.net/manual/en/function.date.php , the table contains format letters and it’s mean and use, for example