John, FWIW - I use Object get pointer all the time in generic project methods. Typically like so:
// form.object.btn_button - a or field button script Form_controller project method: // Form_controller $ptrCurrent:=Object get pointer(Current object) $objName:=Object get name(Current object) Case of :($objName = "btn_button") if($ptrCurrent->=1) ... end if ... : (etc) End case How or where are you invoking Object get pointer? O bject get name is great for everything except listbox elements - currently it returns the name of the listbox instead of the name of the object within the listbox. Object get pointer works perfectly is that situation, though. On Tue, Nov 8, 2016 at 11:23 AM, John DeSoi <[email protected]> wrote: > I'm trying to write something generic I can use on all forms and avoid > adding an object method to every boolean field. OBJECT Get pointer(Object > current) returns nil in the form method. No On Data Changed is fired for > boolean fields, but it is for every other type of field. > -- Kirk Brooks San Francisco, CA ======================= ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:[email protected] **********************************************************************

