I realized ... OF COURSE! in Client/Server, Apply to Selection will NOT be able to get coordinates!!! as it executes ON THE SERVER, and can not see the open form on the client !!!!!
Duh..... On Thu, 1 Sep 2016 12:52:00 -0400, Chip Scheide wrote: > I was calling the method which used Get Coordinates via APPLY TO > SELECTION > Some how, inside the apply to selection GET COORDINATES would not > return a value?!?!?! > > Replacing the APPLY TO SELECTION with a For loop resolves the issue, > and Get Coordinates returns values as expected. > > So... It might be wise, if you are using Get COordinates with APLY TO > SELECTION in v14 + to verify that this works as expected (you do > actually get coordinates). > > > On Thu, 1 Sep 2016 12:41:18 -0400, Chip Scheide wrote: >> as a followup - when I exit the method where there is a zero coordinate >> value he coordinates are again available. >> >> On Thu, 1 Sep 2016 12:29:36 -0400, Chip Scheide wrote: >>> any ideas as to why this command is returning all 0's ? >>> >>> I am in a call chain: >>> New process >>> Opened window >>> entry form (calendar) >>> Form method >>> Project method for form (on outside call) >>> redraw calendar >>> place boxes, day numbers etc * >>> Place appointments/events * >>> actually move text objects for appts/events ** >>> >>> * - In debugger (and in execution of code) : >>> OBJECT GET >>> >> > COORDINATES(*;$"Actual_Object_Name";$Box_Left;$Box_Top;$Box_Right;$Box_Bottom) >>> all of these variables $Box_Top;$Box_Right;$Box_Bottom > 0 >>> >>> ** - In debugger (and in execution of code) : >>> OBJECT GET >>> >> > COORDINATES(*;$"Actual_Object_Name";$Box_Left;$Box_Top;$Box_Right;$Box_Bottom) >>> all of these variables $Box_Top;$Box_Right;$Box_Bottom **Equal** 0 >>> (zero) >>> >>> I do not understand how this is! >>> Same form, same window, same process, same call chain, just one step >>> deeper >>> The object exists! It was moved into its location in the step (above >>> call chain) 'place boxes, day numbers etc'. I can see it being put >>> into place, while debugging!! >>> >>> thanks >>> Chip >>> ********************************************************************** >>> 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] >>> ********************************************************************** >> ********************************************************************** >> 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] >> ********************************************************************** > ********************************************************************** > 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] > ********************************************************************** ********************************************************************** 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] **********************************************************************

