I'm still having issues with this, is it possible there is a bug related to EVENT_GADGETACTION and EventMods()? Here's some basic MaxGUI code I tested:
Could somebody else test this and/or get it working? Thank you.
'quick gui test of eventmods() 'displays the eventmods() value each time the gui button is pressed 'but always displays zero, even with control or shift held down Strict Global window:tgadget=CreateWindow("test window",10,10,320,240) Global button:tgadget=CreateButton("press me",20,20,280,50,window) Global label:tgadget=CreateLabel("EVENT_GADGETACTION EventMods()=?",20,80,280,30,window) Repeat WaitEvent() Select EventID() Case EVENT_GADGETACTION SetGadgetText(label,"EVENT_GADGETACTION EventMods()="+EventMods()) Case EVENT_WINDOWCLOSE End Case EVENT_APPTERMINATE End EndSelect Forever
Could somebody else test this and/or get it working? Thank you.