checkbox with Bitmaps

checkbox with Bitmaps

Postby Silvio » Tue Mar 10, 2009 12:32 pm

can I create checkbox control with different bitmaps ?
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: checkbox with Bitmaps

Postby ukoenig » Tue Mar 10, 2009 4:19 pm

Hello Silvio,

a possible way, how to do it :

Image

Regards
Uwe :lol:
Last edited by ukoenig on Tue Mar 10, 2009 4:43 pm, edited 1 time in total.
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: checkbox with Bitmaps

Postby mmercado » Tue Mar 10, 2009 4:29 pm

Silvio wrote:can I create checkbox control with different bitmaps ?

Hi Silvio:

Could you show me a graphical approach of your request?

Regards.

Manuel Mercado
manuelmercado at prodigy dot net dot mx
User avatar
mmercado
 
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Re: checkbox with Bitmaps

Postby Silvio » Tue Mar 10, 2009 4:48 pm

LIKE as this :
Image
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: checkbox with Bitmaps

Postby ukoenig » Tue Mar 10, 2009 5:11 pm

Silvio,

Your choice is my solution No. 2

It is easy to do :

1. Inside Your resource create the checkbox
2. delete the text and trim the resource to the square-size
3. next to the checkbox create a Image-Resource ( right )
4. next to the Image-resource write the needed text.

Image

Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: checkbox with Bitmaps

Postby mmercado » Tue Mar 10, 2009 5:30 pm

Hi Silvio:

To do that, you better use a xBrowse grid you'll found some samples with checkbox and bitmaps in a xBrowse here in previous posts.

Regards.

Manuel Mercado.
manuelmercado at prodigy dot net dot mx
User avatar
mmercado
 
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Re: checkbox with Bitmaps

Postby ukoenig » Tue Mar 10, 2009 6:42 pm

Hallo Manuel,

with a list of checkboxes, it might to be a good solution.
Many times, I have only one checkbox or checkboxes are not in line.
Of that kind, it is the only solution, showing a picture between checkbox
and belonging text, like shown in my screenshot.

Regards
Uwe :lol:
Since 1995 ( the first release of FW 1.9 )
i work with FW.
If you have any questions about special functions, maybe i can help.
User avatar
ukoenig
 
Posts: 4043
Joined: Wed Dec 19, 2007 6:40 pm
Location: Germany

Re: checkbox with Bitmaps

Postby mmercado » Tue Mar 10, 2009 6:57 pm

ukoenig wrote:with a list of checkboxes, it might to be a good solution.
Many times, I have only one checkbox or checkboxes are not in line.
Of that kind, it is the only solution, showing a picture between checkbox
and belonging text, like shown in my screenshot.

Hello Uwe:

I agree, now our friend Silvio will have various alternatives.

Best regards.

Manuel Mercado.
manuelmercado at prodigy dot net dot mx
User avatar
mmercado
 
Posts: 782
Joined: Wed Dec 19, 2007 7:50 am
Location: Salamanca, Gto., México

Re: checkbox with Bitmaps

Postby Silvio » Tue Mar 10, 2009 11:42 pm

But I remember , I saw , there was a class , it creted checkbox with bitmaps or perhaps I remember bad
TYPE
@ x,y CHECKBOX oCheck BITMAP Filename "uno.bmp" Size XX,YY
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: checkbox with Bitmaps

Postby Silvio » Wed Mar 11, 2009 12:38 am

thanks
Best Regards, Saludos

Falconi Silvio
User avatar
Silvio
 
Posts: 3107
Joined: Fri Oct 07, 2005 6:28 pm
Location: Teramo,Italy

Re: checkbox with Bitmaps

Postby James Bott » Wed Mar 11, 2009 5:42 am

Why don't you just use two columns--put the checkbox in the first column and the bitmap in the next one. It will look the same as you example.

Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 66 guests