FWH Class TButtonBmp documentation:
### Class Documentation: `TButtonBmp`
#### Overview
The `TButtonBmp` class is a specialized button class that extends the functionality of the `TButton` class by adding support for bitmap images. This class allows you to create buttons with custom bitmaps, control ...
Search found 399 matches: tbutton
Searched query: tbutton
- Fri Jan 17, 2025 11:00 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Using new Class TDeepSeek for documenting
- Replies: 29
- Views: 4835
- Fri Jan 17, 2025 10:54 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Using new Class TDeepSeek for documenting
- Replies: 29
- Views: 4835
Re: Using new Class TDeepSeek for documenting
FWH Class TButton documentation:
### Class Documentation: `TButton`
#### Overview
The `TButton` class is a subclass of `TControl` and is designed to represent a button control in a graphical user interface (GUI) application. It provides functionality for creating, managing, and interacting with ...
### Class Documentation: `TButton`
#### Overview
The `TButton` class is a subclass of `TControl` and is designed to represent a button control in a graphical user interface (GUI) application. It provides functionality for creating, managing, and interacting with ...
- Thu Jan 16, 2025 2:34 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Bootstrap for FiveWin
- Replies: 6
- Views: 1017
Re: Bootstrap for FiveWin
... background"] )
// Aplicar el tema a todos los controles
FOR EACH aControl IN ::aControls
IF aControl[1] != NIL
IF aControl[1]:ClassName() == "TBUTTON" // Si es un botón
aControl[1]:SetColor( aTheme["button_fg"], aTheme["button_bg"] )
ENDIF
// Aquí puedes agregar más condiciones para otros ...
// Aplicar el tema a todos los controles
FOR EACH aControl IN ::aControls
IF aControl[1] != NIL
IF aControl[1]:ClassName() == "TBUTTON" // Si es un botón
aControl[1]:SetColor( aTheme["button_fg"], aTheme["button_bg"] )
ENDIF
// Aquí puedes agregar más condiciones para otros ...
- Thu Jan 16, 2025 1:16 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Bootstrap for FiveWin
- Replies: 6
- Views: 1017
Re: Bootstrap for FiveWin
... nGutter // Nächste Zeile für das nächste SAY
ENDIF
// Buttons: Untereinander, Cancel linksbündig
IF aControl[1]:ClassName() == "TBUTTON"
aControl[1]:SetPos( nPrevY, nX )
aControl[1]:SetSize( nControlWidth, nControlHeight )
nPrevY += nControlHeight + ::nGutter // Nächste Zeile ...
ENDIF
// Buttons: Untereinander, Cancel linksbündig
IF aControl[1]:ClassName() == "TBUTTON"
aControl[1]:SetPos( nPrevY, nX )
aControl[1]:SetSize( nControlWidth, nControlHeight )
nPrevY += nControlHeight + ::nGutter // Nächste Zeile ...
- Thu Jan 16, 2025 8:48 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Bootstrap for FiveWin
- Replies: 6
- Views: 1017
Re: Bootstrap for FiveWin
... METHOD SetColor( nTextColor, nBgColor )
ENDCLASS
METHOD New( cCaption, bAction, oWnd, nRow, nCol, nColSpan ) CLASS FWButton
::oButton := TButton():New( 0, 0, cCaption, oWnd, bAction, 100, 32 )
RETURN Self
METHOD SetColor( nTextColor, nBgColor ) CLASS FWButton
::oButton:SetColor ...
ENDCLASS
METHOD New( cCaption, bAction, oWnd, nRow, nCol, nColSpan ) CLASS FWButton
::oButton := TButton():New( 0, 0, cCaption, oWnd, bAction, 100, 32 )
RETURN Self
METHOD SetColor( nTextColor, nBgColor ) CLASS FWButton
::oButton:SetColor ...
- Thu Jan 16, 2025 7:09 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Bootstrap for FiveWin
- Replies: 6
- Views: 1017
Bootstrap for FiveWin
... METHOD SetColor( nTextColor, nBgColor )
ENDCLASS
METHOD New( cCaption, bAction, oWnd, nRow, nCol, nColSpan ) CLASS FWButton
::oButton := TButton():New( 0, 0, cCaption, oWnd, bAction, 100, 32 )
RETURN Self
METHOD SetColor( nTextColor, nBgColor ) CLASS FWButton
::oButton:SetColor ...
ENDCLASS
METHOD New( cCaption, bAction, oWnd, nRow, nCol, nColSpan ) CLASS FWButton
::oButton := TButton():New( 0, 0, cCaption, oWnd, bAction, 100, 32 )
RETURN Self
METHOD SetColor( nTextColor, nBgColor ) CLASS FWButton
::oButton:SetColor ...
- Sun Nov 10, 2024 12:47 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: ButtonBmp does not work popup menus
- Replies: 7
- Views: 961
Re: ButtonBmp does not work popup menus
How do I put a pop up menu on a button of the TButtonBmp class?
Only TBtnBmp supports oPopupMenu natively in addition to bAction.
TButtonBmp or its parent class TButton, do not natively support oPoupMenus.
In the case of these buttons, we can use ACTION clause to show popup menus.
This is a small ...
Only TBtnBmp supports oPopupMenu natively in addition to bAction.
TButtonBmp or its parent class TButton, do not natively support oPoupMenus.
In the case of these buttons, we can use ACTION clause to show popup menus.
This is a small ...
- Sun Nov 10, 2024 5:11 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: ButtonBmp does not work popup menus
- Replies: 7
- Views: 961
Re: ButtonBmp does not work popup menus
How do I put a pop up menu on a button of the TButtonBmp class?
Only TBtnBmp supports oPopupMenu natively in addition to bAction.
TButtonBmp or its parent class TButton, do not natively support oPoupMenus.
In the case of these buttons, we can use ACTION clause to show popup menus.
This is a small ...
Only TBtnBmp supports oPopupMenu natively in addition to bAction.
TButtonBmp or its parent class TButton, do not natively support oPoupMenus.
In the case of these buttons, we can use ACTION clause to show popup menus.
This is a small ...
- Thu Oct 24, 2024 11:27 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Cambios en RibbonBar en tiempo de ejecución
- Replies: 5
- Views: 911
Re: Cambios en RibbonBar en tiempo de ejecución
... OBJ
Error: Unresolved external '_HB_FUN_MSGSTOP' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_TBUTTON' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_TTREEVIEW' referenced from E:\FWH240932\FWH\SAMPLES ...
Error: Unresolved external '_HB_FUN_MSGSTOP' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_TBUTTON' referenced from E:\FWH240932\FWH\SAMPLES\RBDESIGN.OBJ
Error: Unresolved external '_HB_FUN_TTREEVIEW' referenced from E:\FWH240932\FWH\SAMPLES ...
- Sun Oct 13, 2024 2:41 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: New FWH 24.09
- Replies: 97
- Views: 14918
Re: New FWH 24.09
... con este comando en versiones nuevas?
Please apply this fix in \fwh\source\classes\button.prg
Please locate these lines at the end of the TBUTTON CLASS definition.
METHOD Html() INLINE ButtonHtml( ::hWnd )
METHOD Display() INLINE ::BeginPaint(), ::CalcSize(), ::Paint(), ::EndPaint(), 0 ...
Please apply this fix in \fwh\source\classes\button.prg
Please locate these lines at the end of the TBUTTON CLASS definition.
METHOD Html() INLINE ButtonHtml( ::hWnd )
METHOD Display() INLINE ::BeginPaint(), ::CalcSize(), ::Paint(), ::EndPaint(), 0 ...
- Sat Oct 12, 2024 11:34 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: New FWH 24.09
- Replies: 97
- Views: 14918
Re: New FWH 24.09
... con este comando en versiones nuevas?
Please apply this fix in \fwh\source\classes\button.prg
Please locate these lines at the end of the TBUTTON CLASS definition.
METHOD Html() INLINE ButtonHtml( ::hWnd )
METHOD Display() INLINE ::BeginPaint(), ::CalcSize(), ::Paint(), ::EndPaint(), 0 ...
Please apply this fix in \fwh\source\classes\button.prg
Please locate these lines at the end of the TBUTTON CLASS definition.
METHOD Html() INLINE ButtonHtml( ::hWnd )
METHOD Display() INLINE ::BeginPaint(), ::CalcSize(), ::Paint(), ::EndPaint(), 0 ...
- Thu Jun 06, 2024 5:43 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: hb_xgrab
- Replies: 2
- Views: 599
hb_xgrab
... prg
Called from MAILGRUFACT(3072) in d:\genecomu\prg\Facturas.prg
Called from (b)PRNGRUFACT(1461) in d:\genecomu\prg\Facturas.prg
Called from TBUTTON:CLICK(179) in .\source\classes\BUTTON.PRG
Called from TBUTTON:HANDLEEVENT(1781) in .\source\classes\CONTROL.PRG
Called from _FWH(3559) in .\source ...
Called from MAILGRUFACT(3072) in d:\genecomu\prg\Facturas.prg
Called from (b)PRNGRUFACT(1461) in d:\genecomu\prg\Facturas.prg
Called from TBUTTON:CLICK(179) in .\source\classes\BUTTON.PRG
Called from TBUTTON:HANDLEEVENT(1781) in .\source\classes\CONTROL.PRG
Called from _FWH(3559) in .\source ...
- Thu Jun 06, 2024 8:35 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Fwxlsxlib error xbrowse oBrw:toExcel
- Replies: 1
- Views: 393
Fwxlsxlib error xbrowse oBrw:toExcel
... prog\StdGes.prg => GOEXCEL( 9823 )
Called from: \servizio\prog\StdGes.prg => (b)FEXCEL( 9763 )
Called from: .\source\classes\BUTTON.PRG => TBUTTON:CLICK( 179 )
Called from: .\source\classes\CONTROL.PRG => TBUTTON:HANDLEEVENT( 1815 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3648 ...
Called from: \servizio\prog\StdGes.prg => (b)FEXCEL( 9763 )
Called from: .\source\classes\BUTTON.PRG => TBUTTON:CLICK( 179 )
Called from: .\source\classes\CONTROL.PRG => TBUTTON:HANDLEEVENT( 1815 )
Called from: .\source\classes\WINDOW.PRG => _FWH( 3648 ...
- Mon Mar 25, 2024 9:03 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Another for Btnbmp
- Replies: 26
- Views: 9044
Re: Another for Btnbmp
... how do I remove the black border?
By default, this border, called FocusRect is drawn around the button in focus, same way as Windows OS paints TButton, TButtonBmp. This border indicates to the user which button has focus currently.
You can avoid painting this border, by specifying the clauses ...
By default, this border, called FocusRect is drawn around the button in focus, same way as Windows OS paints TButton, TButtonBmp. This border indicates to the user which button has focus currently.
You can avoid painting this border, by specifying the clauses ...
- Mon Mar 25, 2024 1:55 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: Another for Btnbmp
- Replies: 26
- Views: 9044
Re: Another for Btnbmp
... how do I remove the black border?
By default, this border, called FocusRect is drawn around the button in focus, same way as Windows OS paints TButton, TButtonBmp. This border indicates to the user which button has focus currently.
You can avoid painting this border, by specifying the clauses ...
By default, this border, called FocusRect is drawn around the button in focus, same way as Windows OS paints TButton, TButtonBmp. This border indicates to the user which button has focus currently.
You can avoid painting this border, by specifying the clauses ...