DragonNest/Third/XTToolkitPro/Samples/CommandBars/ActionsSample/Readme.rtf
2024-12-19 09:48:26 +08:00

17 lines
No EOL
1.1 KiB
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{\rtf1\ansi\ansicpg1252\deff0\deflang1033\deflangfe2052{\fonttbl{\f0\fswiss\fprq2\fcharset0 Tahoma;}{\f1\fmodern\fprq1\fcharset204{\*\fname Courier New;}Courier New CYR;}}
{\colortbl ;\red0\green0\blue0;}
{\*\generator Msftedit 5.41.15.1507;}\viewkind4\uc1\pard\nowidctlpar\cf1\b\f0\fs16 Actions Sample\par
\pard\nowidctlpar\li144\b0 Commandbar actions eliminate the need to use the update notification\\event to \par
update\\change the state and properties of an item that appears multiple places\par
in your menus and toolbars. \par
All that is needed now is a single line of code placed almost anywhere in your\par
application to update all control that contain the same id. \par
For example, if you have a command that appears in both a menu and a toolbar, \par
and a user creates a custom toolbar with the same command, modifying the action \par
for the command will update all occurrences of that item, \par
no matter how many have been defined.\par
\par
\pard\nowidctlpar\b Components Used in Sample\par
\pard\nowidctlpar\li144\b0 Xtreme CommandBars\cf0\lang1049\f1\fs20\par
}