Search found 37 matches: obtnbmp

Return to advanced search

Re: BTNBMP default button

hi, how can I assign DEFAULT to oBtnbmp BTNBMP inside a DIALOG ?     DEFINE DIALOG oDlg SIZE 1300,700 PIXEL  FONT oFont    STYLE nOR( DS_MODALFRAME, WS_POPUP, WS_CAPTION, WS_SYSMENU, ;              WS_MAXIMIZEBOX, WS_MINIMIZEBOX, WS_THICKFRAME ...
by nageswaragunupudi
Thu May 26, 2022 8:58 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: BTNBMP default button
Replies: 9
Views: 619

Re: BTNBMP default button

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.
by damianodec
Thu May 26, 2022 10:36 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BTNBMP default button
Replies: 9
Views: 619

Re: BTNBMP default button

Damiano,

Try this:

#define BM_SETSTYLE 244

oDlg:bInit := { || oBtnBmp:SendMsg( BM_SETSTYLE, BS_DEFPUSHBUTTON, 1 ) }

or

oDlg:bInit := { || oBtnBmp:PostMsg( BM_SETSTYLE, BS_DEFPUSHBUTTON, 1 ) }
by Antonio Linares
Thu May 26, 2022 9:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BTNBMP default button
Replies: 9
Views: 619

BTNBMP default button

hi, how can I assign DEFAULT to oBtnbmp BTNBMP inside a DIALOG ?     DEFINE DIALOG oDlg SIZE 1300,700 PIXEL  FONT oFont    STYLE nOR( DS_MODALFRAME, WS_POPUP, WS_CAPTION, WS_SYSMENU, ;              WS_MAXIMIZEBOX, WS_MINIMIZEBOX, WS_THICKFRAME ...
by damianodec
Tue May 24, 2022 1:59 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: BTNBMP default button
Replies: 9
Views: 619

Re: Recompiling with last release

also with oBtnbmp:lGDIP:=.t. not run!!

This does not work.
As explained earlier please use the clause GDIP in the command.
This is fixed in the next version.
by nageswaragunupudi
Mon Dec 16, 2019 4:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Recompiling with last release
Replies: 4
Views: 670

Re: Recompiling with last release

also with oBtnbmp:lGDIP:=.t. not run!!
by Silvio.Falconi
Mon Dec 16, 2019 10:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Recompiling with last release
Replies: 4
Views: 670

Re: para Antonio : Sobre BTNBMP... oBtn:bPainted

... 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 ...
by Antonio Linares
Sun Jul 27, 2014 9:42 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: para Antonio : Sobre BTNBMP... oBtn:bPainted (RESUELTO)
Replies: 9
Views: 1177

Block Enter Key from Keyboard.

... 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 ...
by bradmaudlin
Thu Jan 09, 2014 4:21 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Block Enter Key from Keyboard.
Replies: 3
Views: 814

Re: Modernizar Outlook2003

Adhemar,

Prueba con:

oBtnBmp:lPressed := .T.
oBtnBmp:Refresh()
by Antonio Linares
Tue Feb 14, 2012 1:30 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Modernizar Outlook2003
Replies: 22
Views: 6166

Re: BtnBmp

test with
oBtnbmp:lTRANSPARENT = .T.

saluti
Stefano
by stefano
Sun Sep 04, 2011 3:27 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: BtnBmp (SOLVED)
Replies: 11
Views: 2570

Re: New FWH 10.1

... 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" ...
by ukoenig
Wed Jan 27, 2010 12:33 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: New FWH 10.1
Replies: 18
Views: 4479

FiveWinH Buttons

... 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 ...
by Bayron
Fri Jan 22, 2010 5:42 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: FiveWinH Buttons
Replies: 0
Views: 426

Re: Possible a Var ( oBtnBMP ) for oButton:cLayout := "TOP" ?

Thank You very much for Your help.
It is tested and works fine now.

Best Regards
Uwe :lol:
by ukoenig
Wed Jan 06, 2010 12:06 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible a Var ( oBtnBMP ) for oButton:cLayout := "TOP" ?
Replies: 2
Views: 450

Re: Possible a Var ( oBtnBMP ) for oButton:cLayout := "TOP" ?

Please try oBtn:nLayOut
Values for nLayOut are
1 = TOP, 2 = LEFT, 3 = BOTTOM, 4 = RIGHT
by nageswaragunupudi
Wed Jan 06, 2010 11:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible a Var ( oBtnBMP ) for oButton:cLayout := "TOP" ?
Replies: 2
Views: 450

Possible a Var ( oBtnBMP ) for oButton:cLayout := "TOP" ?

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...
by ukoenig
Wed Jan 06, 2010 11:16 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Possible a Var ( oBtnBMP ) for oButton:cLayout := "TOP" ?
Replies: 2
Views: 450
Next

Return to advanced search