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
**********************************************************************

Reply via email to