... edita la clase TRBTN.PRG, y modifica lo que te indico
METHOD LButtonUp( nRow, nCol ) CLASS TRBtn
.../...
// Modified to handle Codeblock as oPopup 2014-10-10
if oWnd:oPopup == nil
oWnd:oPopup = XEval( ::oPopup, Self )
oWnd:oPopup:Activate( ::nTop + ::nHeight(), ::nLeft, oWnd, .F ...
Search found 77 matches: opopup
Searched query: opopup
- Sat Mar 08, 2025 10:06 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: FW 2409, Message not found: TDIALOG:OGRPOPUP ( FIXED )
- Replies: 15
- Views: 925
- Sat Mar 08, 2025 6:23 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: FW 2409, Message not found: TDIALOG:OGRPOPUP ( FIXED )
- Replies: 15
- Views: 925
Re: FW 2409, Message not found: TDIALOG:OGRPOPUP
... y ahi puedes reproducir el error
FW24.09 Borland 770
quedo atento
#include "FiveWin.ch"
#include "Ribbon.ch"
function Main()
local oDlg, oPopup, oBtn
DEFINE DIALOG oDlg RESOURCE "Test"
REDEFINE RBBTN oBtn ID 100 OF oDlg SPLITPOPUP ;
MENU BuildPopup() ROUND ACTION MsgInfo( "click ...
FW24.09 Borland 770
quedo atento
#include "FiveWin.ch"
#include "Ribbon.ch"
function Main()
local oDlg, oPopup, oBtn
DEFINE DIALOG oDlg RESOURCE "Test"
REDEFINE RBBTN oBtn ID 100 OF oDlg SPLITPOPUP ;
MENU BuildPopup() ROUND ACTION MsgInfo( "click ...
- Fri Mar 07, 2025 7:37 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: FW 2409, Message not found: TDIALOG:OGRPOPUP ( FIXED )
- Replies: 15
- Views: 925
Re: FW 2409, Message not found: TDIALOG:OGRPOPUP
... CENTER> ] ;
[ <type: NORMAL, POPUP, SPLITPOPUP, SAYBUTTON> ] ;
[ <lGrouping: GROUPBUTTON> [<lFirstElm: FIRST>][ <lEndElm: END> ] ];
[ MENU <oPopup> ];
[ MESSAGE <cMsg> ] ;
[ TOOLTIP <cToolTip> ];
[ FONT <oFont> ];
[ <lTrans: TRANSPARENT> ];
[ GRADIANT <aGradiant> ];
[ LINECOLORS ...
[ <type: NORMAL, POPUP, SPLITPOPUP, SAYBUTTON> ] ;
[ <lGrouping: GROUPBUTTON> [<lFirstElm: FIRST>][ <lEndElm: END> ] ];
[ MENU <oPopup> ];
[ MESSAGE <cMsg> ] ;
[ TOOLTIP <cToolTip> ];
[ FONT <oFont> ];
[ <lTrans: TRANSPARENT> ];
[ GRADIANT <aGradiant> ];
[ LINECOLORS ...
- Fri Jan 17, 2025 10:48 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: Using new Class TDeepSeek for documenting
- Replies: 29
- Views: 7633
Re: Using new Class TDeepSeek for documenting
... lBmpTransparent` | Logical | Indicates if the bitmap is transparent. |
| `oFontBold` | Object | Bold font object for the button text. |
| `oPopup` | Object | Popup menu associated with the button. |
| `nLayout` | Numeric | Layout type for the button (top, left, bottom, right, center ...
| `oFontBold` | Object | Bold font object for the button text. |
| `oPopup` | Object | Popup menu associated with the button. |
| `nLayout` | Numeric | Layout type for the button (top, left, bottom, right, center ...
- Wed Aug 28, 2024 5:06 pm
- Forum: FiveWin para Harbour/xHarbour
- Topic: BTNBMP MenuPop
- Replies: 18
- Views: 3501
Re: BTNBMP MenuPop SOLUCIONADO
Joao muchas gracias
Funciona de esta manera
aBtn1[X]:oPopUp := { |oBtn| MenuPop( oBtn, oDlgm,aBtn1,aTestData,oBrw ) }
Gracias
Funciona de esta manera
aBtn1[X]:oPopUp := { |oBtn| MenuPop( oBtn, oDlgm,aBtn1,aTestData,oBrw ) }
Gracias
- Wed Jun 07, 2023 12:25 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: BtnBmp and oPopup
- Replies: 4
- Views: 716
Re: BtnBmp and oPopup
Hello,
That was just a suggestion.
Here we need new data variables.
Then everyone can load the ICON they want.
Again, it should only serve as a suggestion to extend the class.
It's like comparing apples and oranges to modify a class for personal use or to make it universally applicable. I can ...
That was just a suggestion.
Here we need new data variables.
Then everyone can load the ICON they want.
Again, it should only serve as a suggestion to extend the class.
It's like comparing apples and oranges to modify a class for personal use or to make it universally applicable. I can ...
- Wed Jun 07, 2023 12:18 pm
- Forum: FiveWin for Harbour/xHarbour
- Topic: BtnBmp and oPopup
- Replies: 4
- Views: 716
Re: BtnBmp and oPopup
I agree with Silvio, it wasn't good.
Estoy de acuerdo con Silvio, no fue bueno.
Regards, saludos.
Estoy de acuerdo con Silvio, no fue bueno.
Regards, saludos.
- Wed Jun 07, 2023 8:36 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: BtnBmp and oPopup
- Replies: 4
- Views: 716
Re: BtnBmp and oPopup
... 30, ::nWidth-25, ::nHeight - 10, ::nWidth-5}, .t. )
for me it's no good
perhaps...
data hBmpPop
on METHOD Paint() CLASS TBtnBmp
if ::oPopup != nil
if ::hBmpPop != 0
DrawBitmap( ::hDC, ::hBmpPop, aRect[1]+5, aRect[4]-15 )
else
::PaintPopupSection()
endif
endif
instead of
if ...
for me it's no good
perhaps...
data hBmpPop
on METHOD Paint() CLASS TBtnBmp
if ::oPopup != nil
if ::hBmpPop != 0
DrawBitmap( ::hDC, ::hBmpPop, aRect[1]+5, aRect[4]-15 )
else
::PaintPopupSection()
endif
endif
instead of
if ...
- Fri Jun 02, 2023 10:12 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: BtnBmp and oPopup
- Replies: 4
- Views: 716
Re: BtnBmp and oPopup
Dear Otto,
thank you for sharing it
thank you for sharing it

- Fri Jun 02, 2023 7:57 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: BtnBmp and oPopup
- Replies: 4
- Views: 716
BtnBmp and oPopup
... METHOD PaintPopupSection() CLASS TBtnBmp
local nWidth, nHeight, hDC
local hBlackBrush, hOldBrush
local hDarkPen, hLightPen, hOldPen
if ::oPopup != nil
nHeight = ::nHeight
nWidth = ::nWidth
hDC = ::hDC
hBlackBrush = GetStockObject( 4 ) //4
hOldBrush = SelectObject( hDC, hBlackBrush ...
local nWidth, nHeight, hDC
local hBlackBrush, hOldBrush
local hDarkPen, hLightPen, hOldPen
if ::oPopup != nil
nHeight = ::nHeight
nWidth = ::nWidth
hDC = ::hDC
hBlackBrush = GetStockObject( 4 ) //4
hOldBrush = SelectObject( hDC, hBlackBrush ...
- Mon Oct 17, 2022 7:59 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: oPopUp in class btnbmp
- Replies: 15
- Views: 1863
Re: oPopUp in class btnbmp
Antonio
btnbmp.prg the files is too big the forum will not accept it,
I'll send it to your mail
Maurizio
btnbmp.prg the files is too big the forum will not accept it,
I'll send it to your mail
Maurizio
- Mon Oct 17, 2022 7:24 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: oPopUp in class btnbmp
- Replies: 15
- Views: 1863
Re: oPopUp in class btnbmp
Antonio Linares wrote:Dear Silvio,
Thats why I asked Maurizio to post the complete PRG
I asked now via private mail ...same question
- Mon Oct 17, 2022 7:19 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: oPopUp in class btnbmp
- Replies: 15
- Views: 1863
Re: oPopUp in class btnbmp
Dear Silvio,
Thats why I asked Maurizio to post the complete PRG
Thats why I asked Maurizio to post the complete PRG

- Mon Oct 17, 2022 7:09 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: oPopUp in class btnbmp
- Replies: 15
- Views: 1863
Re: oPopUp in class btnbmp
... POPWIDTH 30 //12
new variable in line 129
DATA nWide_P
set variable line 325
::nWide_P := 22
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 ...
new variable in line 129
DATA nWide_P
set variable line 325
::nWide_P := 22
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 ...
- Mon Oct 17, 2022 6:58 am
- Forum: FiveWin for Harbour/xHarbour
- Topic: oPopUp in class btnbmp
- Replies: 15
- Views: 1863
Re: oPopUp in class btnbmp
Dear Maurizio,
good morning
would you mind to post the complete PRG here ?
many thanks
good morning
would you mind to post the complete PRG here ?
many thanks