07-09-2014, 01:11 PM
لتغيير ترميز الوقت ( ؛حذف AM/PM )
رابط التحميل ( السورس كامل مع الملف التطبيقي )
PHP كود :
procedure TimeFormat(_RestartThisApp: Boolean=False) ;
var
Section: string;
begin
Section := 'Control Panel\International' ;
with TRegIniFile.Create('') do
try
RootKey := HKEY_CURRENT_USER;
if LowerCase(ReadString(Section, 'sTimeFormat', 'HH:mm:ss'))<>'hh:mm:ss' then begin
WriteString(Section, 'sTimeFormat', 'HH:mm:ss') ;
WriteString(Section, 's1159', '') ;
WriteString(Section, 's2359', '') ;
if _RestartThisApp then
Form1.RestartThisApp;
end;
finally
Free;
end;
end;
PHP كود :
procedure TForm1.FormCreate(Sender: TObject);
begin
TimeFormat(True);
PHP كود :
http://www.mediafire.com/download/tg8dd8dba4sphab/ALPHA_SRC%26BIN.rar
![[صورة: vkWQfl.png]](http://img674.imageshack.us/img674/914/vkWQfl.png)
![[صورة: mawqot.jpg]](http://www.delphi4arab.net/images/mawqot.jpg)
![[صورة: GTXD7h.png]](http://img540.imageshack.us/img540/2968/GTXD7h.png)
![[صورة: Yermc9.png]](http://img631.imageshack.us/img631/5848/Yermc9.png)
![[صورة: Cc2hZb.png]](http://img673.imageshack.us/img673/402/Cc2hZb.png)