Re: v14+ find in design

2019-06-27 Thread Chip Scheide via 4D_Tech
I was the instigator of this thread  :)

My question was: 
[In which version does] Find in design locate method references in 
object properties?

ex:
Listbox: Font foreground color: my_font_color_selection_method

In v13 Find in design will not locate references to methods which are 
entered into a property field.
At some point (apparently) this ability was added.

My current task: is to integrate a utility component into an existing 
system, replacing method calls in code with component calls, and 
removing the no longer referenced methods.

In some instances, the method(s) being replaced by component calls 
may/are called from object properties (not object methods). 
I found a workaround which is the compiler complains if a method 
referenced in an object property does not exist; so if I just go about 
removing methods as I need, if there is a reference in an object 
property when I compile it will become obvious.

Chip



On Thu, 27 Jun 2019 13:04:56 -0400, Charles Miller via 4D_Tech wrote:
> Make sure you have search in methods and search in forms selected. I
> also never do a case sensitive search
> 
> 
> Regards
> 
> Chuck
> 
> On Thu, Jun 27, 2019 at 1:00 PM Dave Halbert via 4D_Tech
> <4d_tech@lists.4d.com> wrote:
>> 
>> I suspect that I'm not totally understanding the question correctly but
>> if this helps on V15.5 running locally on a Mac
>> 
>> Object method is
>> 
>> Case of
>> : (Form event=On Data Change)
>> 
>> [Stock]DescriptionInv:=Settocaps (->[Stock]DescriptionInv)
>> 
>> End case
>> 
>> 
>> 
>> Using Find in design
>> 
>> Find = Text
>> 
>> Which = contains - entered is = ->[Stock]DescriptionInv
>> 
>> Mod date of parent = indifferent
>> 
>> Folder = Top level
>> 
>> Search Forms and Methods = Yes
>> 
>> Case sensitive = No
>> 
>> 
>> 
>> Result is zero occurrences
>> 
>> 
>> --
>> --
>> The Better Beverage Company
>> 5 Arthur St
>> Edinburgh EH6 5DA
>> 
>> 0131 55 33 121
>> **
>> 4D Internet Users Group (4D iNUG)
>> Archive:  http://lists.4d.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
> 
> 
> 
> -- 
> 
-
>  Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
>  Informed Solutions, Inc.
>  Brookline, MA 02446 USA Registered 4D Developer
>Providers of 4D, Sybase & SQL Server connectivity
>   https://www.informed-solutions.com
> 
-
> This message and any attached documents contain information which may
> be confidential, subject to privilege or exempt from disclosure under
> applicable law.  These materials are intended only for the use of the
> intended recipient. If you are not the intended recipient of this
> transmission, you are hereby notified that any distribution,
> disclosure, printing, copying, storage, modification or the taking of
> any action in reliance upon this transmission is strictly prohibited.
> Delivery of this message to any person other than the intended
> recipient shall not compromise or waive such confidentiality,
> privilege or exemption from disclosure as to this communication.
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: v14+ find in design

2019-06-27 Thread Charles Miller via 4D_Tech
Make sure you have search in methods and search in forms selected. I
also never do a case sensitive search


Regards

Chuck

On Thu, Jun 27, 2019 at 1:00 PM Dave Halbert via 4D_Tech
<4d_tech@lists.4d.com> wrote:
>
> I suspect that I'm not totally understanding the question correctly but
> if this helps on V15.5 running locally on a Mac
>
> Object method is
>
> Case of
> : (Form event=On Data Change)
>
> [Stock]DescriptionInv:=Settocaps (->[Stock]DescriptionInv)
>
> End case
>
> 
>
> Using Find in design
>
> Find = Text
>
> Which = contains - entered is = ->[Stock]DescriptionInv
>
> Mod date of parent = indifferent
>
> Folder = Top level
>
> Search Forms and Methods = Yes
>
> Case sensitive = No
>
> 
>
> Result is zero occurrences
>
>
> --
> --
> The Better Beverage Company
> 5 Arthur St
> Edinburgh EH6 5DA
>
> 0131 55 33 121
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **



-- 
-
 Chuck Miller Voice: (617) 739-0306 Fax: (617) 232-1064
 Informed Solutions, Inc.
 Brookline, MA 02446 USA Registered 4D Developer
   Providers of 4D, Sybase & SQL Server connectivity
  https://www.informed-solutions.com
-
This message and any attached documents contain information which may
be confidential, subject to privilege or exempt from disclosure under
applicable law.  These materials are intended only for the use of the
intended recipient. If you are not the intended recipient of this
transmission, you are hereby notified that any distribution,
disclosure, printing, copying, storage, modification or the taking of
any action in reliance upon this transmission is strictly prohibited.
Delivery of this message to any person other than the intended
recipient shall not compromise or waive such confidentiality,
privilege or exemption from disclosure as to this communication.
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: v14+ find in design

2019-06-27 Thread Dave Halbert via 4D_Tech
I suspect that I'm not totally understanding the question correctly but 
if this helps on V15.5 running locally on a Mac


Object method is

Case of
: (Form event=On Data Change)

[Stock]DescriptionInv:=Settocaps (->[Stock]DescriptionInv)

End case



Using Find in design

Find = Text

Which = contains - entered is = ->[Stock]DescriptionInv

Mod date of parent = indifferent

Folder = Top level

Search Forms and Methods = Yes

Case sensitive = No



Result is zero occurrences


--
--
The Better Beverage Company
5 Arthur St
Edinburgh EH6 5DA

0131 55 33 121
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: v14+ find in design

2019-06-26 Thread Chip Scheide via 4D_Tech
Thanks!

anyone else - in between versions??

Thanks
On Wed, 26 Jun 2019 09:44:01 -0700, Tom Benedict wrote:
> Yes. At least they do in v17R4, which I just tested.
> 
> I have a variable on a form where the expression is “Size of 
> array(atMyArray)” and it showed up in Find in Design. I also tried it 
> with an expression which calls a Project Method and it shows up too. 
> 
> Tom Benedict
> 
>> On Jun 26, 2019, at 09:26, Chip Scheide via 4D_Tech 
>> <4d_tech@lists.4d.com> wrote:
>> 
>> Does, v14 or newer versions of 4D support Find in die sign locating 
>> method references which are in object properties?
>> 
>> ex:
>> Listbox - Foregound Line Color -> my_method_to_set_Fore_Color
>> 
>> In the above example does Find in Design locate the call to 
>> 'my_method_to_set_Fore_Color'?
>> 
>> Thanks
>> Chip
>> 
>> ---
>> Gas is for washing parts
>> Alcohol is for drinkin'
>> Nitromethane is for racing 
>> **
>> 4D Internet Users Group (4D iNUG)
>> Archive:  http://lists.4d.com/archives.html
>> Options: https://lists.4d.com/mailman/options/4d_tech
>> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
>> **
> 
> 
---
Gas is for washing parts
Alcohol is for drinkin'
Nitromethane is for racing 
**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**

Re: v14+ find in design

2019-06-26 Thread Tom Benedict via 4D_Tech
Yes. At least they do in v17R4, which I just tested.

I have a variable on a form where the expression is “Size of array(atMyArray)” 
and it showed up in Find in Design. I also tried it with an expression which 
calls a Project Method and it shows up too. 

Tom Benedict

> On Jun 26, 2019, at 09:26, Chip Scheide via 4D_Tech <4d_tech@lists.4d.com> 
> wrote:
> 
> Does, v14 or newer versions of 4D support Find in die sign locating 
> method references which are in object properties?
> 
> ex:
> Listbox - Foregound Line Color -> my_method_to_set_Fore_Color
> 
> In the above example does Find in Design locate the call to 
> 'my_method_to_set_Fore_Color'?
> 
> Thanks
> Chip
> 
> ---
> Gas is for washing parts
> Alcohol is for drinkin'
> Nitromethane is for racing 
> **
> 4D Internet Users Group (4D iNUG)
> Archive:  http://lists.4d.com/archives.html
> Options: https://lists.4d.com/mailman/options/4d_tech
> Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
> **

**
4D Internet Users Group (4D iNUG)
Archive:  http://lists.4d.com/archives.html
Options: https://lists.4d.com/mailman/options/4d_tech
Unsub:  mailto:4d_tech-unsubscr...@lists.4d.com
**