FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin para Harbour/xHarbour Centralizar texto den BTNBMP
Posts: 72
Joined: Tue Oct 02, 2012 04:36 PM
Centralizar texto den BTNBMP
Posted: Sat Dec 07, 2013 02:13 PM

Estimados

Como puedo hacer que me centralice el texto en un botón.... me deja un espacio en la parte superior...

gracias

@ 110,320 BTNBMP oRECEP ;
SIZE 40,25 Of oFol:aDialogs[2] ;
PROMPT 'Control de' + CRLF + 'Recepcion' 2007 ; //TexIdio[19] 2007 ; //'Control de RECEPCION'
tooltip 'Control de Recepcion' ;
ACTION (If((COMPSOL)->CANCELA > 0 .and. (COMPSOL)->CANCELA < 4 ,;
(nRecNo := AMB_REC( EMPRESA, mCodiUSUA , (COMPSOL)->(Recno()) ) ,;
If(nRecno = 0,(COMPSOL)->( DbGoBottom() ) , (COMPSOL)->(DbGoTo(nRecNo)) ), ;
oBrwCom:refresh()) ,;
MsgInfo('Compras con RECEPCION DEFINITIVA','Recepcion') ) )

Posts: 243
Joined: Wed Sep 19, 2007 04:32 PM
Re: Centralizar texto den BTNBMP
Posted: Sat Dec 07, 2013 04:57 PM
David
En el la carpeta "FWH\SAMPLES" tienes el ejemplo "testbtn3" ahi encontraras las distinas formas de usar el BTNBMP
Espero te sirva

Saludos
Oscar A. Martinez
http://www.multisofthn.com
Honduras, Centro America
xHarbour Enterprise 1.2.2, Fivewin 13.06
Posts: 72
Joined: Tue Oct 02, 2012 04:36 PM
Re: Centralizar texto den BTNBMP
Posted: Mon Dec 09, 2013 09:22 PM

Muchas gracias por tu repuesta

estuve viendo el ejemplo y sigo con el problema.... no lo centraliza

gracias

david

Continue the discussion