1124.2 Answer to same question from Tadorna Answered by M Tapal

1124.2 Answer to same question from Tadorna Answered by M Tapal

Post by U3ZlbkpvY » Wed, 27 Apr 2005 04:45:42



Date: Tue, 10 Apr 2001 08:26:39 +0200
From: "Michael Tapal" < XXXX@XXXXX.COM >
Subject: Re: LostFocus

really good question

try to use the following proceeding:

- declare an integer variable within the form

int lastcol;

- set this variable to zero within forms init method-

overwrite the tables activecellchanged method in the following manner:

void activeCellChanged()
{ ;
super();
if (this.column() != lastcol) {
this.columnchanged( lastcol, this.column());
lastcol = this.column();
}
}

write a method void columnchanged( int from, int to)
{
// put your code stuff here
}

regards

michael



technet.navision.com Posting date: Tuesday, April 10, 200

technet.navision.com Posting path: Navision Axapta