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
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
-
> 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
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
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) {текущий субмод
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
> 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
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
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
>> //---
>> procedure tappmainfo.mt1ionewexec(const sender: TObject);
>> begin
>>twMain.activepageindex:= -1; // < does it remove the previous
>> instance ? <<<
>
> Yes (not tested).
It doesn't destroy.
-
>> 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 ?
> 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
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
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
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
> 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
16 matches
Mail list logo