Bootstrap Component - Image strange behavior

Hi there,

I use the Bootstrap Component “image”.
On my forms I change records in the way like (old) videorecorders with four buttons
grafikýou might remember…

The code behind these buttons is very, very old, as an example for the button “NEXT”

function GO_next() {

**var** \_recno =controller.getSelectedIndex();

controller.setSelectedIndex(\_recno +1 );

**var** \_reccount = v_datensaetze;

**if** ( \_reccount > \_recno+1)

{

	elements.btn_first.enabled = **true**;

	elements.btn_back.enabled = **true**;

	elements.btn_vor.enabled = **true**;

	elements.btn_last.enabled = **true**;

}

**else**

{

	elements.btn_first.enabled = **true**;

	elements.btn_back.enabled = **true**;

	elements.btn_vor.enabled = **false**;

	elements.btn_last.enabled = **false**;

}

}

It works since years, but now clicking the “next-Button” switches to the next record and text-Fields, grid, datefields are displayed correctly, but the image-field remained for the old value = record 1, clicking again moves one record on ( = record 3) and the imagefiled changes but shows now the image from record 2.
The same happens, when I move to last record and then back to first record (in this case it displays image of record 4.017 (the last record).

I build a sample solution just one form, just this code for the buttons = same behavior
It seams the Image-Container/Field is alway “one behind”
Any idea?

Thanks for help and greetings from Berlin
Ralf