[futurebasic] Re: [FB] Static edit field problems

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2002 : Group Archive : Group : All Groups

From: Jay <jktr@...>
Date: Wed, 22 May 02 08:58:23 -0500
>The follow code to change edit fields currently works and has always worked
>in non-appearance windows to change edit fields that were originally created
>as static or non-static (of course _useplainframe and _nodrawfocus are not
>used in non appearance applications).
>
>Am I doing something wrong or is this a bug?
>
>
>EDIT FIELD 0
>FOR t=21 TO 69 STEP 8
>EDIT FIELD t%,,,_framedNoCR_usePlainFrame_noDrawFocus,_rightJust
>EDIT FIELD (t%+1),,,_statFramed,_rightJust
>NEXT t%
>
Douglas,

I checked my appearance project, where I regularly change to and from 
static, and found I had added this line:

>EDIT FIELD t%,,,_framedNoCR_usePlainFrame_noDrawFocus,_rightJust
EDIT FIELD 0
>EDIT FIELD (t%+1),,,_statFramed,_rightJust

Does that work for you?

Also, have you tried it without the _usePlainFrame_noDrawFocus? I suppose 
there's a chance they could be interfering. The ones in my project just 
switch between _NoFramed and _StatNoFramed, but that shouldn't make any 
difference.

HTH,
 e-e
 =J= a  y
  "

PS. One more thought--Are you certain you are referencing the right field 
numbers? It seems your numbering system could easily be off.