![]() |
#23 |
Участник
|
Если Вам поможет приведу наше решение:
ClassDeclaration PurcheTable form добавим X++: boolean bf5Pressed; // FIX F5 refresh X++: public void executeQuery() { int pos; ; // FIX F5 refresh if (bf5Pressed) { pos = purchLine_ds.getPosition(); super(); bf5Pressed = false; purchLine_ds.setPosition(pos); } else { super(); } } X++: public int task(int _taskId) { int ret; int rowposition; #task ; if(_taskId == #taskFormRefreshMenu ||_taskId == #taskFormRefresh_F5 ) { // rowposition = this.objectSet().getPosition(); // FIX F5 refresh ret = super(_taskId); bf5Pressed = true; // this.objectSet().setPosition(rowposition); } else ret = super(_taskId); return ret; } X++: public void executeQuery() { // FIX F5 refresh bf5Pressed = false; super(); } Последний раз редактировалось DmitryK; 18.03.2013 в 10:25. |
|
|
За это сообщение автора поблагодарили: IvanS (1). |