UrlLnk with Popup menu

Post Reply
User avatar
Silvio.Falconi
Posts: 7134
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

UrlLnk with Popup menu

Post by Silvio.Falconi »

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
Antonio Linares
Site Admin
Posts: 42519
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 75 times
Contact:

Re: UrlLnk with Popup menu

Post by Antonio Linares »

Have you tried this ?

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

Antonio Linares
www.fivetechsoft.com
User avatar
Silvio.Falconi
Posts: 7134
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

Re: UrlLnk with Popup menu

Post by Silvio.Falconi »

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
Antonio Linares
Site Admin
Posts: 42519
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 31 times
Been thanked: 75 times
Contact:

Re: UrlLnk with Popup menu

Post by Antonio Linares »

Try this:

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

Antonio Linares
www.fivetechsoft.com
User avatar
Silvio.Falconi
Posts: 7134
Joined: Thu Oct 18, 2012 7:17 pm
Been thanked: 1 time

Re: UrlLnk with Popup menu

Post by Silvio.Falconi »

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
Post Reply