Hello, I have several buttons on my Display. When I use the Function "FileRequest" and answer the requester with OK or Cancel, the "MouseOver"-Event behaves strange. After answering "FileRequest" the only button where Mouseover still works is the button where the "FileRequest" is behind. When moving the mouse over other buttons no MouseOver-Event is triggered. This can be changed when doing LMB into the display.
Is there a way around this, or is this expected behaviour?
CodeSnippets:
Code: Select all
Function p_Hover(msg)
DisplayTextObject(msg.id,#CENTER,#BOTTOM)
EndFunction
Function p_UnHover(msg)
Undo(#TextObject,msg.id)
EndFunction
Function p_prepMenu()
evtmatch = {OnMouseDown = p_HandlerFunc, OnMouseOver = p_Hover, OnMouseOut = p_UnHover}
/*1 Load*/
DisplayBrush(1,10,15)
MakeButton(1,#SimpleButton, 10,15,24,24,evtmatch)
/*2 Save*/
DisplayBrush(2,40,15)
MakeButton(2,#SimpleButton, 40,15,24,24,evtmatch)
/*3 Import*/
DisplayBrush(3,70,15)
MakeButton(3,#SimpleButton, 70,15,24,24,evtmatch)
EndFunction