GetEdit (identify edit-in-place field) 

Top  Previous  Next

 

GetEdit, VIRTUAL, PROTECTED

The GetEdit method checks for a value in the Control field of the EditQueue.

Implementation:

GetEdit is called by the Next method, and returns one (1) if any value is in the Control field of the EditQueue, otherwise it returns zero (0).

Return Data Type:     BYTE

Example:

EIPManager.Next PROCEDURE

 CODE

 

 GET(SELF.EQ,RECORDS(SELF.EQ))

? ASSERT(~ERRORCODE())

 LastCol=SELF.EQ.Field

 

 LOOP

   CLEAR(SELF.EQ)

   SELF.EQ.Field = SELF.Column

   GET(SELF.EQ,SELF.EQ.Field)

   IF ~ERRORCODE() AND SELF.GetEdit()

     BREAK

   END

 !executable code

See Also:     EQ, Next