Re: [MSEide-MSEgui-talk] HTML frame behavior: how to simulate ?

2012-09-25 Thread Ivanko B
tpoperationsinstancevarpo^.free(); {since ..:= -1 didn't manage it} >end; It does for me. = Probably me has to clear the class & the instance otherwise they reset even on switch to page "-1" (thus number doesn't involve special handling). PS: Works well now. BTW, it is felt as a prof

Re: [MSEide-MSEgui-talk] Q from Freepascal.Ru: how to hide main form temporarily

2012-09-25 Thread Martin Schreiber
On Tuesday 25 September 2012 15:38:14 liuzg2 wrote: > > On designtime disable form.options fo_main, set form.visible to false. > > do it well > but can not see application icon in taskbar > .window.windowpos:= wp_minimized; Martin -

Re: [MSEide-MSEgui-talk] Q from Freepascal.Ru: how to hide main form temporarily

2012-09-25 Thread liuzg2
> On designtime disable form.options fo_main, set form.visible to false. do it well but can not see application icon in taskbar -- Live Security Virtual Conference Exclusive live event will cover all the ways today's s

Re: [MSEide-MSEgui-talk] HTML frame behavior: how to simulate ?

2012-09-25 Thread Martin Schreiber
On Tuesday 25 September 2012 14:21:38 news.gmane.org wrote: > A bit cumbersome code, though: > > //-- > > procedure tappmainfo.mt1ionewexec(const sender: TObject); > begin > with dmmainmo,lqrySessionData do begin >{returning if the needed submodule is active and works in nee

Re: [MSEide-MSEgui-talk] HTML frame behavior: how to simulate ?

2012-09-25 Thread news.gmane.org
A bit cumbersome code, though: //-- procedure tappmainfo.mt1ionewexec(const sender: TObject); begin with dmmainmo,lqrySessionData do begin {returning if the needed submodule is active and works in needed mode } if (tpoperationsinstancevarpo = @mt1inputfo) {текущий субмод

Re: [MSEide-MSEgui-talk] HTML frame behavior: how to simulate ?

2012-09-25 Thread Martin Schreiber
On Tuesday 25 September 2012 12:58:54 news.gmane.org wrote: > > You want to know the class of the current submodule? git master > > dcd07d48fca82ce794c2fd0595f70e95090657a7 has a ttabwidget.subform > > property > > for convenience. > > 1) it's always NIL for me in the below check: > > if tpOperatio

Re: [MSEide-MSEgui-talk] HTML frame behavior: how to simulate ?

2012-09-25 Thread news.gmane.org
> You want to know the class of the current submodule? git master > dcd07d48fca82ce794c2fd0595f70e95090657a7 has a ttabwidget.subform > property > for convenience. > 1) it's always NIL for me in the below check: if tpOperations.subform <> nil then begin [..] end 2) FreeAndNil(..) doesn't accep

Re: [MSEide-MSEgui-talk] HTML frame behavior: how to simulate ?

2012-09-25 Thread Martin Schreiber
On Tuesday 25 September 2012 12:14:20 news.gmane.org wrote: > >> //--- > >> procedure tappmainfo.mt1ionewexec(const sender: TObject); > >> begin > >>twMain.activepageindex:= -1; // < does it remove the previous > >> instance ? <<< > > > > Yes (not tested). > > It doesn't des

Re: [MSEide-MSEgui-talk] HTML frame behavior: how to simulate ?

2012-09-25 Thread Martin Schreiber
On Tuesday 25 September 2012 12:06:13 news.gmane.org wrote: > > On Tuesday 25 September 2012 11:36:34 news.gmane.org wrote: > >> > Which where used by tab changing only. I think too you should use > >> > >> //--- > >> procedure tappmainfo.mt1ionewexec(const sender: TObject); > >> be

Re: [MSEide-MSEgui-talk] HTML frame behavior: how to simulate ?

2012-09-25 Thread news.gmane.org
>> //--- >> procedure tappmainfo.mt1ionewexec(const sender: TObject); >> begin >>twMain.activepageindex:= -1; // < does it remove the previous >> instance ? <<< > > Yes (not tested). It doesn't destroy. -

Re: [MSEide-MSEgui-talk] HTML frame behavior: how to simulate ?

2012-09-25 Thread news.gmane.org
>> in which cases should me set "instancevarpo" ? For embedding already >> created submodules ? >> > To access them in your code. Note that it will be nil'd automatically > after > destruction of the subform. Are they those instance vars which are defined in submodule units ?

Re: [MSEide-MSEgui-talk] HTML frame behavior: how to simulate ?

2012-09-25 Thread news.gmane.org
> On Tuesday 25 September 2012 11:36:34 news.gmane.org wrote: >> > Which where used by tab changing only. I think too you should use >> //--- >> procedure tappmainfo.mt1ionewexec(const sender: TObject); >> begin >>twMain.activepageindex:= -1; // < does it remove the previo

Re: [MSEide-MSEgui-talk] TMSESQLQuery: OnCalFields isn't called for some reason

2012-09-25 Thread Martin Schreiber
On Tuesday 25 September 2012 11:38:08 news.gmane.org wrote: > Which are the condition of NOT calling ? > I don't know, please check the sources. Martin -- Live Security Virtual Conference Exclusive live event will cover a

Re: [MSEide-MSEgui-talk] HTML frame behavior: how to simulate ?

2012-09-25 Thread Martin Schreiber
On Tuesday 25 September 2012 11:36:34 news.gmane.org wrote: > > Which where used by tab changing only. I think too you should use another > > container widget. As Sieghard writes, a tsimplewidget has a > > tcaptionframe for > > example. > > Sure, but me still can't design the exact app interface (t

[MSEide-MSEgui-talk] TMSESQLQuery: OnCalFields isn't called for some reason

2012-09-25 Thread news.gmane.org
Which are the condition of NOT calling ? -- 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 wi

Re: [MSEide-MSEgui-talk] HTML frame behavior: how to simulate ?

2012-09-25 Thread news.gmane.org
> Which where used by tab changing only. I think too you should use another > container widget. As Sieghard writes, a tsimplewidget has a > tcaptionframe for > example. > Sure, but me still can't design the exact app interface (there'll be more experimenting) and the tabbed (or mixed) design i