THANKS!
On Mon, 25 Mar 2019 21:27:48 +0000, Add Komoncharoensiri via 4D_Tech wrote: > Hi Chip, > >>> When the Object GET/SET commands are called from a Component >>> method, do they recognize that an object referenced by name is on a >>> Host form? > I don't think they behave differently from between v13 and v17. So a > quick answer is yes. > > Suppose your component method is > > // Method: obSetTitle > C_TEXT($1;$2) > OBJECT SET TITLE(*;$1;$2) > > If you host form has a button with object method that executes: > > obSetTitle (OBJECT Get name(Object current);"Hello") > > The button title will change accordingly. > > HTH, > > Add > > > > > On 3/25/19, 2:10 PM, "4D_Tech on behalf of Chip Scheide via 4D_Tech" > <4d_tech-boun...@lists.4d.com on behalf of 4d_tech@lists.4d.com> > wrote: > > I am unclear in what you are saying (sorry). > > Are you saying: > ... there exists, at least some, Form object commands which *will* > work, from inside a component method, on Host form objects? > > I know that in the Host, Object Get commands will retrieve (or set for > Object Set) a variety of Object properties; and I believe if the Form > (and its objects) are part of a component that the same commands will > do the same thing for the component form. > > What I am asking about - to be more clear (I hope) - > preferably for v13 (or v15) > When the Object GET/SET commands are called from a Component method, do > they recognize that an object referenced by name is on a Host form? > > > Thanks > ****************************************************** > > ********************************************************************** > 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 **********************************************************************