Search found 19 matches: nbtnwidth

Return to advanced search

Re: oPopUp in class btnbmp

... and line 503 ::nWide_P := 22 Line 525 If( oPopup != nil, ::nWide_P, 0 ) //// My_modi If( oPopup != nil, 13, 0 ) Line 578 //::oWnd:nWidth := ::oWnd:nBtnWidth + If( ::oWnd:l3D, 3, 1 ) + 13 + 1 ::oWnd:nWidth := ::oWnd:nBtnWidth + If( ::oWnd:l3D, 3, 1 ) + ::nWide_P + 1 Line 1062 //if nCol >= ::nWidth() ...
by Silvio.Falconi
Mon Oct 17, 2022 7:09 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oPopUp in class btnbmp
Replies: 15
Views: 795

Re: oPopUp in class btnbmp

... and line 503 ::nWide_P := 22 Line 525 If( oPopup != nil, ::nWide_P, 0 ) //// My_modi If( oPopup != nil, 13, 0 ) Line 578 //::oWnd:nWidth := ::oWnd:nBtnWidth + If( ::oWnd:l3D, 3, 1 ) + 13 + 1 ::oWnd:nWidth := ::oWnd:nBtnWidth + If( ::oWnd:l3D, 3, 1 ) + ::nWide_P + 1 Line 1062 //if nCol >= ::nWidth() ...
by Maurizio
Mon Oct 17, 2022 6:55 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: oPopUp in class btnbmp
Replies: 15
Views: 795

ButtonBar in a specific location ( Solved )

... the Window? The wiki shows:   @ <nRow>, <nCol> BUTTONBAR [<oBar>];   [SIZE <nWidth>, <nHeight>];   [BUTTONSIZE <nBtnWidth>, <nBtnHeight>];   [3D | 3DLOOK | _3D | _3DLOOK];   [TOP | LEFT | RIGHT | BOTTOM | FLOAT];   [OF | WINDOW | DIALOG <oWnd>]; ...
by ctoas
Mon Mar 30, 2020 2:28 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: ButtonBar in a specific location ( Solved )
Replies: 4
Views: 568

Re: buttons and datepick on xbrowse

... := AL_RIGHT oBrowse:aCols[2]:nDataStrAlign := oBrowse:aCols[2]:DefStyle(AL_LEFT,.f.) oBrowse:aCols[2]:cHeader := 'Vencimento' oBrowse:aCols[2]:nBtnWidth := 30 oBrowse:aCols[2]:nWidth := 160 oBrowse:aCols[2]:cEditPicture := '@!' oBrowse:aCols[2]:bEditValue := {|| aParcelasModalidade[oBrowse:nArrayAt,3]} ...
by MGA
Wed May 09, 2018 10:24 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: buttons and datepick on xbrowse
Replies: 14
Views: 3291

Re: buttons and datepick on xbrowse

... := '-' oBrwcp:aCols[10]:cBtnCaption := '-' oBrwcp:aCols[10]:cEditPicture := '@!' oBrwcp:aCols[10]:nWidth := 16 oBrwcp:aCols[10]:nBtnWidth := 12 oBrwcp:aCols[10]:nEditType := EDIT_GET_BUTTON oBrwcp:aCols[10]:bStrData := {|| ''} oBrwcp:aCols[10]:bEditBlock := {|| Produto_Bonificar_Menos( ...
by MGA
Wed May 09, 2018 1:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: buttons and datepick on xbrowse
Replies: 14
Views: 3291

xBrowse - lUseBtnWidthEditOfCol (NEW)

... the button disappears. I made this change in class xbrowse, evaluate the interest in putting in the next versions of fivewin. oBrowse:aCols[1]:nBtnWidth := 30 oBrowse:aCols[1]:nWidth := 160 oBrowse:aCols[1]:cEditPicture := '@!' oBrowse:aCols[1]:nEditType := EDIT_GET_BUTTON oBrowse:aCols[1]:lUseBtnWidthEditOfCol ...
by MGA
Fri Jan 05, 2018 2:02 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse - lUseBtnWidthEditOfCol (NEW)
Replies: 2
Views: 737

xBrowse - Novo recurso

Implementado en la clase XBROWSE un TOOLTIP en el botón de columna, por ejemplo: oBrw:aCols[1]:nBtnWidth := 8 oBrw:aCols[1]:cBtnCaption := '$' oBrw:aCols[1]:cBtnToolTip := 'Recalcular o preço de venda' <-------------- NEW :D oBrw:aCols[1]:nEditType := EDIT_GET_BUTTON ...
by MGA
Sat Nov 04, 2017 1:51 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: xBrowse - Novo recurso
Replies: 3
Views: 978

Re: Xbrowse celltext-centered using < EDIT_GET_LISTBOX > ?

method paintdata() class txcolumn if nType > 1 if ! Empty( aBitmap := ::aBitmap( ::nBtnBmp ) ) nBtnWidth := aBitMap[ BITMAP_WIDTH ] + 1 aBitmap := nil else nBtnWidth := 10 endif nButtonRow := nRow nButtonCol := nCol + nWidth - nBtnWidth // nWidth -= ( nBtnWidth + 5 ) ...
by ShumingWang
Mon Sep 05, 2016 8:44 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Xbrowse celltext-centered using < EDIT_GET_LISTBOX > ?
Replies: 1
Views: 498

Re: ButtonBar in resource ?

... the ON INIT clause only. This is not an issue but for clarification only. 2) While defining buttons, we get runtime errors because oBar:l3D, oBar:nBtnWidth and oBar:nBtnHeight remain nil. I suggest assigning suitable default values for l3D, nWith and nHeight in the method Redefine(). Because the ...
by nageswaragunupudi
Tue Mar 24, 2015 2:25 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: ButtonBar in resource ?
Replies: 18
Views: 8113

Re: xBrowse Button with EDIT_GET_BUTTON

FWH 12.08:
It is enough to assign appropriate values to
oCol:cBtnCaption
and
oCol:nBtnWidth

Rest is taken care by xbrowse.
by nageswaragunupudi
Wed Sep 12, 2012 8:19 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Button with EDIT_GET_BUTTON
Replies: 17
Views: 4979

New FTDN August/Agosto 2012 (FWH 12.08)

... not transparent, (8) New: samples\xblstgrd.prg: Control derived from xBrowse to switch List View/GridView (9) New DATAs for XBrowse Column Object: nBtnWidth, cBtnCaption. When specified edit-button uses the caption and/or btnwidth. * Enhancement: new clause MULTILINE for @ ..., ... BUTTON to support ...
by Antonio Linares
Mon Sep 10, 2012 8:50 pm
 
Forum: WhatsNew / Novedades
Topic: New FTDN August/Agosto 2012 (FWH 12.08)
Replies: 0
Views: 1595

Re: xBrowse Button with EDIT_GET_BUTTON

And in this line its size can be changed:

::oBtnElip:Move( nButtonRow, nButtonCol, nBtnWidth + 1, nHeight, .f.)

If those changes are fine, then we can see how to set it from your app, instead of modifying the Class source code.
by Antonio Linares
Sat Sep 08, 2012 4:23 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: xBrowse Button with EDIT_GET_BUTTON
Replies: 17
Views: 4979

Re: Windows 8 Metro style - A Class TMetro test

sorry I made a mistake this is the good ch #xcommand DEFINE METRO <oMtr> ; [ BACKGROUND <cFileName> ] ; [ BTNSIZE <nBtnWidth>, <nBtnHeight> ] ; [ TITLE <cTitle> ] ; [ SUBTITLE <cSubTitle> ] ; [ TO <nEndCol> ] ; [ USER <cUser> ] ; [ <Botton: ...
by MdaSolution
Sun Sep 25, 2011 12:51 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Windows 8 Metro style - A Class TMetro test
Replies: 64
Views: 27337

Re: Windows 8 estilo Metro - Una Clase TMetro

Antonio, error at : Ambiguous reference: 'PIXEL'

@ nX, nY BTNBMP oBtn ;
SIZE ( ::nBtnWidth * If( lLarge, 2, 1 ) ) + If( lLarge, 8, 0 ), ::nBtnHeight ;
PIXEL OF ::oWnd PROMPT cCaption NOBORDER
by norberto
Wed Sep 21, 2011 2:53 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Windows 8 estilo Metro - Una Clase TMetro
Replies: 39
Views: 17796

Redimensionar TTOOLBAR no FUNCIONA !!

yo estoy utilizando la TTOOLBAR y no consigo redimensiona-la. Durante la execucion de lo programa mudo los valores de oToolbar1:nBtnWidth:= 300 , otoolbar1:nBtnHeight:=50 , otoolbar1:refresh() y no redimensiona corretamente la Toolbar. Si altero los otoolbar1:nWidth y otoolbar1:nHeight ...
by WilliamAdami
Mon Aug 24, 2009 2:35 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Redimensionar TTOOLBAR no FUNCIONA !!
Replies: 3
Views: 790
Next

Return to advanced search