Dear friends, is it possible to put the BTNBMP caption to the top of the button? It seems that it is only go centered.
EMG
Dear friends, is it possible to put the BTNBMP caption to the top of the button? It seems that it is only go centered.
EMG
And what about to choose the color of the caption?
EMG
@ 1,2 BTNBMP oBtn ;
PROMPT "Text" TOP ADJUST OF oDlg ;
SIZE 100 , 100 ;
FILE "BTN.BMP" NOBORDER ;
FONT oFont1 UPDATE
oBtn:SetColor( CLR_HBLUE ,CLR_WHITE)
oBtn:nClrText( CLR_HRED )
oBtn:nClrText( CLR_HRED )
Regards MAurizio
Great! Thank you! ![]()
And what about the position?
EMG
Ops, I missed the TOP clause. But the result is not so nice. It seems that the bitmap is shifted to the specified direction and the caption is outside the bitmap itself... ![]()
EMG
Dear Enrico,
have you try tbuttonbmp (new class)?
this class also support theme on winxp. ![]()
i'm using fwh+xharbour.
hiong
Thank you. I will try.
EMG
Dear All,
May I have an example for BtnBmp from resource workshop? Is TButtonBmp support Clipper/FW?
Thanks,
Dutch
CONTROL "", 301, "TBtnBmp", 0 | WS_CHILD | WS_VISIBLE, 5, 5, 97, 43
EMG
AFAIK, ButtonBMP available for 32bits only since its support themes in WinXP.
CMIIW.
hiong
Dear EMG,
Does it support Alt+Key (Alt+S for example)?
Kind regards,
Dutch
It seems not, sorry.
EMG
SET ENGLISH ON
(Using a translating) Hello Personal,
I did some changes in the class buttonbmp for do this and other things more. If they will want to is alone speak me ![]()
Regards,
Rossine.
SET PORTUGUESE ON
Olá Pessoal,
Fiz algumas mudanças na classe buttonbmp para fazer isto e outras coisas mais. Se quiserem é só me falar
Abraços,
Rossine.