Вниз
Скачать: CL | DM;

SetDecimalSeparator - текст процедуры   Найти похожие ветки 

 
Eagle ©   (2004-06-01 01:28) [0]

Ищу текст процедуры SetDecimalSeparator


 
tasman ©   (2004-06-01 01:31) [1]

procedure SetDecimalSeparator(Ch: Char);
var
  DefLCID: LCID;
  Buffer: LPSTR;
begin
  Application.UpdateFormatSettings := True;
  StrPCopy(Buffer, Ch);
  DefLCID := GetThreadLocale;
  if SetLocaleInfo(DefLCID, LOCALE_SDecimal, Buffer) then
    DecimalSeparator := StrPas(Buffer)[1];
  Application.UpdateFormatSettings := False;
end;

procedure TForm1.Button1Click(Sender: TObject);
begin
  SetDecimalSeparator(".");
end;



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.067 c
14-1085488754
Hatter
2004-05-25 16:39
2004.06.13
Gigabyte GA-8S648


14-1085419845
Lm
2004-05-24 21:30
2004.06.13
shell+XP


14-1085767755
SashaLebed
2004-05-28 22:09
2004.06.13
Спасибо 4 Семен Сорокин


3-1085402689
Cyber
2004-05-24 16:44
2004.06.13
создание Query-запросов


1-1085595407
SeF
2004-05-26 22:16
2004.06.13
поворот массива




   Наверх