Accessing subwindow code inside complex grid
Scotte Meredith
spomacguy at gmail.com
Mon Jan 13 20:40:10 UTC 2025
Hi, Mike --
I am passing a reference in. I'll make sure it is correct. Alan Davey pointed out that a line in the documentation says that when there is a subwindow in the complex grid, all the lines share it. There is not an instance of the subwindow for each line, so I may have to redesign this.
Scotte Meredith
spomacguy at gmail.com
509/998-0991
> On Jan 13, 2025, at 10:41 AM, Mike Matthews - Omnis via omnisdev-en <omnisdev-en at lists.omnis-dev.com> wrote:
>
> Hello Scotte,
>
> I think you have tell the CG who you are. So send into the CG a Ref to the subWin, then the CG can send messages back to the small SubWin.
>
> I do this with my container windows currently, and have another issue about displaying the list inside the small subWin that is in the CG. It seems you have to have two copies of the list, one in each window, which seems silly.
>
> Mike Matthews
>
> Lineal Software Solutions
> Commercial House, The Strand<x-apple-data-detectors://1/1> Barnstaple, Devon, EX31 1EU<x-apple-data-detectors://1/1>
>
> omnis at lineal.co.uk<mailto:mike.matthews at lineal.co.uk>
>
> www.lineal.co.uk<http://www.lineal.co.uk/>
>
> www.sqlworks.co.uk<http://www.sqlworks.co/>
>
>
>
> On 13 Jan 2025, at 17:32, Scotte Meredith <spomacguy at gmail.com<mailto:spomacguy at gmail.com>> wrote:
>
> External sender <spomacguy at gmail.com<mailto:spomacguy at gmail.com>>
>
> Make sure you trust this sender before taking any actions.
>
> I have a complex grid with a subwindow in one of the columns. It displays in the grid.
>
> The subwindow has a couple of buttons for the user to right-click to make a change. That change will update the icon and text of the button.
>
> I can see the subwindow contents in the complex grid, but can't seem to figure out how to get the subwindow to take the right-clicks. I've set the $rmouseevents on the subwindow field and tried setting the $enabled both as a general property and as an exception on the grid.
>
> How do I get the subwindow field to register a right-click on that line in the grid?
>
>
> Scotte Meredith
> spomacguy at gmail.com<mailto:spomacguy at gmail.com>
> 509/998-0991
>
>
>
>
> _____________________________________________________________
> Manage your list subscriptions at https://linkprotect.cudasvc.com/url?a=https%3a%2f%2flists.omnis-dev.com&c=E,1,CVkLfhxvJ2O4FAq73sy3iaaabh_J_gIA8iF67SgcBHywiBSnoNS4OP4SP1kdZqnjDG7FqWrNw9W2oPpLi_FKUN93q2UQUkg_zbkt2dP-&typo=1
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
>
> _____________________________________________________________
> Manage your list subscriptions at https://lists.omnis-dev.com
> Start a new message -> mailto:omnisdev-en at lists.omnis-dev.com
More information about the omnisdev-en
mailing list