on 10-09-2006 6:31 AM
Hi All,
I have a question regarding Menus that is how to raise an event in Menus which i have created using XML,So can i raise an event through the code for those Menus which i have created using XML.
I am able to raise an event for the Menus which i have created through the code without using XML.So,kindly provide me some examples regarding Menus using XML.
Thanks
Sowmya
Message was edited by: sowmya c
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sowmya,
<Application>
<Menus>
<action type="add">
<Menu Checked="0" Enabled="0" FatherUID="43520" String="MyMenu1" Type="2" UniqueID="MyMenu1" Image="C:/MyPic.bmp">
<Menus>
<action type="add">
<Menu Checked="1" Enabled="0" FatherUID="MyMenu1" String="MySub1" Type="1" UniqueID="MySub1" />
</action>
</Menus>
</Menu>
<Menu Checked="0" Enabled="1" FatherUID="43520" String="MyMenu2" Type="2" UniqueID="MyMenu2" >
<Menus>
<action type="add">
<Menu Checked="0" Enabled="0" Position="0" FatherUID="MyMenu2" String="MySub21" Type="1" UniqueID="MySub21" />
</action>
</Menus>
</Menu>
</action>
</Menus>
</Application>
Create a file like this and load it using Application Object.
e.g. objApplication.LoadBatchActions(<xmldata>) function.
HTH
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
4 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.