UrlLnk with Popup menu

UrlLnk with Popup menu

Postby Silvio.Falconi » Fri Feb 23, 2024 1:34 pm

Is it possible to insert a popup menu at the bottom of a UrlLnk control?
I tried but it showed the menu far from url lnk

On TexplorerBar I insert a link

local bClick := { | o | addMenu() }

oPanel4:AddLink( "testlink", bClick, ".\bitmaps\mail.bmp",oFontSmall,CLR_BLACK,CLR_WHITE )


tried with

Function AddMenu()

local aPoint := AdjustWnd( oPanel, oPanel:nTop-100, oPanel:nLeft )

MENU oMenu POPUP

---
ACTIVATE POPUP oMenu WINDOW oWnd AT aPoint[1], aPoint[2]
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7070
Joined: Thu Oct 18, 2012 7:17 pm

Re: UrlLnk with Popup menu

Postby Antonio Linares » Fri Feb 23, 2024 7:27 pm

Have you tried this ?

ACTIVATE POPUP oMenu WINDOW oPanel AT aPoint[1], aPoint[2]
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42118
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: UrlLnk with Popup menu

Postby Silvio.Falconi » Sat Feb 24, 2024 3:27 pm

Antonio Linares wrote:Have you tried this ?

ACTIVATE POPUP oMenu WINDOW oPanel AT aPoint[1], aPoint[2]


Yes of course
Probabile i made an error because before i saw a menu on down, far from panel but then It Is not showed anywhere
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7070
Joined: Thu Oct 18, 2012 7:17 pm

Re: UrlLnk with Popup menu

Postby Antonio Linares » Sat Feb 24, 2024 6:03 pm

Try this:

ACTIVATE POPUP oMenu WINDOW oPanel AT 0, 0
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42118
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: UrlLnk with Popup menu

Postby Silvio.Falconi » Sun Feb 25, 2024 4:22 pm

Antonio Linares wrote:Try this:

ACTIVATE POPUP oMenu WINDOW oPanel AT 0, 0


yes now I see it on the left of the oPanel
Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)
I use : FiveWin for Harbour November 2023 - January 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
User avatar
Silvio.Falconi
 
Posts: 7070
Joined: Thu Oct 18, 2012 7:17 pm


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 47 guests