Search found 49 matches: otoolbar

Return to advanced search

Re: SPLITTER : how to"resize" Client Area

hi Antonio,
Antonio Linares wrote:After you create it, then do oWnd:oBottom = oToolBar where oWnd is the parent container of the toolbar

will SPLITTER "respect" it at Bottom like STATUSBAR :?:
by Jimmy
Fri Nov 04, 2022 8:18 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SPLITTER : how to"resize" Client Area
Replies: 17
Views: 1014

Re: SPLITTER : how to"resize" Client Area

Dear Jimmy,

> p.s. can i put a Toolbar on Bottom using Fivewin ?

After you create it, then do oWnd:oBottom = oToolBar where oWnd is the parent container of the toolbar
by Antonio Linares
Fri Nov 04, 2022 7:10 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: SPLITTER : how to"resize" Client Area
Replies: 17
Views: 1014

Re: Search on a Xbrowse

C5 is a external class ? to no Use c5, Perhaps with a pocket class ? oToolbar:=TMyControl():New( oBrw:ntop-10,oBrw:nwidth,oBrw:oWnd , , ,, , , oBrw:nWidth, 20,, ) obtn[1] := oToolbar:AddItem("test", bAction, "top2.bmp") CLASS TMyControl ...
by Silvio.Falconi
Sat Feb 26, 2022 11:08 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Search on a Xbrowse
Replies: 19
Views: 1210

Re: Search on a Xbrowse

... Buttonbar #include "fivewin.ch"   REQUEST DBFCDX    Function Test()     local cHelp     local oDlgLook,oBar     local oBrwLook,oToolBar     local oDbf,nRec     local aCols     local cSeek:=Space(100)     local oGet     local oFont,oBold       oDbf:=Tdatabase():Open( ...
by Silvio.Falconi
Thu Feb 24, 2022 11:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Search on a Xbrowse
Replies: 19
Views: 1210

ancho de un boton en una button bar

... uno de los botones debe tener un ancho mayor a los demas, los botones, tiene un ancho de 60 px, pero este necesito que sea el doble, si bien con oToolbar:aControls[ 7 ]:nWidth := 120, el tamaño se incrementa, el siguiente boton, continua en su posicion, por lo cual se solapan, STATIC PROCEDURE ...
by carlos vargas
Fri Nov 26, 2021 8:30 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ancho de un boton en una button bar
Replies: 2
Views: 308

atualizar TOOLBAR

para atualizar o menu faço assim:
oWnd:setmenu( MenuPrincipal() )
oWnd:Refresh()

pergunta, como faço para atualizar TOOLBAR ?
ex: DEFINE TOOLBAR oToolBar OF oWnd SIZE 50, 58 IMAGELIST oImageList BALLOON
??
by Sistem
Wed Feb 13, 2019 6:22 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: atualizar TOOLBAR
Replies: 8
Views: 865

Re: toolbar boton desactivar?

Gustavo,

Hay un ejemplo en samples\toolbar1.prg:

MENUITEM "&Disable button..." ACTION oToolBar:EnableButton( 3, .f. )

MENUITEM "&Enable button..." ACTION oToolBar:EnableButton( 3, .t. )
by Antonio Linares
Tue Nov 10, 2015 8:21 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: toolbar boton desactivar?
Replies: 6
Views: 821

Re: To Nages: Proposal for implementation

Silvio, I am still not clear what you want to do. Do you want to be able to allow the user to show and hide the toolbar? If so, oWnd:oTop:= oToolbar oWnd:oClient:= oBrowse ACTIVATE WINDOW oWnd Then to hide the toolbar: oWnd:oTop:=nil oWnd:resize() Or to show the toolbar oWin:oTop:= oToolbar ...
by James Bott
Tue May 14, 2013 6:52 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: To Nages: Proposal for implementation
Replies: 28
Views: 6432

Re: BUTTONBAR Estatico

oToolBar:bRClicked := {|| TRUE } oToolBar:bLClicked := {|| TRUE }    DEFINE BUTTONBAR oToolBar OF oDlg SIZE 70, 60 2010   DEFINE BUTTON NAME "TB_CLOSE"       OF oToolBar ACTION oDlg:END()                 ...
by carlos vargas
Wed Jun 13, 2012 5:23 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: BUTTONBAR Estatico
Replies: 4
Views: 691

Re: TestTitl.prg Sample MDI

... see what happens. Maybe something with DEFINE IMGBITMAP OF oImageList NAME "new" COLOR nRGB( 255, 0, 255 ) @ 15, 900 BTNBMP oBtn5 OF oToolBar ; SIZE 100, 55 PIXEL ; // Width, Hight NOBORDER ; PROMPT " &Exit" ; FILENAME ".\bitmaps\Exit.bmp" ; ACTION oWnd:End() ...
by ukoenig
Wed Feb 29, 2012 2:40 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TestTitl.prg Sample MDI
Replies: 20
Views: 11746

Re: TestTitl.prg Sample MDI

... give You more Options ) ? Testing BtnBmp on Toolbar : http://www.pflegeplus.com/pictures/toolbar4.jpg @ 15, 900 BTNBMP oBtn3 OF oToolBar ; SIZE 100, 70 PIXEL ; // Width, Hight NOBORDER ; PROMPT " &Exit" ; FILENAME ".\bitmaps\Exit.bmp" ; ACTION oWnd:End() ...
by ukoenig
Wed Feb 29, 2012 2:04 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TestTitl.prg Sample MDI
Replies: 20
Views: 11746

Re: TestTitl.prg Sample MDI

Rick, added to sample Toolbar1.prg MDIFRAME DEFINE TOOLBAR oToolBar OF oWnd SIZE 50, 58 ; // 50, 50 ; IMAGELIST oImageList BALLOON // tooltips balloon style DEFINE BRUSH oTBrush COLOR 128 // Red Color oToolbar:oBrush := oTBrush 2 Gradient-Samples ( vertical, ...
by ukoenig
Mon Feb 27, 2012 7:36 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: TestTitl.prg Sample MDI
Replies: 20
Views: 11746

Re: Como puedo en una Toolbar...

jjl; voy a necesitar mas ayuda porque mirando el include de la toolbar tengo;   #xcommand DEFINE TBBUTTON ; [ OF <oToolBar> ] ; [ ACTION <uAction> ] ; [ TOOLTIP <cToolTip> ] ; [ PROMPT <cPrompt> ] ; [ WHEN <uWhen> ] ; [ MESSAGE <cMsg> ] ; => ...
by MarioG
Mon Sep 05, 2011 2:02 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Como puedo en una Toolbar...
Replies: 7
Views: 1169

Re: alanit TInforme class

... := (::nBottom / 2) - 90 ELSE ::nGridBottom := (::nBottom / 2) - oApp:oBar:nHeight ENDIF instead of ::nGridBottom := (::nBottom / 2) - oApp():oToolBar:nHeight
by Silvio
Thu Feb 10, 2011 10:26 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: alanit TInforme class
Replies: 3
Views: 915

Compiling problem with xharbour 1.2.1 (6717)

... Keyboard status at the MsgBar..." #DEFINE KEYB_OFF "Hides the KeyBoard status at the MsgBar..." STATIC oDlg,oBmp,oBar,ownd static oToolBar FUNCTION Main() ownd:=0 set exact on .. . .. Any ideas ?
by Marco Turco
Fri Dec 24, 2010 12:56 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: Compiling problem with xharbour 1.2.1 (6717)
Replies: 3
Views: 686
Next

Return to advanced search