In order for this site to work correctly we need to store a small file (called a cookie) on your computer. Most every site in the world does this, however since the 25th of May 2011, by law we have to get your permission first. Please abandon the forum if you disagree.

Para que este foro funcione correctamente es necesario guardar un pequeño fichero (llamado cookie) en su ordenador. La mayoría de los sitios de Internet lo hacen, no obstante desde el 25 de Marzo de 2011 y por ley, necesitamos de su permiso con antelación. Abandone este foro si no está conforme.

oImageList over 15 icons

Xailer English public forum
Responder
franksoft
Mensajes: 42
Registrado: Lun Sep 05, 2011 6:45 pm

oImageList over 15 icons

Mensaje 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
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5718
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

oImageList over 15 icons

Mensaje 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
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
franksoft
Mensajes: 42
Registrado: Lun Sep 05, 2011 6:45 pm

oImageList over 15 icons

Mensaje por franksoft »

The image16 and image17 are 16x16.
all other 24x24, I did not know were to be the same size.
many thanks
Frank
Responder