OK - Thanks
Keith - CDI
> On Nov 14, 2019, at 6:45 PM, Keisuke Miyako via 4D_Tech
> <4d_tech@lists.4d.com> wrote:
>
> The short answer is no;
>
> A pointer can only point to a variable, array, array element, table or field.
> An object property is none of the above, so it can not be
In an entry form with entry fields like entity.Name, entity.Address, etc...
When the cursor is in a field like entity.Address
$name:=OBJECT Get name(Object current) gets the form object's name, eg
"text_Address",
but OBJECT Get pointer(Object named;$name) always returns a pointer to entity
If you deal with variables you can use "Rename..." in the context menu of the
method editor too.
Regards
Lutz
**
4D Internet Users Group (4D iNUG)
Archive: http://lists.4d.com/archives.html
Options:
-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> on behalf of 4D Tech Mailing List
<4d_tech@lists.4d.com>
Reply-To: 4D Tech Mailing List <4d_tech@lists.4d.com>
Date: Thursday, 20 June 2019 at 18:11
To: 4D Tech Mailing List <4d_tech@lists.4d.com>
Cc: Douglas von Roeder
Subject: Re
Narinder:
That’s correct - it you’re using dotted notation, you’ll have to clean up
the old code. The good news is features in newer versions make that much
easier. The Find in design feature is much faster and far more flexible.
Once you run a query and the results window opens, you can delete
Hi Narinder,
Did you run the MSC verify *before* enabling dot notation to check for issues?
https://blog.4d.com/get-ready-for-object-notation/
-Tim
-Original Message-
From: 4D_Tech <4d_tech-boun...@lists.4d.com> On Behalf Of Narinder Chandi via
4D_Tech
Sent: Thursday, June 20
S, I suspected this would be the case but just seeking confirmation...
I am working with a 4D database that has made extensive use of dot in table,
variable and project names (not of my doing btw!), e.g.
[my.table.name]
my.process.variable
my.project.method
Converting the database to v17
tant].
>>>
>>> John DeSoi, Ph.D.
>>>
>>>
>>> > On Oct 14, 2018, at 1:56 AM, Jim Dorrance via 4D_Tech <
>>> 4d_tech@lists.4d.com> wrote:
>>> >
>>> > Constants cannot be used with dot notation?
>>>
&g
sion form, e.g. myObject[constant].
>>
>> John DeSoi, Ph.D.
>>
>>
>> > On Oct 14, 2018, at 1:56 AM, Jim Dorrance via 4D_Tech <
>> 4d_tech@lists.4d.com> wrote:
>> >
>> > Constants cannot be used with dot notation?
>>
>> **
M, Jim Dorrance via 4D_Tech <
> 4d_tech@lists.4d.com> wrote:
> >
> > Constants cannot be used with dot notation?
>
> **
> 4D Internet Users Group (4D iNUG)
> Archive: http://lists.4d.com/archives.html
>
Only the bracketed expression form, e.g. myObject[constant].
John DeSoi, Ph.D.
> On Oct 14, 2018, at 1:56 AM, Jim Dorrance via 4D_Tech <4d_tech@lists.4d.com>
> wrote:
>
> Constants cannot be used with dot notation?
***
Constants cannot be used with dot notation?
--
Jim Dorrance
jim.dorra...@gmail.com
4...@dorrance.eu
www.4d.dorrance.eu
PS: If you know of anyone that needs an experienced 4D programmer to add
energy and experience to their team, please let me know. I have
experience in many areas. Reasonable
d anything in the "$".
Regards,
Vance Villanueva
-Original Message-
From: 4D_Tech [mailto:4d_tech-boun...@lists.4d.com] On Behalf Of Pat Bensky via
4D_Tech
Sent: Friday, June 22, 2018 4:35 AM
To: 4D iNug Technical
Cc: Pat Bensky
Subject: Dot notation
I'm trying to use t
I'm trying to use the 4DWrite-like toolbar with Write Pro. It uses dot
notation to reference the WP object. For example:
$fontStyle:=GetSelectionInfo // creates a range object
In GetSelectionInfo:
*$0*:=*New object*("Range";$wpRange;"Font&
Oooops... Thanks
On Mon, Jan 22, 2018 at 5:12 PM, Keisuke Miyako via 4D_Tech <
4d_tech@lists.4d.com> wrote:
> yes, but the syntax would look like:
>
> $nTable:=$oParameters[kOParam_Requested_nTableNumber]
>
> see
>
> http://doc.4d.com/4Dv16R4/4D/16-R4/Using-object-notation-
>
yes, but the syntax would look like:
$nTable:=$oParameters[kOParam_Requested_nTableNumber]
see
http://doc.4d.com/4Dv16R4/4D/16-R4/Using-object-notation-preview.300-3303773.en.html
the example to follow is
employee.name:="Smith"
$vName:=employee["name"]
> 2018/01/22 23:14、Jim Dorrance via
Hi,
Can I use a 4D custom constant with dot notation, eg instead of
$nTable:=*OB Get*($oParameters;kOParam_Requested_nTableNumber;Is longint)
$nTable:=$oParameters.kOParam_Requested_nTableNumber
--
Jim Dorrance
jim.dorra...@gmail.com
4...@dorrance.eu
www.4d.dorrance.eu
PS: If you know
17 matches
Mail list logo