Ken's theory is born out by looking at the values reported. In hex, these are:

29293 = 0x7260 = 'rm'
24931 = 0x6163 = 'ac'

Since the right edge is stored as a width value, we need to subtract the left
value from the right to get the stored value:

60269 - 29293 = 0x7900 = 'y\0'

So it looks like the text "rmacy" was written over your coordinate values.  Does
that ring any bells for you? Could it be the tag end of "pharmacy" or something?

-- Keith Rollin
-- Palm OS Emulator engineer






Ken Krugler <[EMAIL PROTECTED]> on 01/01/2001 09:26:30 PM

Please respond to "Palm Developer Forum" <[EMAIL PROTECTED]>

Sent by:  Ken Krugler <[EMAIL PROTECTED]>


To:   "Palm Developer Forum" <[EMAIL PROTECTED]>
cc:   [EMAIL PROTECTED] (Keith Rollin/US/PALM)
Subject:  Re: strange resource problem



At 12:00am -0800 00-12-30, Palm Developer Forum digest wrote:
>Subject: strange resource problem
>From: "Jason Henderson" <[EMAIL PROTECTED]>
>Date: Fri, 29 Dec 2000 09:11:19 -0600
>X-Message-Number: 17
>
>When I open one of my forms, I receive this message about my OK button:
>
>Form object ID #26721 (left=29293, top=24931, right=60269, bottom=24943)
>from "EagleSoft" 1.0 is completely offscreen.  It is recommended that

>applications hide objects by calling FrmHideObject instead of placing them
>completely offscreen.
>
>In constructor, the button is located at the bottom of the form, but it is
>not visible at runtime.  Why am I getting this message and what might be
>causing it?

One possibility is that you are somehow trashing the object location
in the form. The most common way this happens is when you set an
object's text (e.g. form title, label, or control title) to something
that's longer than the space allocated inside of the form object. The
string data winds up tromping on the following object's information,
such as its location.

-- Ken

Ken Krugler
TransPac Software, Inc.
<http://www.transpac.com>
+1 530-470-9200





-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to