Re: [MSEide-MSEgui-talk] TTimer.options := [to_single] ?

2018-06-23 Thread Martin Schreiber
On Saturday 23 June 2018 21:53:38 fredvs wrote: > > setting ttimer.enabled to false in dothat_and_stoptimer() is OK. > > Hum,... > > Why not directly in ttimer.ontimer() ? > > procedure ttimer.ontimer(); > begin > if all_is_ok then dothis_and_continuetimer() > else ttimer.enabled := false; >

Re: [MSEide-MSEgui-talk] TTimer.options := [to_single] ?

2018-06-23 Thread fredvs
> setting ttimer.enabled to false in dothat_and_stoptimer() is OK. Hum,... Why not directly in ttimer.ontimer() ? procedure ttimer.ontimer(); begin if all_is_ok then dothis_and_continuetimer() else ttimer.enabled := false; end; This question because of: > don't touch ttimer.enabled

Re: [MSEide-MSEgui-talk] windows

2018-06-23 Thread Martin Schreiber
On Saturday 23 June 2018 12:16:30 fredvs wrote: > > IIRC as long there is a frame there also is a close button on allwindow > > managers I know. > > There is a window without any frame in fpGUI. > In MSEgui too, use optionswindow wo_noframe or wo_popup or another window kind without frame

Re: [MSEide-MSEgui-talk] TTimer.options := [to_single] ?

2018-06-23 Thread Martin Schreiber
On Saturday 23 June 2018 12:14:06 fredvs wrote: > Hello Martin. > > OK, capito the use of to_single. Thanks for the light. > > > Without to_single it will be triggered repetitive after setting > > ttimer.enabled to true > > > > don't touch ttimer.enabled in ttimer.ontimer. > > OK. > > But how do

Re: [MSEide-MSEgui-talk] windows

2018-06-23 Thread fredvs
> There is a window without any frame in fpGUI. -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the vibrant tech

Re: [MSEide-MSEgui-talk] windows

2018-06-23 Thread fredvs
> IIRC as long there is a frame there also is a close button on allwindow managers I know. There is a window without any frame in fpGUI. -- Sent from: http://mseide-msegui-talk.13964.n8.nabble.com/ -- Check out the

Re: [MSEide-MSEgui-talk] TTimer.options := [to_single] ?

2018-06-23 Thread fredvs
Hello Martin. OK, capito the use of to_single. Thanks for the light. > Without to_single it will be triggered repetitive after setting > ttimer.enabled to true > don't touch ttimer.enabled in ttimer.ontimer. OK. But how do you do for something like this: procedure ttimer.ontimer(); begin