Posted 23 August 2012 - 04:12 PM
I have attached a PROIV export file (rightclickmenuonicon.vpx) that demonstrates how a right click menu on an icon is implemented. Points to note are
1.) A right click menu is not supported for static icons so the icon must therefore be defined as a dynamic control.
2.) Right click menus and their associated menu options employ Control Bars and Action Controls. These are easy to implement and understand once you read up on them. See topic 500494 in the Version 6 on-line help http://support.proiv...cumentation.htm for more info on Control Bars and Action Controls.
You may have to 'ischk' the attached file as we use Linux - so you may have to byte swap it before you can import it.
Posted 23 August 2012 - 09:39 PM
Yep ver 6 is old and we will move to ver7 soon but i still using this ver to develop for now. I know how to make the right click but the issue is i dont know which icon i've clicked. I am using dynamic icon and the right click itself is shared by 50 icons in a screen. Do i anyhow can locate which icons i have right clicked on?
Thanks in advance
Posted 24 August 2012 - 01:31 PM
I have tried testing various system variables like @FLD and @CURFLDNAME but they both return the system data of the field where focus is currently set which in my example is the holding field that is at the bottom of the screen.
It may be advantageous to provide more information on what you are trying to achieve to see if there is an alternate solution.
Posted 24 August 2012 - 01:38 PM
Im glad u understand the condition. Trying to apply right click to copy or add icon tag to files. But eventually failed, so i try my luck here.
Which version you using, i will update soon so i thought new version could have changed.
Posted 24 August 2012 - 01:53 PM
Have you checked out Aurora yet. Pretty cool stuff.
Posted 24 August 2012 - 02:04 PM
Reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users