Hi Iwan, do you mean you want to edit the style name for the style assigned to the current selected object, same as when you right click on the style line of the properties panel?
Try this:
script: /* Edit style of selected object */ var styleindex = moi.ui.propertiesPanel.styleIndex; var dialog = moi.ui.createDialog( 'EditStyleDialog.htm?index=' + styleindex ); dialog.window.doModal();
- Michael
|