Re: [MSEide-MSEgui-talk] statfile

2016-10-12 Thread Martin Schreiber
On Wednesday 12 October 2016 16:11:31 mohamed hamza wrote: > Hi Martin, > >Now the code is clearer. Thanks for this guide > >Now Inside OnstatRead event I didReadW ( read) and In OnStatWrite > event ReadW(write) > >proc ReadW (const filer :tstatfiler) > > later >with tst

[MSEide-MSEgui-talk] statfile

2016-10-12 Thread mohamed hamza
sorry but I did var:=tstatreader(filer).readboolean and tstatwriter (filer).writeboolean(var); -- Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/

Re: [MSEide-MSEgui-talk] statfile

2016-10-12 Thread mohamed hamza
:= readboolean() Best Regards Med De : Martin Schreiber [mse00...@gmail.com] Envoyé : mercredi 12 octobre 2016 12:38 À : mseide-msegui-talk@lists.sourceforge.net Objet : Re: [MSEide-MSEgui-talk] statfile On Wednesday 12 October 2016 14:12:53 mohamed hamza

Re: [MSEide-MSEgui-talk] statfile

2016-10-12 Thread Martin Schreiber
On Wednesday 12 October 2016 14:12:53 mohamed hamza wrote: > Hi martin, > > I think it's better to have an onStateRead and onStateWrite events > like this onStateRw(;const lrw:boolean) > >and then we can write if lrw then var := reader.readboolean(...) else > writer.writeboolean( ...

[MSEide-MSEgui-talk] statfile

2016-10-12 Thread mohamed hamza
Hi martin, I think it's better to have an onStateRead and onStateWrite events like this onStateRw(;const lrw:boolean) and then we can write if lrw then var := reader.readboolean(...) else writer.writeboolean( ;var) I would not order you something. I just want to know you

Re: [MSEide-MSEgui-talk] statfile

2016-10-08 Thread Martin Schreiber
On Saturday 08 October 2016 18:32:02 mohamed hamza wrote: > Hi Martin, > > I Tried mseuniverse demo subform. > I added OnEnter event to tab0fo.editb > > procedure ttab0fo.Onenter(const sender: TObject); > begin > with editb do enabled:=not(enabled); > end; > > When I select tab1 and b

Re: [MSEide-MSEgui-talk] statfile

2016-10-08 Thread mohamed hamza
Regards Med De : Martin Schreiber [mse00...@gmail.com] Envoyé : samedi 8 octobre 2016 13:23 À : mseide-msegui-talk@lists.sourceforge.net Objet : Re: [MSEide-MSEgui-talk] statfile On Saturday 08 October 2016 12:46:54 mohamed hamza wrote: > Hi Martin, >

Re: [MSEide-MSEgui-talk] statfile

2016-10-08 Thread Martin Schreiber
On Saturday 08 October 2016 12:46:54 mohamed hamza wrote: > Hi Martin, >I send you *.mfm concerned. > There are unresolved references to other forms. Suggestion: make a minimal project which demonstrates the problem. Martin

[MSEide-MSEgui-talk] statfile

2016-10-08 Thread mohamed hamza
Hi Martin, I send you *.mfm concerned. Best Regards Med frmbase.mfm Description: frmbase.mfm frmdocs.mfm Description: frmdocs.mfm main.mfm Description: main.mfm -- Check out the vibrant tech community on one of t

Re: [MSEide-MSEgui-talk] statfile

2016-10-07 Thread Martin Schreiber
On Friday 07 October 2016 19:30:32 mohamed hamza wrote: > Hi Martin > > > statfile does not work for me. I set mainform.sta and frm*.sta for > each form I need to be restored. > > widget.statfile to frm*.sta > > > > Why statfile is not created in directoy? > Please send a project wh

Re: [MSEide-MSEgui-talk] statfile

2016-10-07 Thread mohamed hamza
: vendredi 7 octobre 2016 12:09 À : mseide-msegui-talk@lists.sourceforge.net Objet : Re: [MSEide-MSEgui-talk] statfile On Friday 07 October 2016 11:48:51 mohamed hamza wrote: > > All my forms are descending from a baseform (simpleform). > > Do I have to change baseform s

Re: [MSEide-MSEgui-talk] statfile

2016-10-07 Thread Martin Schreiber
On Friday 07 October 2016 11:48:51 mohamed hamza wrote: > > All my forms are descending from a baseform (simpleform). > > Do I have to change baseform simpleform to baseform tabform? > In that project I have only 2 forms to keep in memory among 11. > In fact where d

Re: [MSEide-MSEgui-talk] statfile

2016-10-07 Thread mohamed hamza
-msegui-talk@lists.sourceforge.net Objet : Re: [MSEide-MSEgui-talk] statfile On Thursday 06 October 2016 19:29:42 mohamed hamza wrote: > Hi Martin, > >I used simple form instead tabform in tabwidget . Now I lose stat > ( enabled/disabled, last value ... ) of all widgets w

Re: [MSEide-MSEgui-talk] statfile

2016-10-06 Thread Martin Schreiber
On Thursday 06 October 2016 19:29:42 mohamed hamza wrote: > Hi Martin, > >I used simple form instead tabform in tabwidget . Now I lose stat > ( enabled/disabled, last value ... ) of all widgets when I change tabpage . > I tried to use statfile to restore but no success.Do I have to change

[MSEide-MSEgui-talk] statfile

2016-10-06 Thread mohamed hamza
Hi Martin, I used simple form instead tabform in tabwidget . Now I lose stat ( enabled/disabled, last value ... ) of all widgets when I change tabpage . I tried to use statfile to restore but no success.Do I have to change all form to tabform? Best Regards. Med -