Accessing subwindow code inside complex grid
Mike Matthews - Omnis
omnis at lineal.co.uk
Mon Jan 13 18:41:09 UTC 2025
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
More information about the omnisdev-en
mailing list