Getting Object Name of Tab Control Selected

Discussion created by JeffJ on Nov 30, 2015
Latest reply on Nov 30, 2015 by JeffJ

Thanks to several bright persons on this forum I have managed to put together a useful invoicing solution for a small business I support. My latest breakthrough has been to use the OnObjectModify script trigger on a Tab Control to run a script. In my solution this changes the layout from a "Detail" view to a "List" view by going to a different layout. This works as long as you have only two Tabs as it runs the same script upon any Tab selection. My question is; is there a way to get information about which Tab was clicked on? I have tried adding an Object Name to each Tab and using the Get(ActiveLayoutObjectName) function but so far that has not worked. Has anyone had any success with using Tab Control selection to trigger/control events? Thanks