Página 1 de 1

oImageList over 15 icons

Publicado: Jue Jun 14, 2012 6:50 pm
por franksoft
HELLO, I THINK THAT THE MAXIMUM NUMBER OF ICONS THAT CAN BE PUT IN DBBROWSE:OIMAGELIST is 15.
SOMEONE TELL ME IF THERE SA WAY TO INCREASE THIS ONE?
I HAVE TRIED BUT SO ARE IGNORED nIMAGE16 and nImage17
     WITH OBJECT ::oDBBrowse6:=TDBBrowse():New(::oFolderPage1)
           :SetBounds (4, 12, 958, 434)
             WITH OBJECT :oImageList
                :nWidth:=24
                :nHeight:=24
                :Add("Casco1") //nImage1
                :Add("Scarpe1") //nImage2
                :Add("Guanti1") //nImage3
                :Add("Occhiali1") //nImage4
                :Add("Cuffie1") //nImage5
                :Add("Mascherina1") //nImage6
                :Add("Imbracatura1") //nImage7
                :Add("Caduta1") //nImage8
                :Add("LineaVita1") //nImage9
                :Add("Impermeabile1") //nImage10
                :Add("filter1") //nImage11
                :Add("Giubbotto1") //nImage12
                :Add("Visiera1") //nImage13
                :Add("Tuta1") //nImage14
                :Add("Saldatura1") //nImage15
                :Add("Checked") //nImage16
                :Add("Unchecked") //nImage17
  END
         END
FRANK

oImageList over 15 icons

Publicado: Vie Jun 15, 2012 2:00 pm
por jfgimenez
Franco,
> HELLO, I THINK THAT THE MAXIMUM NUMBER OF ICONS THAT CAN BE
> PUT IN DBBROWSE:OIMAGELIST is 15.
>
> SOMEONE TELL ME IF THERE SA WAY TO INCREASE THIS ONE?
>
> I HAVE TRIED BUT SO ARE IGNORED nIMAGE16 and nImage17
TImageList is not limited to a number of images/icons it can contain.
Probably, your problem is that image16 and image17 have not the same
width and height than the other images. Be sure that all images have the
same width and height.
Regards,
Jose F. Gimenez
http://www.xailer.com
http://www.xailer.info

oImageList over 15 icons

Publicado: Vie Jun 15, 2012 3:48 pm
por franksoft
The image16 and image17 are 16x16.
all other 24x24, I did not know were to be the same size.
many thanks
Frank