Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #1105

Re: Sysobject() visibility

From Karl Faller <k.faller_withoutthat_@onlinehome.de>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Sysobject() visibility
Date 2011-05-12 15:33 +0200
Organization 1&1 Internet AG
Message-ID <oaons6prckjb4f1roea3vpmfiqcdr147k3@4ax.com> (permalink)
References <801f654a-9215-48a1-8541-d0fc4724a887@e21g2000vbz.googlegroups.com> <iqbtvr$loh$1@speranza.aioe.org> <054c347b-efe5-4442-9509-d4916c82c060@l2g2000prg.googlegroups.com>

Show all headers | View raw


Richard,
IIRC, up from, probably 2.6 or even earlier, a datawindow can't "own"
another one.

Karl

>Massimo
>
>The first diaqlog is owned by the shellwindow
>
>METHOD Initialise(oMain) CLASS TDOCShellWindow
>	LOCAL oAP AS AppPaths
>	oAP := AppPaths{SysObject()}
>	oAP:Show()
>
>The second one is owned by the first one.
>
>METHOD GetInternetPath() CLASS AppPaths
>	LOCAL oWin AS InterNetPath
>	LOCAL cPath:='' AS STRING
>
>	IF SELF:baPaths:FIELDGET(#cType) == 'I'
>		cPath:=AllTrim(SELF:baPaths:FIELDGET(#cPath))
>	ELSE
>		cPath:=NULL_STRING
>	ENDIF
>
>	oWin:=InternetPath{SELF, {cPath}}
>	oWin:Show()
>
>
>This is the method which fails
>
>METHOD DoSave( ) CLASS InternetPath
>
>	SysObject():lIPConnected:=TRUE  // this line fails
>
>	SysObject():PutSet(DataPath, SELF:cConnpath)	// this line works
>
>	SELF:EndDialog(IP_PATH_OK)
>
>RETURN NIL

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Sysobject() visibility "richard.townsendrose" <richard.townsendrose@gmail.com> - 2011-05-10 08:30 -0700
  Re: Sysobject() visibility Massimo Bighelli <info@arcasistemi.it> - 2011-05-10 19:52 +0200
    Re: Sysobject() visibility "richard.townsendrose" <richard.townsendrose@gmail.com> - 2011-05-12 01:13 -0700
      Re: Sysobject() visibility Massimo Bighelli <info@arcasistemi.it> - 2011-05-12 15:14 +0200
      Re: Sysobject() visibility Karl Faller <k.faller_withoutthat_@onlinehome.de> - 2011-05-12 15:33 +0200
        Re: Sysobject() visibility "richard.townsendrose" <richard.townsendrose@gmail.com> - 2011-05-12 07:20 -0700
          Re: Sysobject() visibility Karl Faller <k.faller_withoutthat_@onlinehome.de> - 2011-05-12 21:21 +0200

csiph-web