This was when I was a newbie and developing my resizing library and I called it with the wrong control type.
Ralph DiMola IT Director Evergreen Information Services <div>-------- Original message --------</div><div>From: Richard Gaskin <[email protected]> </div><div>Date:04/02/2016 23:59 (GMT-05:00) </div><div>To: [email protected] </div><div>Subject: Re: Set Text to the Vertical Center of the field </div><div> </div>Ralph DiMola wrote: > try > put item 1 of the margins of obj into item 1 of tMargins > put item 3 of the margins of obj into item 3 of tMargins > catch SomeError > exit CenterVert -- Can't get margins?... do nothing > end try Now I'm even more worried: is there a cirumstance in which querying the margins can result in a thrown error? -- Richard Gaskin Fourth World Systems Software Design and Development for Desktop, Mobile, and Web ____________________________________________________________ [email protected] http://www.FourthWorld.com _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
