Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Parameters flag in the function do not work
#3
Thanks for your help, kevin

I added another parameter [Mou], 

In the following code, the message box is displayed in the lower-right corner of the mouse cursor

Code:
Copy      Help
mes2 "hello" 3 1 2

I need the message box to appear in the center of the mouse cursor, is this possible?


Function mes2
Code:
Copy      Help
function str'T S [Mou] [flag] 

MES m

if flag&2
,m.style="OCa"
if flag&4
,m.style="YNCa"

m.default='C'

if Mou&1
,m.x=xm
,m.y=ym

m.timeout=S

_i=mes(F"{T}" "tip" m)
ret _i


Messages In This Thread
RE: Parameters flag in the function do not work - by Davider - 01-05-2023, 02:38 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)