FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour TSButton
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
TSButton
Posted: Wed Dec 31, 2008 10:06 AM
Hello Manuel,
Is it possible to change from "CRYSTAL" to "SUNSET" on the fly.
If yes would you please be so kind to show me how to do.

FUNCTION TischBesetzen(oBtn)

oBtn:Settext("besetzt")
//    set     SUNSET ?

oBtn:SetColor(CLR_WHITE, nRGB( 220, 0, 0 )) 
oBtn:refresh()

return nil


Thanks in advance
Otto
Posts: 782
Joined: Wed Dec 19, 2007 07:50 AM
Re: TSButton
Posted: Fri Jan 02, 2009 02:59 AM
Hi Otto:

Is it possible to change from "CRYSTAL" to "SUNSET" on the fly

Try this:
   oBtn:nShape := 8
   oBtn:Refresh()

My best wishes for this new year.

Manuel Mercado.
manuelmercado at prodigy dot net dot mx
Posts: 6984
Joined: Fri Oct 07, 2005 07:07 PM
Re: TSButton
Posted: Fri Jan 02, 2009 08:37 AM

Hello Manuel,
thank you.
One aditional question:
If I have first an Office style button which I change to SUNSET the borders of the Office button are a little bit exceeded.
Is there a trick to clear these or should I paint a BOX first?

Best regards,
Otto

PS: Thanks to TSButton my new ECR becomes a beauty.

Posts: 782
Joined: Wed Dec 19, 2007 07:50 AM
Re: TSButton
Posted: Sat Jan 03, 2009 01:53 AM
Otto wrote:
One aditional question:
If I have first an Office style button which I change to SUNSET the borders of the Office button are a little bit exceeded.
Is there a trick to clear these or should I paint a BOX first?.


I think you can do this:

oBtn:Hide()
oBtn:nShape := 8
oBtn:Show()

Best regards.

Manuel Mercado.
manuelmercado at prodigy dot net dot mx
Posts: 36
Joined: Tue Jun 17, 2008 07:09 AM
Re: TSButton
Posted: Wed Jan 07, 2009 09:00 AM

Hello Manuel/Otto

Do TSButton support High Resolution BMP's like Alphachannel BMP's ?

Sanil

Continue the discussion