On Thursday 26 July 2012 20:41:48 Christian Nobel wrote:
> Den 26-07-2012 15:57, Martin Schreiber skrev:
> > Works for me. Which operating system?
>
> Ubuntu 11.04
> MSE 2.8.2 (but also seen on earlier versions)
>
Works for me. Please send a testprogram which shows the problem.

> But if I eg. do this:
>
> procedure tmainfo.opencsvfile(const sender: TObject);
> begin
>   if tfiledialog1.execute(fdk_open) = mr_ok then
>   begin
>     AssignFile(CSVFile,tfiledialog1.controller.filename);
>     Reset(CSVFile);
>     y:=0;
>     While SeekEof(CSVFile)=false do
>     begin
>       inc(y);
>       Readln(CSVFile,CSVString);
>       if y mod 5000 = 0 then
>       begin
>         tedit2.text:='Line'+IntToStr(y)+' read';
>               mainfo.update;

Better call application.processmessages() instead of update().

Martin

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
mseide-msegui-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mseide-msegui-talk

Reply via email to