Re: call subform

2019-01-30 Thread Kirk Brooks via 4D_Tech
Chuck, If AddButton is on the subform you don't need CALL SUBFORM CONTAINER at all. Just handle it there in your subform code: OBJECT SET VISIBLE(*;"AddButton";Not(Read only state([table]))) I would put that in the form method code (i'm talking about the actual form you us

Re: call subform

2019-01-30 Thread Chuck Miller via 4D_Tech
The AddButton is on subform. So I am not sure what goes on. Should I be setting call subform container in the print form or the subform. Docs look like it should be in subform form method. Is this not the case and yes trace seems to not show anything anywhere Regards Chuck

Re: call subform

2019-01-29 Thread Kirk Brooks via 4D_Tech
Hi Chuck, On Tue, Jan 29, 2019 at 5:11 PM Chuck Miller via 4D_Tech < 4d_tech@lists.4d.com> wrote: > I have created a subform with an add button on it. In the form method I > call subform (-999) > What kind of subform? input or output What is the button adding? And is it d

call subform

2019-01-29 Thread Chuck Miller via 4D_Tech
Hi All, environment v15.6 client server I have created a subform with an add button on it. In the form method I call subform (-999) In object on the subform I have case :(form event=-999) if(read only state(table)) object set visible(*;”Addbutton”;false) else object set visible(*;”Addbutton