[futurebasic] Re: [FB] Field class again

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : August 1999 : Group Archive : Group : All Groups

From: AlStaff@...
Date: Sat, 28 Aug 1999 11:35:35 EDT
>I am trying To get the class of an edit fiele by using TEHANDLE  per
>Ref.book Page3.5. I want it to determine the class of a field a user is
>entering Data in.
> efJust% = TEHANDLE&..teJust%
>But on close examination, it turns out that as far as the ToolBox is
>concerned, teJustRight = -1 and teLeftJust = 0. (teCenterJust turns out
>to be 1).
>But it doesn’t make any difference what multiple of 4 is added to the
>‘just’ parameter in ther window definition, the Toolbox ignores it.
>So how can I get the class of an edit field?

WINDOW(_efClass) should give you the class of the current edit field (I never 
tried it though).

Al Staffieri Jr.