Re: [MSEide-MSEgui-talk] Variable scoping;

2018-10-21 Thread mohamed hamza
Sorry It was a "false alarm" I forgot the options cfo_captionfocus and cfo_framerectfocus. Med. De : Martin Schreiber Envoyé : dimanche 21 octobre 2018 10:36 À : mseide-msegui-talk@lists.sourceforge.net Objet : Re: [MSEide-MSEgui-talk] Variable sc

Re: [MSEide-MSEgui-talk] Variable scoping;

2018-10-21 Thread Martin Schreiber
On Sunday 21 October 2018 12:04:56 mohamed hamza wrote: > It's Ok, But sometime ago I opened a thread about hotzone in db widget, > for example we could not activate grids when we click on caption or > scrollbars . You solved that. Now I notice that your solution does not > work when the conta

Re: [MSEide-MSEgui-talk] Variable scoping;

2018-10-21 Thread mohamed hamza
ample. De : Martin Schreiber Envoyé : samedi 20 octobre 2018 16:18 À : mseide-msegui-talk@lists.sourceforge.net Objet : Re: [MSEide-MSEgui-talk] Variable scoping; On Saturday 20 October 2018 17:54:36 mohamed hamza wrote: > But I am in EditPageNform (baseEditPageForm) ? > D

Re: [MSEide-MSEgui-talk] Variable scoping;

2018-10-20 Thread Martin Schreiber
On Saturday 20 October 2018 17:54:36 mohamed hamza wrote: > But I am in EditPageNform (baseEditPageForm) ? > Do I have to include baseeditForm in uses of baseEditPageForm? > Yes, not necessarily in baseeditpageform but in the form where the code " tbaseeditfo(window.owner).dataso.dataset:=

Re: [MSEide-MSEgui-talk] Variable scoping;

2018-10-20 Thread mohamed hamza
. De : Martin Schreiber Envoyé : samedi 20 octobre 2018 14:23 À : mseide-msegui-talk@lists.sourceforge.net Objet : Re: [MSEide-MSEgui-talk] Variable scoping; On Saturday 20 October 2018 15:58:20 mohamed hamza wrote: > Ok. > > I use a dbgroup object ( I uploaded some time ago

Re: [MSEide-MSEgui-talk] Variable scoping;

2018-10-20 Thread Martin Schreiber
On Saturday 20 October 2018 15:58:20 mohamed hamza wrote: > Ok. > > I use a dbgroup object ( I uploaded some time ago : > https://gitlab.com/mseide-msegui/mseuniverse/tree/master/samples/db/dbgroup > ) > > Is it compatible with the procedure :focusedwidgetchangedev? > I don't know. What does td

Re: [MSEide-MSEgui-talk] Variable scoping;

2018-10-20 Thread mohamed hamza
change. De : Martin Schreiber Envoyé : samedi 20 octobre 2018 13:35 À : mseide-msegui-talk@lists.sourceforge.net Objet : Re: [MSEide-MSEgui-talk] Variable scoping; On Saturday 20 October 2018 11:34:36 mohamed hamza wrote: > If you have many different "two gr

Re: [MSEide-MSEgui-talk] Variable scoping;

2018-10-20 Thread Martin Schreiber
On Saturday 20 October 2018 11:34:36 mohamed hamza wrote: > If you have many different "two grid pages" make a common > ancestor which inherits from tbaseeditpagefo. > > It's Ok but the dbnav in baseform will not be aware of the change? > The common ancestor with the two grids has the code " proc

Re: [MSEide-MSEgui-talk] Variable scoping;

2018-10-20 Thread mohamed hamza
ide-msegui-talk@lists.sourceforge.net Objet : Re: [MSEide-MSEgui-talk] Variable scoping; On Wednesday 17 October 2018 17:57:00 mohamed hamza wrote: > According to your advice, we have to duplicate the code onGetSubModule() , > onInitSubmodule for each tabwidget we manage with mainMe

Re: [MSEide-MSEgui-talk] Variable scoping;

2018-10-18 Thread Martin Schreiber
On Wednesday 17 October 2018 17:57:00 mohamed hamza wrote: > According to your advice, we have to duplicate the code onGetSubModule() , > onInitSubmodule for each tabwidget we manage with mainMenu of myMainform see MSEuniverse 2379ee9d51b9fa8f1b234516859d0a33494f7986, it has a base form for tabw

Re: [MSEide-MSEgui-talk] Variable scoping;

2018-10-17 Thread mohamed hamza
De : Martin Schreiber Envoyé : lundi 15 octobre 2018 09:54 À : mseide-msegui-talk@lists.sourceforge.net Objet : Re: [MSEide-MSEgui-talk] Variable scoping; On Sunday 14 October 2018 21:27:43 mohamed hamza wrote: > Suppose we have 2 grids inside teditpage1 and we want to change > dso.d

Re: [MSEide-MSEgui-talk] Variable scoping;

2018-10-15 Thread Martin Schreiber
On Sunday 14 October 2018 21:27:43 mohamed hamza wrote: > Suppose we have 2 grids inside teditpage1 and we want to change > dso.dataset according to the grid we selected. > we create event in baseeditpagefo > > Onenter: > dataso.dataset:=tdbstringgrid(sender).datalink.datasource.dataset; Or in

Re: [MSEide-MSEgui-talk] Variable scoping;

2018-10-14 Thread mohamed hamza
dataset that we have loaded with submodule? Med De : mohamed hamza Envoyé : dimanche 14 octobre 2018 09:41 À : General list for MSEide+MSEgui Objet : Re: [MSEide-MSEgui-talk] Variable scoping; Well done . Really your example must be referenced in google database

Re: [MSEide-MSEgui-talk] Variable scoping;

2018-10-14 Thread mohamed hamza
Schreiber Envoyé : dimanche 14 octobre 2018 09:26 À : mseide-msegui-talk@lists.sourceforge.net Objet : Re: [MSEide-MSEgui-talk] Variable scoping; On Sunday 14 October 2018 10:57:54 Martin Schreiber wrote: > On Saturday 13 October 2018 17:04:15 mohamed hamza wrote: > > Is it better to create a

Re: [MSEide-MSEgui-talk] Variable scoping;

2018-10-14 Thread Martin Schreiber
On Sunday 14 October 2018 10:57:54 Martin Schreiber wrote: > On Saturday 13 October 2018 17:04:15 mohamed hamza wrote: > > Is it better to create a tabwidget in mainform and working with > > ongetsubform event .Then I do not have to create window and freei it. The > > Rad do it for me? > > > > O

Re: [MSEide-MSEgui-talk] Variable scoping;

2018-10-14 Thread Martin Schreiber
On Saturday 13 October 2018 17:04:15 mohamed hamza wrote: > Is it better to create a tabwidget in mainform and working with > ongetsubform event .Then I do not have to create window and freei it. The > Rad do it for me? > > Oncreate Mainform() > > ttabpage1.tago:=(f_11); > . > ttabpagen.tagp

Re: [MSEide-MSEgui-talk] Variable scoping;

2018-10-13 Thread mohamed hamza
).tag); So application.create(tfn,fn) is eliminated? and also to free it Med De : Martin Schreiber Envoyé : samedi 13 octobre 2018 09:48 À : mseide-msegui-talk@lists.sourceforge.net Objet : Re: [MSEide-MSEgui-talk] Variable scoping; On Friday 12 October 2018

Re: [MSEide-MSEgui-talk] Variable scoping;

2018-10-13 Thread Martin Schreiber
On Friday 12 October 2018 21:50:32 mohamed hamza wrote: > Excuse me, but in the hurry I gave you a bad example with an unforgiven > error. > > As an attachment there is the real example. > " procedure tmainfo.onCreated(const sender: TObject); begin f2fo:= tf2fo.create(application); // /

Re: [MSEide-MSEgui-talk] Variable scoping;

2018-10-12 Thread mohamed hamza
-MSEgui-talk] Variable scoping; On Friday 12 October 2018 16:28:05 mohamed hamza wrote: > Here the example > Is this what you wanted to achive: " var f3fo: tf3fo; implementation uses f3_mfm,f2,main; procedure tf3fo.onEnter(const sender: TObject); begin mainfo.f2fo1.onEnter(sender); <

Re: [MSEide-MSEgui-talk] Variable scoping;

2018-10-12 Thread Martin Schreiber
On Friday 12 October 2018 16:28:05 mohamed hamza wrote: > Here the example > Is this what you wanted to achive: " var f3fo: tf3fo; implementation uses f3_mfm,f2,main; procedure tf3fo.onEnter(const sender: TObject); begin mainfo.f2fo1.onEnter(sender); <-- end; " ? Martin __

Re: [MSEide-MSEgui-talk] Variable scoping;

2018-10-12 Thread mohamed hamza
Here the example Regards. Med De : Martin Schreiber Envoyé : vendredi 12 octobre 2018 11:23 À : mseide-msegui-talk@lists.sourceforge.net Objet : Re: [MSEide-MSEgui-talk] Variable scoping; On Friday 12 October 2018 13:04:49 mohamed hamza wrote: > Hi Mar

Re: [MSEide-MSEgui-talk] Variable scoping;

2018-10-12 Thread Martin Schreiber
On Friday 12 October 2018 13:04:49 mohamed hamza wrote: > Hi Martin, > > I created 3 forms > [...] Please send an example which shows the problem otherwise any answer will be pure guesswork. Martin ___ mseide-msegui-talk mailing list mseide-msegui-tal

[MSEide-MSEgui-talk] Variable scoping;

2018-10-12 Thread mohamed hamza
Hi Martin, I created 3 forms Form1: tMgrDbo= class(tmseform) oDs:tmsedatasource; procedure OnEnterPanel(const sender: TObject); procedure tMgrDbo.OnenterPanel(const sender:TObject); oDs.dataset:= tdbwidgetgrid(sender).datasource.dataset; Form2: tfrmDataCli=class(tMgrDbo) ttabwidget1: ttabwidge