Paulo,
> I have twelve TBtnBmp, that afert select one pacient, i put one BMp.
>
> But only apears 3 and 1/4 of another. See Step_1.JPG
>
> I need to pass the cursor to the BtnBmp for show all the BtnBmp. See
> Step_2.JPG
>
> But when i put the cursor in the BtnBmp, this disapear. See the Step_3.JPG
>
> I make this in the formInitialize!
>
> ::oImageList1:Add(".FicCliR.Bmp")
> Etc.
>
> And this is the Button2Click
>
> ::oBtnBmp1:oBitMaps := ::oImageList1:GetBitMap(1)
The property oBitmaps is itself an imagelist. Also, it's allowed to assign
the image filename directly. Please, try:
::oBtnBmp1:oBitmaps := "FicCliR.bmp"
and so on. If it doesn't work, please, send us a small sample to review (you
could create a new project containing only that form and the needed
bitmaps).
--
Regards,
Jose F. Gimenez
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.
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.
Re: TBtnBmp.
Re: TBtnBmp.
Paulo,
thanks for the sample. You are right; there was a bug. Here you are the
fixed class; just add the .obj file to your project.
BTW, I suggest 2 issues:
- Put all the bitmaps in a resource file. You only need to show the resource
mannager, create a new .rc file (pressing the new button), and add avery
bitmap file to it. Later, you only need to address the bitmaps by its
resource name (i.e., ".FicCliR.BMp" becomes "FicCliR")
- When all button's images are the same image, just assign the image's name
to the property oBitmaps (i.e. ::oBtnBmp1:oBitMaps := "FicCliR"); Xailer
will resolve the other 3 images.
--
Regards,
Jose F. Gimenez
Attached files btnbmp.zip (2 KB)Â
thanks for the sample. You are right; there was a bug. Here you are the
fixed class; just add the .obj file to your project.
BTW, I suggest 2 issues:
- Put all the bitmaps in a resource file. You only need to show the resource
mannager, create a new .rc file (pressing the new button), and add avery
bitmap file to it. Later, you only need to address the bitmaps by its
resource name (i.e., ".FicCliR.BMp" becomes "FicCliR")
- When all button's images are the same image, just assign the image's name
to the property oBitmaps (i.e. ::oBtnBmp1:oBitMaps := "FicCliR"); Xailer
will resolve the other 3 images.
--
Regards,
Jose F. Gimenez
Attached files btnbmp.zip (2 KB)Â
Re: TBtnBmp.
Paulo,
thanks for the sample. You are right; there was a bug. Here you are the
fixed class; just add the .obj file to your project.
BTW, I suggest 2 issues:
- Put all the bitmaps in a resource file. You only need to show the resource
mannager, create a new .rc file (pressing the new button), and add avery
bitmap file to it. Later, you only need to address the bitmaps by its
resource name (i.e., ".FicCliR.BMp" becomes "FicCliR")
- When all button's images are the same image, just assign the image's name
to the property oBitmaps (i.e. ::oBtnBmp1:oBitMaps := "FicCliR"); Xailer
will resolve the other 3 images.
--
Regards,
Jose F. Gimenez
Attached files btnbmp.zip (2 KB)Â
thanks for the sample. You are right; there was a bug. Here you are the
fixed class; just add the .obj file to your project.
BTW, I suggest 2 issues:
- Put all the bitmaps in a resource file. You only need to show the resource
mannager, create a new .rc file (pressing the new button), and add avery
bitmap file to it. Later, you only need to address the bitmaps by its
resource name (i.e., ".FicCliR.BMp" becomes "FicCliR")
- When all button's images are the same image, just assign the image's name
to the property oBitmaps (i.e. ::oBtnBmp1:oBitMaps := "FicCliR"); Xailer
will resolve the other 3 images.
--
Regards,
Jose F. Gimenez
Attached files btnbmp.zip (2 KB)Â
Re: TBtnBmp.
Thanks Jose.
Regards.
"Jose F. Gimenez" <jfgimenez@wanadoo.es> escreveu na mensagem
news:[email=4458860b@ozsrvnegro.ozlan.local...]4458860b@ozsrvnegro.ozlan.local...[/email]
> Paulo,
>
> thanks for the sample. You are right; there was a bug. Here you are the
> fixed class; just add the .obj file to your project.
>
> BTW, I suggest 2 issues:
>
> - Put all the bitmaps in a resource file. You only need to show the
> resource mannager, create a new .rc file (pressing the new button), and
> add avery bitmap file to it. Later, you only need to address the bitmaps
> by its resource name (i.e., ".FicCliR.BMp" becomes "FicCliR")
>
> - When all button's images are the same image, just assign the image's
> name to the property oBitmaps (i.e. ::oBtnBmp1:oBitMaps := "FicCliR");
> Xailer will resolve the other 3 images.
>
> --
> Regards,
>
> Jose F. Gimenez
>
>
Regards.
"Jose F. Gimenez" <jfgimenez@wanadoo.es> escreveu na mensagem
news:[email=4458860b@ozsrvnegro.ozlan.local...]4458860b@ozsrvnegro.ozlan.local...[/email]
> Paulo,
>
> thanks for the sample. You are right; there was a bug. Here you are the
> fixed class; just add the .obj file to your project.
>
> BTW, I suggest 2 issues:
>
> - Put all the bitmaps in a resource file. You only need to show the
> resource mannager, create a new .rc file (pressing the new button), and
> add avery bitmap file to it. Later, you only need to address the bitmaps
> by its resource name (i.e., ".FicCliR.BMp" becomes "FicCliR")
>
> - When all button's images are the same image, just assign the image's
> name to the property oBitmaps (i.e. ::oBtnBmp1:oBitMaps := "FicCliR");
> Xailer will resolve the other 3 images.
>
> --
> Regards,
>
> Jose F. Gimenez
>
>
Re: TBtnBmp.
Thanks Jose.
Regards.
"Jose F. Gimenez" <jfgimenez@wanadoo.es> escreveu na mensagem
news:[email=4458860b@ozsrvnegro.ozlan.local...]4458860b@ozsrvnegro.ozlan.local...[/email]
> Paulo,
>
> thanks for the sample. You are right; there was a bug. Here you are the
> fixed class; just add the .obj file to your project.
>
> BTW, I suggest 2 issues:
>
> - Put all the bitmaps in a resource file. You only need to show the
> resource mannager, create a new .rc file (pressing the new button), and
> add avery bitmap file to it. Later, you only need to address the bitmaps
> by its resource name (i.e., ".FicCliR.BMp" becomes "FicCliR")
>
> - When all button's images are the same image, just assign the image's
> name to the property oBitmaps (i.e. ::oBtnBmp1:oBitMaps := "FicCliR");
> Xailer will resolve the other 3 images.
>
> --
> Regards,
>
> Jose F. Gimenez
>
>
Regards.
"Jose F. Gimenez" <jfgimenez@wanadoo.es> escreveu na mensagem
news:[email=4458860b@ozsrvnegro.ozlan.local...]4458860b@ozsrvnegro.ozlan.local...[/email]
> Paulo,
>
> thanks for the sample. You are right; there was a bug. Here you are the
> fixed class; just add the .obj file to your project.
>
> BTW, I suggest 2 issues:
>
> - Put all the bitmaps in a resource file. You only need to show the
> resource mannager, create a new .rc file (pressing the new button), and
> add avery bitmap file to it. Later, you only need to address the bitmaps
> by its resource name (i.e., ".FicCliR.BMp" becomes "FicCliR")
>
> - When all button's images are the same image, just assign the image's
> name to the property oBitmaps (i.e. ::oBtnBmp1:oBitMaps := "FicCliR");
> Xailer will resolve the other 3 images.
>
> --
> Regards,
>
> Jose F. Gimenez
>
>