Re: Dot notation in entry forms

2019-11-15 Thread kculotta via 4D_Tech
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

Dot notation in entry forms

2019-11-14 Thread kculotta via 4D_Tech
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

RE: Dot Notation in Legacy 4D Code

2019-06-21 Thread Epperlein, Lutz (agendo) via 4D_Tech
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:

Re: Dot Notation in Legacy 4D Code

2019-06-20 Thread Narinder Chandi via 4D_Tech
- 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

Re: Dot Notation in Legacy 4D Code

2019-06-20 Thread Douglas von Roeder via 4D_Tech
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

RE: Dot Notation in Legacy 4D Code

2019-06-20 Thread Timothy Penner via 4D_Tech
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

Dot Notation in Legacy 4D Code

2019-06-20 Thread Narinder Chandi via 4D_Tech
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

Re: Form data, Constants and dot notation

2018-10-14 Thread Jim Dorrance via 4D_Tech
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

Re: Form data, Constants and dot notation

2018-10-14 Thread Jim Dorrance via 4D_Tech
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? >> >> **

Re: Form data, Constants and dot notation

2018-10-14 Thread Jim Dorrance via 4D_Tech
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 >

Re: Form data, Constants and dot notation

2018-10-14 Thread John DeSoi via 4D_Tech
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? ***

Form data, Constants and dot notation

2018-10-14 Thread Jim Dorrance via 4D_Tech
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

RE: Dot notation

2018-06-22 Thread Vance Villanueva via 4D_Tech
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

Dot notation

2018-06-22 Thread Pat Bensky via 4D_Tech
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&

Re: dot notation object

2018-01-22 Thread Jim Dorrance via 4D_Tech
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- >

Re: dot notation object

2018-01-22 Thread Keisuke Miyako via 4D_Tech
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

dot notation object

2018-01-22 Thread Jim Dorrance via 4D_Tech
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