Posts: 1,031
Threads: 246
Joined: Jul 2022
08-13-2022, 05:15 AM
(This post was last modified: 08-13-2022, 05:17 AM by Davider.)
Hi,
When the menu text contains double-byte characters, right alignment is not valid
Menu
Menu1
打开消息框 abc :sub.sub1 * mouse.ico
Run program :sub.sub2 * mouse.ico
#sub sub1
mes "Hello world"
#sub sub2
run "notepad"
Posts: 1,031
Threads: 246
Joined: Jul 2022
Will a future version fix it?
Posts: 12,073
Threads: 140
Joined: Dec 2002
Probably not. It's a small bug. Just don't use tab.
Posts: 1,031
Threads: 246
Joined: Jul 2022
12-11-2022, 11:07 PM
(This post was last modified: 12-11-2022, 11:09 PM by Davider.)
Use tab right alignment works in
MenuPopup,
but right-click editing is not available, so use qmitem's menu It's better
Demo
Macro
Macro4
str s=
;打开消息框 abc
;Run program
MenuPopup m.AddItems(s)
_i=m.Show