I have a test case that shows this problem, but did not want to send it
to the list.

I have a dialog with up to 9 rows (plus other fields) each row containing a
combination of date, text and numeric fields.  There are 6 entry fields in
each row, and each row is only displayed if there is data (from a SQL
database or based on calculations).  There are multiple numeric fields
using the NumberOnlyEditEx class, each with different decimal positions
and different sizes.  The dialog symbols are using stem variables, as are
the variables for each edit field.  For example, the initialization of the
numeric field that is appearing incorrectly is:
   /* Ticket sold dollar amount is numeric, 2 decimals, no sign */
   TktDoll.i = self~newEdit(IDC.Doll.1)
   TktDoll.i~initDecimalOnly(2, .false)
   TktDoll.i~connectCharEvent(onChar)
   TktDoll.i~setLimit(8)
   TktDoll.i~TabStop(.TRUE)
   self~connectEditEvent(IDC.Doll.i,LOSTFOCUS, focusDOLL.i)

where the IDC.DOLL.i and focusDOLL.i are defined as
 IDC.Doll.i = "IDC_TKT_DOLL" || i
 focusDOLL.i = "OnLostFocusDOLL" || i

with i being stepped in a do loop earlier in the InitDialog method, 
and the IDC. and focusDOLL. and TktDoll. stems are exposed in the methods that 
use them.

According to my traces, when the TktDoll.1 Edit field is set to a value, all of 
the
TktDoll.x Edit fields are set to the same value.  The show and hide operations
also seem to cause the incorrect row's Edit field to display or be hidden.  This
last issue does not show up in the test case.

I have not tried to remove the stem usages for the symbolic references, but
can do that if it is felt this is contributing to the problem.  Any ideas?

--
  Art Heimsoth - artst...@artheimsoth.com

------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to