... SIZE 207, 300 OF oDlg PIXEL //ADJUST SCROLL
ACTIVATE DIALOG oDlg ;
ON INIT ( oDlg:SetPos( 0, ScreenWidth() - oDlg:nWidth + 2 ), BuildButtonBar() )
endif
return nil
//----------------------------------------------------------------------------//
function BuildButtonBar()
local oBar ...
Search found 1648 matches: buttonbar
Searched query: buttonbar
- Wed Mar 12, 2025 9:42 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: TImage Class
- Replies: 4
- Views: 338
- Sat Mar 08, 2025 4:11 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: btnbmp activated when selecting a record
- Replies: 5
- Views: 1390
Re: btnbmp activated when selecting a record
I found on this forum a solution of Nageswarao but I notice a flash on buttonbar when the buttonbar is changed
https://i.postimg.cc/Mprn84qt/but.gif
#include "fivewin.ch"
function Main()
local oDlg, oBrw, oBar1, oBar2, aRow, aData := Array( 8, 6 )
for each aRow in aData
AEval( aRow ...
https://i.postimg.cc/Mprn84qt/but.gif
#include "fivewin.ch"
function Main()
local oDlg, oBrw, oBar1, oBar2, aRow, aData := Array( 8, 6 )
for each aRow in aData
AEval( aRow ...
- Sat Mar 08, 2025 3:13 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: btnbmp activated when selecting a record
- Replies: 5
- Views: 1390
Re: btnbmp activated when selecting a record
... Nuovo" RESOURCE "NEW_SMALLBRW" LEFT;
ACTION NIL
No Antonio, Please see barchange.prg (of Cristobal)
I wish make the same only I have the buttonbar at x,y
#include 'fivewin.ch'
#include 'xbrowse.ch'
#include "constant.ch"
Function test()
local oDlg,oDbf,oFont
local oBar
local nBottom ...
ACTION NIL
No Antonio, Please see barchange.prg (of Cristobal)
I wish make the same only I have the buttonbar at x,y
#include 'fivewin.ch'
#include 'xbrowse.ch'
#include "constant.ch"
Function test()
local oDlg,oDbf,oFont
local oBar
local nBottom ...
- Sat Mar 08, 2025 11:44 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: btnbmp activated when selecting a record
- Replies: 5
- Views: 1390
Re: btnbmp activated when selecting a record
Now I change the position of Buttonbar and seem run but there is another error when i I try to create buttons
pls try the test
function Main()
local oDlg, oBrw, oFont
local oDbf
local oBar
DEFINE DIALOG oDlg SIZE 640,300 PIXEL TRUEPIXEL; //FONT oFont
TITLE cTitle COLOR CLR_BLACK, DLG ...
pls try the test
function Main()
local oDlg, oBrw, oFont
local oDbf
local oBar
DEFINE DIALOG oDlg SIZE 640,300 PIXEL TRUEPIXEL; //FONT oFont
TITLE cTitle COLOR CLR_BLACK, DLG ...
- Sat Mar 08, 2025 11:03 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: btnbmp activated when selecting a record
- Replies: 5
- Views: 1390
btnbmp activated when selecting a record
similarly to Cristobal's example barchange.prg that uses a buttonbar and some buttons, I would like to do the same thing but without the buttonbar i.e. I have 6 buttons under an xbrowse (the ones that start from the left)
https://i.postimg.cc/GmkLk0VJ/xbrowse-Menu.png
and when I click on a record ...
https://i.postimg.cc/GmkLk0VJ/xbrowse-Menu.png
and when I click on a record ...
- Sat Feb 22, 2025 9:51 am
- Forum: WhatsNew / Novedades
- Topic: New FTDN January/Enero 2025 (FWH 25.01)
- Replies: 1
- Views: 997
Re: New FTDN January/Enero 2025 (FWH 25.01)
... ACTIVATE WINDOW/DIALOG [CENTERED] IN onMonitor
oMonitor puede ser el número del monitor o el objeto monitor.
* Mejora: Al definir un BUTTONBAR en un diálogo funcionan las cláusulas TOP/LEFT/BOTTO/RIGHT.
* Nueva: Clase TRating creada por Silvio Falconi !!!
Puedes ver ejemplos de uso en ...
oMonitor puede ser el número del monitor o el objeto monitor.
* Mejora: Al definir un BUTTONBAR en un diálogo funcionan las cláusulas TOP/LEFT/BOTTO/RIGHT.
* Nueva: Clase TRating creada por Silvio Falconi !!!
Puedes ver ejemplos de uso en ...
- Wed Feb 19, 2025 8:08 am
- Forum: WhatsNew / Novedades
- Topic: New FTDN January/Enero 2025 (FWH 25.01)
- Replies: 1
- Views: 997
New FTDN January/Enero 2025 (FWH 25.01)
... support:
ACTIVATE WINDOW/DIALOG [CENTERED] IN onMonitor
onMontior can be number of the monitor or monitor object.
* Enhanced: While defining BUTTONBAR in a dialog
clauses TOP/LEFT/BOTTO/RIGHT work now.
* New: Class TRating and samples\testrat1.prg, samples\testrat2.prg and samples\testrat3.prg ...
ACTIVATE WINDOW/DIALOG [CENTERED] IN onMonitor
onMontior can be number of the monitor or monitor object.
* Enhanced: While defining BUTTONBAR in a dialog
clauses TOP/LEFT/BOTTO/RIGHT work now.
* New: Class TRating and samples\testrat1.prg, samples\testrat2.prg and samples\testrat3.prg ...
- Thu Feb 13, 2025 6:28 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: activate an online button
- Replies: 2
- Views: 498
Re: activate an online button
Fir now i resolved making another buttonbar case 3
- Wed Feb 12, 2025 11:16 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: activate an online button
- Replies: 2
- Views: 498
activate an online button
In a dialog I have a buttonbar
DEFINE BUTTONBAR oBar OF oDlg SIZE 100,70 TOP NOBORDER 2015
then on activate I cal the functions
Btnbar(1,oDlg:oBar,oDlg,oDbf,oBrw,aBtnBrow[4]),;
to activate the buttonbar oBar (different menu barchange.prg thanks to Cristobal )
but the button number 6 is ...
DEFINE BUTTONBAR oBar OF oDlg SIZE 100,70 TOP NOBORDER 2015
then on activate I cal the functions
Btnbar(1,oDlg:oBar,oDlg,oDbf,oBrw,aBtnBrow[4]),;
to activate the buttonbar oBar (different menu barchange.prg thanks to Cristobal )
but the button number 6 is ...
- Thu Jan 30, 2025 2:55 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: dialogo resizable desde recursos?
- Replies: 14
- Views: 34171
Re: dialogo resizable desde recursos?
Hola Mr. Rao
Funciona bien con xBrowse
No Funciona el menu del dialogo
Error linea -> xRatio := oDlg:nWidth / oDlg:Cargo[ 1 ] de ResizeCtrls( oDlg )
No funciona la buttonbar
Error linea -> xRatio := oDlg:nWidth / oDlg:Cargo[ 1 ] de ResizeCtrls( oDlg )
Gracias, Saludos
Ruben Dario Fernandez
Funciona bien con xBrowse
No Funciona el menu del dialogo
Error linea -> xRatio := oDlg:nWidth / oDlg:Cargo[ 1 ] de ResizeCtrls( oDlg )
No funciona la buttonbar
Error linea -> xRatio := oDlg:nWidth / oDlg:Cargo[ 1 ] de ResizeCtrls( oDlg )
Gracias, Saludos
Ruben Dario Fernandez
- Thu Jan 23, 2025 2:52 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Implementing SetDarkTheme() for next FWH
- Replies: 2
- Views: 773
Re: Implementing SetDarkTheme() for next FWH
... bien :D :D :D :D
1- Puede no ser tan dark, ósea se puede establecer un color que elijamos, tirando un poco más a gris?
2- Va a aplicar para todos los objetos, incluyendo los ButtonBar y las RibbonBar?
De momento esas son nuestras inquietudes
https://hymplus.com/forofw/tema_color_oscuro.png
1- Puede no ser tan dark, ósea se puede establecer un color que elijamos, tirando un poco más a gris?
2- Va a aplicar para todos los objetos, incluyendo los ButtonBar y las RibbonBar?
De momento esas son nuestras inquietudes
https://hymplus.com/forofw/tema_color_oscuro.png
- Sat Jan 18, 2025 1:17 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Build your FWH app using hbmk2.exe and MSVC 32&64
- Replies: 33
- Views: 36285
Re: Build your FWH app using hbmk2.exe and MSVC 32&64
... nil
function BuildMenu()
local oMenu
MENU oMenu
MENUITEM "&Files"
ENDMENU
return oMenu
function BuildBar( oWnd )
local oBar
DEFINE BUTTONBAR oBar OF oWnd 3D SIZE 70, 70
return nil
test.rc
background BITMAP c:\fwh64\bitmaps\backgrnd\iosbg.bmp
Hola buenas noches, estamos ...
function BuildMenu()
local oMenu
MENU oMenu
MENUITEM "&Files"
ENDMENU
return oMenu
function BuildBar( oWnd )
local oBar
DEFINE BUTTONBAR oBar OF oWnd 3D SIZE 70, 70
return nil
test.rc
background BITMAP c:\fwh64\bitmaps\backgrnd\iosbg.bmp
Hola buenas noches, estamos ...
- Thu Jan 16, 2025 4:38 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: HBMK2 - Barra de estado y barra principal mas pequenas
- Replies: 13
- Views: 13968
Re: HBMK2 - Barra de estado y barra principal mas pequenas
... icons\fax.ico"
DEFINE WINDOW oWnd FROM 1, 1 TO 22, 75 MDI ;
TITLE "FiveWin sample" ;
MENU BuildMenu() ;
COLOR "B/W" ICON oIco
// DEFINE BUTTONBAR oBar _3D SIZE 26, 27 OF oWnd
DEFINE BUTTONBAR oBar BUTTONSIZE 64, 52 _3DLOOK TOP OF oWnd 2007
WITH OBJECT oBar // VER: ANCHO.PRG
oBar ...
DEFINE WINDOW oWnd FROM 1, 1 TO 22, 75 MDI ;
TITLE "FiveWin sample" ;
MENU BuildMenu() ;
COLOR "B/W" ICON oIco
// DEFINE BUTTONBAR oBar _3D SIZE 26, 27 OF oWnd
DEFINE BUTTONBAR oBar BUTTONSIZE 64, 52 _3DLOOK TOP OF oWnd 2007
WITH OBJECT oBar // VER: ANCHO.PRG
oBar ...
- Thu Jan 16, 2025 4:23 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: HBMK2 - Barra de estado y barra principal mas pequenas
- Replies: 13
- Views: 13968
Re: HBMK2 - Barra de estado y barra principal mas pequenas
Las dimensiones de los botones de la barra de botones se establecen aqui:
DEFINE BUTTONBAR oBar _3D SIZE 26, 27 OF oWnd
cambia el 26 y 27 por otros valores
En que resolución de pantalla estas trabajando ?
DEFINE BUTTONBAR oBar _3D SIZE 26, 27 OF oWnd
cambia el 26 y 27 por otros valores
En que resolución de pantalla estas trabajando ?
- Thu Jan 16, 2025 12:22 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: HBMK2 - Barra de estado y barra principal mas pequenas
- Replies: 13
- Views: 13968
HBMK2 - Barra de estado y barra principal mas pequenas
... icons\fax.ico"
DEFINE WINDOW oWnd FROM 1, 1 TO 22, 75 ;
TITLE "FiveWin sample" ;
MENU BuildMenu() ;
COLOR "B/W" ;
ICON oIco
DEFINE BUTTONBAR oBar _3D SIZE 26, 27 OF oWnd
DEFINE BUTTON OF oBar FILENAME "..\bitmaps\16x16\new.bmp" FLAT ;
ACTION MsgInfo( "New" ) ;
TOOLTIP "Creates a ...
DEFINE WINDOW oWnd FROM 1, 1 TO 22, 75 ;
TITLE "FiveWin sample" ;
MENU BuildMenu() ;
COLOR "B/W" ;
ICON oIco
DEFINE BUTTONBAR oBar _3D SIZE 26, 27 OF oWnd
DEFINE BUTTON OF oBar FILENAME "..\bitmaps\16x16\new.bmp" FLAT ;
ACTION MsgInfo( "New" ) ;
TOOLTIP "Creates a ...