Вниз
Скачать: 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.924 c
14-1085295633
R
2004-05-23 11:00
2004.06.13
Почему Пепси


14-1085364020
Думкин
2004-05-24 06:00
2004.06.13
С днем рождения! 24 мая


6-1082544631
rimd1
2004-04-21 14:50
2004.06.13
процессы и сеть


14-1085835393
p.0$a
2004-05-29 16:56
2004.06.13
HELP plz


4-1083837808
Miroslav
2004-05-06 14:03
2004.06.13
Выключение Windows




   Наверх