Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
Hi all,
Now that you are all back from the conference I can start asking questions again 🙂
I am able to get my menu item added to the menu and the cmd is getting called like I want... but I haven't figured out the -active option so that the menu item is only active when the user isin a table or if they have selected the table.
# *** Add table styles menu ***
menu_add ".Table." "Change Table Style" -cmd {jepp_tabledlg::change_jepp_table_dlg();} -active "tbl_mod_table_dlg()"
# table==oid_name(selected_element())
# selected() this is if any text is selected in the edit window
I guess I learn by example and just haven't found any examples of something like this. 🙂
Ellen