|
![]() |
#1 |
Участник
|
for(i = 0; i < imageListAppl.imageList().count(); i++), не решает проблему.
Я знаю что элементы в imagelist добавляются в методe build(). Но я именно ето хочу узнать : все images(#ImageError, #ImageInfo...) из build() метод, используя итератор (for, while). Спасибо. |
|
![]() |
#2 |
Участник
|
Цитата:
Что-то подобное: X++: class ImageListAppl_Demo extends ImageListAppl { } Map getMapConvert() { return imageConvert ; } X++: static void jbImageListDemo(Args _args) { ImageListAppl_Demo imageListAppl = new ImageListAppl_Demo() ; MapEnumerator mapEnumerator ; ; mapEnumerator = imageListAppl.getMapConvert().getEnumerator() ; while( mapEnumerator.moveNext() ) { info( strfmt( "ressNo: %1, imageNo: %2", mapEnumerator.currentKey(), mapEnumerator.currentValue() ) ) ; } } ressNo: 790, imageNo: 3 ressNo: 791, imageNo: 4 ressNo: 875, imageNo: 0 ressNo: 1030, imageNo: 1 ressNo: 1031, imageNo: 2 |
|
|
За это сообщение автора поблагодарили: vitaly85 (1). |
![]() |
#3 |
Участник
|
Супер! Спасибо всем за участие.
|
|
|
Опции темы | Поиск в этой теме |
Опции просмотра | |
|