Re: [MSEide-MSEgui-talk] Cursor.

2012-07-26 Thread Martin Schreiber
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 t

Re: [MSEide-MSEgui-talk] Cursor.

2012-07-26 Thread Christian Nobel
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) But if I eg. do this: procedure tmainfo.opencsvfile(const sender: TObject); begin if tfiledialog1.execute(fdk_open) = mr_ok then begin AssignF

Re: [MSEide-MSEgui-talk] ShowMessage doesn't show if called from within a thread's OnExecute

2012-07-26 Thread Ivanko B
Self exiting the program or the thread? == The program. 2012/7/26, Martin Schreiber : > Am 25.07.2012 05:24, schrieb Martin Schreiber: >> On Tuesday 24 July 2012 21:11:25 Ivanko B wrote: >>> to move gui code in main thread. >>> = >>> Any or particular type of GUI code ? >>>

Re: [MSEide-MSEgui-talk] ShowMessage doesn't show if called from within a thread's OnExecute

2012-07-26 Thread Martin Schreiber
Am 25.07.2012 05:24, schrieb Martin Schreiber: > On Tuesday 24 July 2012 21:11:25 Ivanko B wrote: >> to move gui code in main thread. >> = >> Any or particular type of GUI code ? >> > On Windows any. Use application.lock/unlock in order to set common variables > only, unless we can s

Re: [MSEide-MSEgui-talk] stringgrid row

2012-07-26 Thread Patrick Goupell
I had thought of that. But being the lazy programmer that I am, I was hoping for one line of program code, just like the appendrow is a one liner. Patrick -- Live Security Virtual Conference Exclusive live event will co

Re: [MSEide-MSEgui-talk] stringgrid row

2012-07-26 Thread Martin Schreiber
Am 26.07.2012 16:08, schrieb Patrick Goupell: > In a stringgrid I can do a "mystringgrid.appendrow (msestringarray)" > > Is there a quick way to get a stringgrid row into an array? > > mystringgrid.? (row, msestringarray) > > or msestringarray := mystringsgrid. (row); > > or what. > > Looki

[MSEide-MSEgui-talk] stringgrid row

2012-07-26 Thread Patrick Goupell
In a stringgrid I can do a "mystringgrid.appendrow (msestringarray)" Is there a quick way to get a stringgrid row into an array? mystringgrid.? (row, msestringarray) or msestringarray := mystringsgrid. (row); or what. Looking at the stringgrid source code I could not find an appropriat

Re: [MSEide-MSEgui-talk] ShowMessage doesn't show if called from within a thread's OnExecute

2012-07-26 Thread Martin Schreiber
Am 26.07.2012 12:52, schrieb Ivanko B: > The purpose of this command in the project is to delay exiting > the whole program for a while after finishing all threads so that user > can see the results. > == > Hmm.. me terminate the application in one of its threads. > What is Your opi

Re: [MSEide-MSEgui-talk] Cursor.

2012-07-26 Thread Martin Schreiber
Am 26.07.2012 12:34, schrieb Christian Nobel: > Hi. > > Reopening an old issue, haven't been playing around with it for quite a > while (rather given up), but now I would like to find a solution. > > Very simple, I am trying to read a large textfile, but doing read I want > the wait cursor. > > Try

Re: [MSEide-MSEgui-talk] ShowMessage doesn't show if called from within a thread's OnExecute

2012-07-26 Thread Martin Schreiber
Am 26.07.2012 11:56, schrieb Ivanko B: > Looks OK for me. sleep() must run in worker thread, > == > Why ? The purpose of this command in the project is to delay exiting > the whole program for a while after finishing all threads so that user > can see the results. > Calling sleep() in main

Re: [MSEide-MSEgui-talk] ShowMessage doesn't show if called from within a thread's OnExecute

2012-07-26 Thread Ivanko B
The purpose of this command in the project is to delay exiting the whole program for a while after finishing all threads so that user can see the results. == Hmm.. me terminate the application in one of its threads. What is Your opinion on proper build such kind of programs (serving a

Re: [MSEide-MSEgui-talk] Cursor.

2012-07-26 Thread Christian Nobel
Hi. Reopening an old issue, haven't been playing around with it for quite a while (rather given up), but now I would like to find a solution. Very simple, I am trying to read a large textfile, but doing read I want the wait cursor. Trying to do like this, but still it seems like the process simp

Re: [MSEide-MSEgui-talk] ShowMessage doesn't show if called from within a thread's OnExecute

2012-07-26 Thread Ivanko B
Looks OK for me. sleep() must run in worker thread, == Why ? The purpose of this command in the project is to delay exiting the whole program for a while after finishing all threads so that user can see the results. showmessage() in main thread because of Windows restriction. == B