All examples include a PB10.5 version and most have a PB12.6 version. The PB12.6 versions are verified to work in 64bit. PowerServer doesn't support the longptr type so you must use the PB10.5 version in that environment. If one of the examples doesn't work correctly, please contact me first before posting to the Appeon user forum or bug tracking system.
Before downloading one of the free code examples, please review the license terms here. If you find this code really useful and would like to donate, click the PayPal button in the upper right corner.
Click here to download an installer for all the free code samples: WebExamples
This program shows how to dynamically add menu items.
To use it in your application, copy m_dynamicitem and n_dynamicitem to a library in your target and an instance variable to your menu object. Then add a function to your window that is called by the clicked event in m_dynamicitem.
——— Last updated 02/14/2019 ———