Search found 39 matches: popupmenu

Return to advanced search

Re: also error with btnbmp SHOWPOPUP

I give here a sample showing 4 ways of displaying PopUpMenu with BtnBmp. #include "fivewin.ch"function Main()   local oDlg, aBtn[ 4 ]   DEFINE DIALOG oDlg SIZE 600,300 PIXEL TRUEPIXEL   @ 40, 40 BTNBMP aBtn[ 1 ] PROMPT ...
by nageswaragunupudi
Sun Mar 31, 2024 4:28 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: also error with btnbmp SHOWPOPUP
Replies: 8
Views: 1674

Re: also error with btnbmp SHOWPOPUP

...  } ) If you use ::ShowPopUp, the function MenuContextual(...) should not return NIL, but should return a PopupMenu object. It looks like this function is returning NIL not a popup menu object. Please check the last line of this function. That is the exact ...
by nageswaragunupudi
Sun Mar 31, 2024 3:26 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: also error with btnbmp SHOWPOPUP
Replies: 8
Views: 1674

Re: XIMAGE

Estimado Marcelo,

La Clase TXImage proporciona el método Paste( lCheck ) que permite copiar una imagen desde el portapapeles

Además tienes el método PopupMenu( nRow, nCol, nFlags ) que te muestra un popup con la opción Paste

Espero que esto te pueda ser de ayuda
by Antonio Linares
Tue Mar 05, 2024 7:30 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: XIMAGE
Replies: 10
Views: 382

BtnBmp and oPopup

https://mybergland.com/fwforum/mybtn.jpg Hello friends, I have expanded the TBtnBmp. Now, when I insert a PopupMenu, I can select the width of the clickable area and use a bitmap instead of the PolyPolygon. Best regards, Otto METHOD PaintPopupSection() CLASS TBtnBmp  ...
by Otto
Fri Jun 02, 2023 7:57 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BtnBmp and oPopup
Replies: 4
Views: 392

Re: error on btnbmp with fwh 21.04

ACTION ::ShowPopUp(...) is working here.
Please make sure the codeblock returns PopupMenu object
by nageswaragunupudi
Fri Jun 04, 2021 5:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: error on btnbmp with fwh 21.04
Replies: 8
Views: 752

Re: Consulta FreeImage.dll

... con cualquier objeto, no sólo con éste ) En cuanto a lo que comentas de cambiar el estilo del menu, prueba lo siguiente: - Cambia el método POPUPMENU en la class XIMAGE //----------------------------------------------------------------------------//METHOD PopupMenu( nRow, nCol, nFlags ...
by cnavarro
Sun Apr 26, 2020 2:36 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta FreeImage.dll
Replies: 11
Views: 1573

Re: Consulta FreeImage.dll

...  := { || .F.}   oImage:bRClicked := { || mifuncion()} Lo que si es más importante es que el menú METHOD PopupMenu( nRow, nCol, nFlags ) CLASS TXImage use FWStrings, y esté con la cláusula 2015 por favor. Gracias.
by MOISES
Sun Apr 26, 2020 8:11 am
 
Forum: FiveWin para Harbour/xHarbour
Topic: Consulta FreeImage.dll
Replies: 11
Views: 1573

a btnbmp question (show popup)

... the bold string if ::oPopup != nil .and. GetClassName( GetParent( Self:hWnd ) ) = "TBAR" Now the final user can open the popupmenu but must click at the end of btnbmp, soon the final user not found the exact point with the mouse on the source I made aBtn[ nelemento]:oPopUp ...
by Silvio.Falconi
Tue Jan 22, 2019 3:50 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: a btnbmp question (show popup)
Replies: 0
Views: 479

Re: BtnBmp and PopupMenu

then when It show the menu it create the part with black arrow on oldest release of my prg it not is showed when I click on btnbmp it open a popupmenu near the btnbmp and I not see the part with black arrow for my advice the black arrow can be usefull ony on a tbar control for now I resolved ...
by Silvio.Falconi
Sat Jun 23, 2018 3:34 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: BtnBmp and PopupMenu
Replies: 9
Views: 1163

Re: BtnBmp and PopupMenu

Please make this modification   for n := 1 to 5      @ nRow, nCol BTNBMP aBtn[ n ] FILE "c:\fwh\bitmaps\32x32\" + aBmp[ n ] ;         PROMPT NtoCMonth( n ) ;         SIZE 100,100 PIXEL OF oDlg TOP FLAT COLOR CLR_...
by nageswaragunupudi
Sat Jun 23, 2018 11:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BtnBmp and PopupMenu
Replies: 9
Views: 1163

Re: BtnBmp and PopupMenu

Thank
can we erase or not show the part where is the black Arrow ?
by Silvio.Falconi
Sat Jun 23, 2018 9:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BtnBmp and PopupMenu
Replies: 9
Views: 1163

Re: BtnBmp and PopupMenu

First please implement a small fix in btnbmp.prg. Locate the following lines in the method ShowPopUp()      if GetClassName( GetParent( Self:hWnd ) ) != "TBAR"         oWnd = oWndFromhWnd( GetParent( Self:hWnd ) )      endif  Comment out all the 3 lines abov...
by nageswaragunupudi
Fri Jun 22, 2018 1:17 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: BtnBmp and PopupMenu
Replies: 9
Views: 1163

Re: BtnBmp and PopupMenu

???????
by Silvio.Falconi
Fri Jun 22, 2018 11:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: BtnBmp and PopupMenu
Replies: 9
Views: 1163

Re: BtnBmp and PopupMenu

Please, search for "detached locals technicque", in forum
It is very possible that this is the problem
by cnavarro
Thu Jun 21, 2018 5:42 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: BtnBmp and PopupMenu
Replies: 9
Views: 1163

Re: BtnBmp and PopupMenu

Now I tried with  for n := 1 to 10      @ nRow, nCol BTNBMP aBtn[ n ]  RESOURCE OMB_LIBERO  ;         SIZE 84,64 PIXEL OF oDlg FLAT TOP COLOR CLR_WHITE,CLR_GREEN NOBORDER WITH OBJECT aBtn[ n ]         :Ca...
by Silvio.Falconi
Thu Jun 21, 2018 3:18 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: BtnBmp and PopupMenu
Replies: 9
Views: 1163
Next

Return to advanced search