FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour UrlLnk with Popup menu
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
UrlLnk with Popup menu
Posted: Fri Feb 23, 2024 01: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 March-April 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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: UrlLnk with Popup menu
Posted: Fri Feb 23, 2024 07:27 PM

Have you tried this ?

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

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: UrlLnk with Popup menu
Posted: Sat Feb 24, 2024 03: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 March-April 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
Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: UrlLnk with Popup menu
Posted: Sat Feb 24, 2024 06:03 PM

Try this:

ACTIVATE POPUP oMenu WINDOW oPanel AT 0, 0

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
Re: UrlLnk with Popup menu
Posted: Sun Feb 25, 2024 04: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 March-April 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

Continue the discussion