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

Edit & randomize   Найти похожие ветки 

← →
glGLU   (2004-05-10 18:29) [0]

подскажите как мне в Edit из *.ini грузить по одному названию в случайном порядке randomiz"ом???


← →
zeqfreed ©   (2004-05-10 18:38) [1]

допустим ini:
"[SECT]
Count = 3;
0=Bla
1=Bla-Bla
2=Bla-Bla-Bla"

...uses INIFiles;..

...var
ini : TIniFile;
max : Cardinal;
begin
ini := TINIFile.Create("my.ini");
max := ini.ReadInteger("SECT","Count",0);
Edit1.Text := ini.ReadString("SECT",IntToStr(Random(max)),0);
ini.Destroy;
end;...



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

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



Память: 0.44 MB
Время: 0.026 c
1-1084203363
Avsam
2004-05-10 19:36
2004.05.23
Скрыть Property в наследнике


6-1080761966
dreams
2004-03-31 23:39
2004.05.23
Отследить загрузку файла в WebBrouser


1-1083826800
xman
2004-05-06 11:00
2004.05.23
MEMO


1-1084256372
FireMan_Alexey
2004-05-11 10:19
2004.05.23
Потоки


14-1083784211
lenny wolf
2004-05-05 23:10
2004.05.23
Помогите!




   Наверх