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.

Toolbar with more bitmaps

Xailer English public forum
Responder
Srdjan
Mensajes: 111
Registrado: Dom Jun 22, 2008 1:39 pm

Toolbar with more bitmaps

Mensaje por Srdjan »

How I can add toolbar buttons


Attached files DigiDMS.rc (122 B)Â
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5706
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Toolbar with more bitmaps

Mensaje por jfgimenez »

Srdjan,
> How I can add toolbar buttons
Just select 16x16 pixels in the ImageList editor before adding any image.
Then, add that bitmap, and it will be added as a group of 16x16 bitmaps.
--
Regards,
Jose F. Gimenez
http://www.xailer.com
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Srdjan
Mensajes: 111
Registrado: Dom Jun 22, 2008 1:39 pm

Toolbar with more bitmaps

Mensaje por Srdjan »

I add this command but I not see anything
::oToolbar3:AddButton( "", "TOOLBAR" )
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:44cf92fc$[email=1@news.xailer.com...]1@news.xailer.com...[/email]
> Srdjan,
>
> > How I can add toolbar buttons
>
> Just select 16x16 pixels in the ImageList editor before adding any image.
> Then, add that bitmap, and it will be added as a group of 16x16 bitmaps.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
>
>
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5706
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Toolbar with more bitmaps

Mensaje por jfgimenez »

Srdjan,
>I add this command but I not see anything
>
> ::oToolbar3:AddButton( "", "TOOLBAR" )
Best use the toolbar editor in design mode. Or use the method AddItem()
instead of AddButton().
--
Regards,
Jose F. Gimenez
http://www.xailer.com
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Srdjan
Mensajes: 111
Registrado: Dom Jun 22, 2008 1:39 pm

Toolbar with more bitmaps

Mensaje por Srdjan »

in design mode i see bitmap but I not see in run-time
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:[email=44cf9897@news.xailer.com...]44cf9897@news.xailer.com...[/email]
> Srdjan,
>
> >I add this command but I not see anything
> >
> > ::oToolbar3:AddButton( "", "TOOLBAR" )
>
> Best use the toolbar editor in design mode. Or use the method AddItem()
> instead of AddButton().
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
>
>
Avatar de Usuario
jfgimenez
Site Admin
Mensajes: 5706
Registrado: Lun Abr 06, 2015 8:48 pm
Contactar:

Toolbar with more bitmaps

Mensaje por jfgimenez »

Srdjan,
> in design mode i see bitmap but I not see in run-time
Perhaps the problem is that the bitmap is 15 pixels height, instead of 16.
I've resized it and made an example with it. Here you are. Please, tell me
if it works.
--
Regards,
Jose F. Gimenez
http://www.xailer.com


Attached files toolbar1.zip (2.8 KB)Â
José F. Giménez
[Equipo de Xailer / Xailer team]
http://www.xailer.com
http://www.xailer.info
Srdjan
Mensajes: 111
Registrado: Dom Jun 22, 2008 1:39 pm

Toolbar with more bitmaps

Mensaje por Srdjan »

Jose,
No work.
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:[email=44cfbdc5@news.xailer.com...]44cfbdc5@news.xailer.com...[/email]
> Srdjan,
>
> > in design mode i see bitmap but I not see in run-time
>
> Perhaps the problem is that the bitmap is 15 pixels height, instead of 16.
> I've resized it and made an example with it. Here you are. Please, tell me
> if it works.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
>
>
>
Srdjan
Mensajes: 111
Registrado: Dom Jun 22, 2008 1:39 pm

Toolbar with more bitmaps

Mensaje por Srdjan »

Your example work but my no :(
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:[email=44cfbdc5@news.xailer.com...]44cfbdc5@news.xailer.com...[/email]
> Srdjan,
>
> > in design mode i see bitmap but I not see in run-time
>
> Perhaps the problem is that the bitmap is 15 pixels height, instead of 16.
> I've resized it and made an example with it. Here you are. Please, tell me
> if it works.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
>
>
>
Srdjan
Mensajes: 111
Registrado: Dom Jun 22, 2008 1:39 pm

Toolbar with more bitmaps

Mensaje por Srdjan »

Jose
now is OK
Best regards
Srdjan Dragojlovic
"Jose F. Gimenez" <jfgimenez@wanadoo.es> wrote in message
news:[email=44cfbdc5@news.xailer.com...]44cfbdc5@news.xailer.com...[/email]
> Srdjan,
>
> > in design mode i see bitmap but I not see in run-time
>
> Perhaps the problem is that the bitmap is 15 pixels height, instead of 16.
> I've resized it and made an example with it. Here you are. Please, tell me
> if it works.
>
> --
> Regards,
>
> Jose F. Gimenez
> http://www.xailer.com
>
>
>
Responder