Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3833

ShowPopover x parameter issue

$
0
0

Xojo 2024r4.2 on MacOS 15.3.1

I have a DesktopCanvas (c, below) sitting on a DesktopContainer, itself sitting on a DesktopWindow.

I also have a Global Floating Window (popover, below) that I wish to display underneath the canvas, appearing to point to a particular x-coordinate on the canvas (hcentre, below).

I execute the following code:

var hcentre as integer = some value between 0 and the width of c
popover.ShowPopover(c, DesktopWindow.DisplaySides.Bottom, true, true, hcentre, -1)

Everything works great, except that hcentre is always ignored and the popover’s pointy-thingy always points to the horizontal centre of c.

Is this a bug, or am I missing something?

3 posts - 1 participant

Read full topic


Viewing all articles
Browse latest Browse all 3833

Trending Articles