Hi Uwe ,
Thank you ...! I will try this code.
I was looking also BUTTONBAR instead of TOOLBAR in the BUTTON BAR I did not find the property like oToolBar1:nWidth = 300. Please correct me if I am wrong.
Thanks
Shridhar
Search found 13 matches: otoolbar1
Searched query: otoolbar1
- Mon Jun 17, 2019 3:37 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Sample Program Toolbar2.prg is NOT working in other App
- Replies: 8
- Views: 1321
- Mon Dec 20, 2010 7:22 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: tToolBar, 2 lineas de prompt
- Replies: 4
- Views: 907
tToolBar, 2 lineas de prompt
Holas a todos...
Alguien lo ha hecho...
oToolBar1=TToolBar():New( oReBar2, 66, 66, oImgList,.T. )
oToolBar1:AddButton( { || PrToExcel() } , "Exportar a Excel" + CRLF + " F5 ", "&Excel" )
2 lineas en el Button, el CRLF no funciona...
Saludos
Desde Chile
Adolfo
Alguien lo ha hecho...
oToolBar1=TToolBar():New( oReBar2, 66, 66, oImgList,.T. )
oToolBar1:AddButton( { || PrToExcel() } , "Exportar a Excel" + CRLF + " F5 ", "&Excel" )
2 lineas en el Button, el CRLF no funciona...
Saludos
Desde Chile
Adolfo
- Mon Aug 24, 2009 3:20 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Redimensionar TTOOLBAR no FUNCIONA !!
- Replies: 3
- Views: 828
Re: Redimensionar TTOOLBAR no FUNCIONA !!
Hola William
el problema no esta en la ToolBar....
el problema son los botones, prueba eliminar la lista de imagenes y crearla con una nueva dimension.
el problema no esta en la ToolBar....
WilliamAdami wrote: Si altero los otoolbar1:nWidth y otoolbar1:nHeight la barra aumenta de tamano, mas sus botones no.
el problema son los botones, prueba eliminar la lista de imagenes y crearla con una nueva dimension.
- Mon Aug 24, 2009 2:35 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Redimensionar TTOOLBAR no FUNCIONA !!
- Replies: 3
- Views: 828
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 la barra ...
Si altero los otoolbar1:nWidth y otoolbar1:nHeight la barra ...
- Mon Mar 23, 2009 5:32 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: ToolBar
- Replies: 3
- Views: 666
Re: ToolBar
Daniel Garcia-Gil wrote:Saludos Ico...
Revisa ToolBar2.prg y cambia el ancho del oToolBar1 y oToolBar2 por al ancho de la pantalla
oToolBar1:nWidth = getsysmetrics( 0 )
oToolBar2:nWidth = getsysmetrics( 0 )
Obrigado Daniel, Funcionou do jeito que eu queria...
Abraços..
- Mon Mar 23, 2009 2:11 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: ToolBar
- Replies: 3
- Views: 666
Re: ToolBar
Saludos Ico...
Revisa ToolBar2.prg y cambia el ancho del oToolBar1 y oToolBar2 por al ancho de la pantalla
oToolBar1:nWidth = getsysmetrics( 0 )
oToolBar2:nWidth = getsysmetrics( 0 )
Revisa ToolBar2.prg y cambia el ancho del oToolBar1 y oToolBar2 por al ancho de la pantalla
oToolBar1:nWidth = getsysmetrics( 0 )
oToolBar2:nWidth = getsysmetrics( 0 )
- Sun Feb 01, 2009 11:30 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Duda con TToolbar
- Replies: 2
- Views: 500
Re: Duda con TToolbar
Leon,
A todos los botones les has asignado la misma acción:
oToolBar1:AddButton( { || (oWnd:End(),Quit) }, ...
Deberias asignarle a cada botón una acción diferente.
A todos los botones les has asignado la misma acción:
oToolBar1:AddButton( { || (oWnd:End(),Quit) }, ...
Deberias asignarle a cada botón una acción diferente.
- Sun Mar 04, 2007 9:58 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Por fin pude poner el combobox en la toolbar :)
- Replies: 0
- Views: 815
Por fin pude poner el combobox en la toolbar :)
... oWnd ), nRGB( 255, 0, 255 ) )
// Now we create the rebar
oReBar = TReBar():New( oWnd )
// Now we create the toolbars and add the buttons
oToolBar1 = TToolBar():New( oReBar, 60, 60, oImgList1 )
oToolBar1:AddButton( { || Main2() }, "Mantenimiento de bases de datos", "Mantenimiento" )
oToolBar1 ...
// Now we create the rebar
oReBar = TReBar():New( oWnd )
// Now we create the toolbars and add the buttons
oToolBar1 = TToolBar():New( oReBar, 60, 60, oImgList1 )
oToolBar1:AddButton( { || Main2() }, "Mantenimiento de bases de datos", "Mantenimiento" )
oToolBar1 ...
- Thu Mar 01, 2007 4:46 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: Help!! ayuda!! no me queda bien un combobox en un ToolBar
- Replies: 0
- Views: 660
Help!! ayuda!! no me queda bien un combobox en un ToolBar
... oWnd ), nRGB( 255, 0, 255 ) )
// Now we create the rebar
oReBar = TReBar():New( oWnd )
// Now we create the toolbars and add the buttons
oToolBar1 = TToolBar():New( oReBar, 60, 60, oImgList1 )
oToolBar1:AddButton( { || Main2() }, "Mantenimiento de bases de datos", "Mantenimiento" )
oToolBar1 ...
// Now we create the rebar
oReBar = TReBar():New( oWnd )
// Now we create the toolbars and add the buttons
oToolBar1 = TToolBar():New( oReBar, 60, 60, oImgList1 )
oToolBar1:AddButton( { || Main2() }, "Mantenimiento de bases de datos", "Mantenimiento" )
oToolBar1 ...
- Mon Feb 26, 2007 1:23 am
- Forum: FiveWin para Harbour/xHarbour
- Topic: PONER UN COMBOBOX EN UN TOOLBAR COMO LE HAGO?
- Replies: 4
- Views: 1918
ya casi funciona
... nRGB( 255, 0, 255 ) )
DEFINE STATUSBAR OF oWnd PROMPT "Programacion Aida 2007"
@ 2,27 SENSITIVE SAY oSay PROMPT "Buscar Poliza : " OF oToolBar1 ;
COLOR nRgb(0, 0, 0 )//,nRgb( 132, 112, 255)
@ 2.50,35 Get oGet var getbuca OF oWnd size 120,20
ramos:={"AUTOS","VIDA","GMM","DAÑOS ...
DEFINE STATUSBAR OF oWnd PROMPT "Programacion Aida 2007"
@ 2,27 SENSITIVE SAY oSay PROMPT "Buscar Poliza : " OF oToolBar1 ;
COLOR nRgb(0, 0, 0 )//,nRgb( 132, 112, 255)
@ 2.50,35 Get oGet var getbuca OF oWnd size 120,20
ramos:={"AUTOS","VIDA","GMM","DAÑOS ...
- Sun Feb 25, 2007 9:13 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: PONER UN COMBOBOX EN UN TOOLBAR COMO LE HAGO?
- Replies: 4
- Views: 1918
HOLA
... oWnd ), nRGB( 255, 0, 255 ) )
// Now we create the rebar
oReBar = TReBar():New( oWnd )
// Now we create the toolbars and add the buttons
oToolBar1 = TToolBar():New( oReBar, 70, 70, oImgList1 )
oToolBar1:AddButton( { || Main2() }, "Mantenimiento de bases de datos", "Mantenimiento ...
// Now we create the rebar
oReBar = TReBar():New( oWnd )
// Now we create the toolbars and add the buttons
oToolBar1 = TToolBar():New( oReBar, 70, 70, oImgList1 )
oToolBar1:AddButton( { || Main2() }, "Mantenimiento de bases de datos", "Mantenimiento ...
- Thu Jan 25, 2007 5:24 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: Antonio Linares por favor Ayudaaaa con TOOLTIPS EN TOOLBAR
- Replies: 6
- Views: 1941
Antonio Linares por favor Ayudaaaa con TOOLTIPS EN TOOLBAR
... esta invoca a una función diferente para construir los ToolTips. He probado de todo y no lo he logrado. Alguna sugerencia ?
Tampoco funciona:
oToolBar1:SetTextRows(3) ni
nRows := 2
SendMessage( oToolBar1:hWnd, TB_SETMAXTEXTROWS, nRows, 0 )
Tengo FWH 2.7 de Agosto 2006, xHarbour 0.99.61 y BCC ...
Tampoco funciona:
oToolBar1:SetTextRows(3) ni
nRows := 2
SendMessage( oToolBar1:hWnd, TB_SETMAXTEXTROWS, nRows, 0 )
Tengo FWH 2.7 de Agosto 2006, xHarbour 0.99.61 y BCC ...
- Wed Jan 24, 2007 9:14 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: ToolTips en TOOLBAR
- Replies: 0
- Views: 429
ToolTips en TOOLBAR
... esta invoca a una función diferente para construir los ToolTips. He probado de todo y no lo he logrado. Alguna sugerencia ?
Tampoco funciona:
oToolBar1:SetTextRows(3) ni
nRows := 2
SendMessage( oToolBar1:hWnd, TB_SETMAXTEXTROWS, nRows, 0 )
Mil gracias por su ayuda.
Tengo FWH 2.7 de Agosto 2006 ...
Tampoco funciona:
oToolBar1:SetTextRows(3) ni
nRows := 2
SendMessage( oToolBar1:hWnd, TB_SETMAXTEXTROWS, nRows, 0 )
Mil gracias por su ayuda.
Tengo FWH 2.7 de Agosto 2006 ...