Re: [MSEide-MSEgui-talk] Cursor.

2012-07-27 Thread Martin Schreiber
On Saturday 28 July 2012 00:35:16 Christian Nobel wrote: > Aha. > > The application.processmessages did the trick. > > Ether by replacing the mainfo.update with application.processmessages > > or by putting application.processmessages right after the > application.beginwait > The background: Updati

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

2012-07-27 Thread Martin Schreiber
On Saturday 28 July 2012 00:35:36 Ivanko B wrote: > Therefore the suggestion to use a timer to close the application. > === > Please spell the exact sequence of calls (incl tuning & starting the > timer, redrawing widgets etc) - in the "thread world" even well known > components appear

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

2012-07-27 Thread Martin Schreiber
On Thursday 26 July 2012 20:14:02 Sieghard wrote: > Hallo Ivanko, > > Du schriebst am Thu, 26 Jul 2012 16:52:39 +0500: > > Hmm.. me terminate the application in one of its threads. > > Bad practice, I'd say. > Agreed. Martin

Re: [MSEide-MSEgui-talk] *** Second Call*** What third party components have you integrated into MSEide?

2012-07-27 Thread Martin Schreiber
On Friday 27 July 2012 21:13:51 Marcos Douglas wrote: > > "...tmsecomponent will not descend from TComponent anymore" > > What do you going to do, rewrite all code?? > I need to state precisely, tmsecomponent will not descend from *FPC* TComponent anymore. First step is to copy the necessary FPC s

Re: [MSEide-MSEgui-talk] ZenGL, OpenGL library

2012-07-27 Thread Martin Schreiber
On Friday 27 July 2012 22:19:47 wahono sri wrote: > Did you try FTGL? > > http://sourceforge.net/projects/ftgl/ > Yes, I used it at the beginning of the development of the MSEgui OpenGL backend. Later I decided to implement an own font engine based on Freetype. Martin ---

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

2012-07-27 Thread Ivanko B
to use a timer to close the application. === In "OnTimer" ? 2012/7/28, Ivanko B : > Therefore the suggestion to use a timer to close the application. > === > Please spell the exact sequence of calls (incl tuning & starting the > timer, redrawing widgets etc) - in the "thread world

Re: [MSEide-MSEgui-talk] Cursor.

2012-07-27 Thread Christian Nobel
Aha. The application.processmessages did the trick. Ether by replacing the mainfo.update with application.processmessages or by putting application.processmessages right after the application.beginwait Den 27-07-2012 20:16, Martin Schreiber skrev: > On Friday 27 July 2012 13:27:39 Christian

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

2012-07-27 Thread Ivanko B
Therefore the suggestion to use a timer to close the application. === Please spell the exact sequence of calls (incl tuning & starting the timer, redrawing widgets etc) - in the "thread world" even well known components appear stranger - me spent a couple of hour just to make use of TTi

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

2012-07-27 Thread Ivanko B
Possibly for such cases there's should be a special form/application event handler. 2012/7/28, Ivanko B : > Bad practice, I'd say. > === > Well, really there's a single worker thread in the application but me > wanted to achieve an universal solution. > > Why don't you se

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

2012-07-27 Thread Ivanko B
Bad practice, I'd say. === Well, really there's a single worker thread in the application but me wanted to achieve an universal solution. Why don't you set a flag, send a message or use another means to signal the main thread that your worker thread has terminated (perhaps

Re: [MSEide-MSEgui-talk] ZenGL, OpenGL library

2012-07-27 Thread wahono sri
Did you try FTGL? http://sourceforge.net/projects/ftgl/ -- 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.

Re: [MSEide-MSEgui-talk] *** Second Call*** What third party components have you integrated into MSEide?

2012-07-27 Thread Marcos Douglas
On Fri, Jul 27, 2012 at 2:58 PM, Martin Schreiber wrote: > > Hi, > > Because of a new FPC field order optimization it will not be possible in > future to use cracker classes, please read the threads: > http://www.mail-archive.com/fpc-devel%40lists.freepascal.org/msg26432.html > and > http://www.ma

Re: [MSEide-MSEgui-talk] *** Second Call*** What third party components have you integrated into MSEide?

2012-07-27 Thread Julio Jiménez
> > > What third party DB components which depend on db.pas do you use? Can we > drop > MSEide support for TMemDatset and friends? > > None. It's ok for me. Cheers. -- Julio Jiménez Borreguero -- Live Security Virtual Co

Re: [MSEide-MSEgui-talk] *** Second Call*** What third party components have you integrated into MSEide?

2012-07-27 Thread Patrick Goupell
The only stuff I use is what comes with mseide+msegui. So no special requirements for me. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed

Re: [MSEide-MSEgui-talk] *** Second Call*** What third party components have you integrated into MSEide?

2012-07-27 Thread wahono sri
I don't use TMemDatset and friends. -- 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 inc

Re: [MSEide-MSEgui-talk] Cursor.

2012-07-27 Thread Martin Schreiber
On Friday 27 July 2012 13:27:39 Christian Nobel wrote: > Hi Martin. > > Project attached. > Below code works for me. " procedure tmainfo.opencsvfile(const sender: TObject); var y: integer; begin if tfiledialog1.execute(fdk_open) = mr_ok then begin application.beginwait; try y:= 0;

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

2012-07-27 Thread Sieghard
Hallo Ivanko, Du schriebst am Thu, 26 Jul 2012 16:52:39 +0500: > Hmm.. me terminate the application in one of its threads. Bad practice, I'd say. > What is Your opinion on proper build such kind of programs (serving a > long running thread & then self-exiting with a delay before exit) ? Why do

[MSEide-MSEgui-talk] *** Second Call*** What third party components have you integrated into MSEide?

2012-07-27 Thread Martin Schreiber
Hi, Because of a new FPC field order optimization it will not be possible in future to use cracker classes, please read the threads: http://www.mail-archive.com/fpc-devel%40lists.freepascal.org/msg26432.html and http://www.mail-archive.com/fpc-devel%40lists.freepascal.org/msg26290.html http://www

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

2012-07-27 Thread Martin Schreiber
On Friday 27 July 2012 14:05:05 Ivanko B wrote: > The only working code in TheradComp.OnTreminated: > > Don't the work of "application.processmessages()" should be done in > "THreadcomp.OnTreminated" automaticcaly ? > The sleep() call is in main thread -> main thread eventloop sleeps -> no gui act

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

2012-07-27 Thread Ivanko B
The only working code in TheradComp.OnTreminated: //-- btnCancel.enabled:= false; case RESULTCODETY(ExitCode) of SUCCESS: begin lblFinStatus.caption:= 'Завершено успешно.'; lblFinStatus.color:= cl_ltgreen; pbCurrentFile.value:= 1; pbTotals

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

2012-07-27 Thread Martin Schreiber
On Friday 27 July 2012 13:50:37 Ivanko B wrote: > o_autostart,//set enabled for to_single by setting > interval, > = > It can't be set enabled. > to_autostart,//set enabled for to_single by setting > interval, //disabled for ttimer --

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

2012-07-27 Thread Ivanko B
o_autostart,//set enabled for to_single by setting interval, = It can't be set enabled. pS: TTimer doesn't help lblStatus & progrssbar to redraw in THreadComp.OnTerminated. 2012/7/27, Martin Schreiber : > On Friday 27 July 2012 12:23:06 Ivanko B wrote: >> Ttimer's options are't setta

Re: [MSEide-MSEgui-talk] Cursor.

2012-07-27 Thread Christian Nobel
Following up, I tried on Windows, but got "Unknown Run-time error: 123" /Christian -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and h

Re: [MSEide-MSEgui-talk] Cursor.

2012-07-27 Thread Christian Nobel
Hi Martin. Project attached. Den 26-07-2012 21:05, Martin Schreiber skrev: > 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) >>

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

2012-07-27 Thread Martin Schreiber
On Friday 27 July 2012 12:23:06 Ivanko B wrote: > Ttimer's options are't settable via ObjInsp but the "leak" one. > " timeroptionty = (to_single, //single shot to_absolute, //use absolute time (timestamp()) for to_single //disabled for ttimer

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

2012-07-27 Thread Ivanko B
Ttimer's options are't settable via ObjInsp but the "leak" one. 2012/7/26, 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: >>>