hi Antonio, it doesn't work in any way. Return key go on to the next GET field but not active BTNBMP
in others PGM I use REDEFINE DIALOG from resource and it works because obtnbmp has ID = IDOK (I use Pelles C) but in this case I don't want to use REDEFINE.
... es usando la función DrawText() ó tambien serviría la función ExtTextOut(): oBtn:bPainted = { | hDC | DrawText( hDC, "Hola", { 0, 0, oBtnBmp:nWidth, oBtnBmp:nHeight }, nStyle ) Ese array de cuatro elementos es el rectángulo en donde se escibirá el texto dentro de la superficie del ...
... anything in it I could do to block it. I now need some expert help to solve my problem. The code is simple here is an example. REDEFINE SBUTTON oBtnBmp ID m_ButtonLoop OF oMainDlg ; FILE m_KeyBmp ; ACTION( ProcessKey( &buttonmac, &plubuttonmac ) ) ; prompt m_KeyDesc ; TEXT ON_CENTER ...
... Sample : Testbubm.prg added a extra height Button to show the Result : // Top Buttontext // ------------------ @ 2, 20 BUTTONBMP oBtnBmp OF oWnd ACTION MsgInfo( "XP themes aware Button Bitmaps" ) ; BITMAP "..\bitmaps\16x16\garrow.bmp" PROMPT "&Top-Test" ...
... un molesto borde sobre el BMP cada vez que tiene el foco (Podria ser el bitmap que estoy usando el que causa el problema), intenté quitarlo con: oBtnBmp:lBorder := .F. oBtnBmp:lBoxSelect := .F. Si al caso son para ello, no funcionaron.... BUTTONBMP dibuja el boton perfectamente, pero el texto ...
Hello, I want to use : oButt1: cLayout := cPOSITION because the needed Position is defined at Start like cPOSITION := "TOP" and I want to write the Button-Code only once for each Button. http://www.pflegeplus.com/pictures/Bmppos1.jpg DEFINE BUTTON oButt1 OF oBar FILE aBPICT...