Page 1 of 1
TSButton
Posted: Wed Dec 31, 2008 10:06 am
by Otto
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.
Code: Select all
FUNCTION TischBesetzen(oBtn)
oBtn:Settext("besetzt")
// set SUNSET ?
oBtn:SetColor(CLR_WHITE, nRGB( 220, 0, 0 ))
oBtn:refresh()
return nil
Thanks in advance
Otto
Re: TSButton
Posted: Fri Jan 02, 2009 2:59 am
by mmercado
Hi Otto:
Is it possible to change from "CRYSTAL" to "SUNSET" on the fly
Try this:
My best wishes for this new year.
Manuel Mercado.
Re: TSButton
Posted: Fri Jan 02, 2009 8:37 am
by Otto
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.
Re: TSButton
Posted: Sat Jan 03, 2009 1:53 am
by mmercado
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.
Re: TSButton
Posted: Wed Jan 07, 2009 9:00 am
by sanilpmc
Hello Manuel/Otto
Do TSButton support High Resolution BMP's like Alphachannel BMP's ?
Sanil