Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Dialog Trouble.
#2
Thank you. Will be fixed in next QM beta. Now you cannot use $ in static or button text if it is followed by a number or $ or ' or ` or {.

Or you can fix it now:

Open
\System\Dialogs\Dialog Editor\DE_Apply

Find
Code:
Copy      Help
,if(!st.replacerx("(?m)^[ ;]*BEGIN DIALOG *[]((.+[])+)[ ;]*END DIALOG *([])?([ ;]*DIALOG EDITOR: [^[]]+ *([])?)?" da.s 4)) st.addline(da.s)

Replace with
Code:
Copy      Help
,int x y
,x=findrx(st "(?m)^[ ;]*BEGIN DIALOG *[]((.+[])+)[ ;]*END DIALOG *([])?([ ;]*DIALOG EDITOR: [^[]]+ *([])?)?" 0 0 y)
,if(x>=0) st.replace(da.s x y)
,else st.addline(da.s)

This is how to edit System functions: QM Dialogs


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)