by ZvezdanD » Mon Jan 05, 2009 6:48 am
trixmoto wrote:or scripts with more than one option sheet
Actually, I think that for such cases with multiple sheets, it is even better to display the built-in Options dialog then a script created dialog, at least until MM developers don't add new Tab Panel control as I already suggested before.
trixmoto wrote:Although the possibility to use the same sheet for this button and the options menu would be useful.
Well, my Magic Nodes script works exactly like that - it use same part of the code with same controls for the options sheet and for the new dialog. Just take a look on the fourth screenshot:
http://www.mediamonkey.com/forum/viewto ... 31#p179531.
By the way, the solution could be very simple for both of us. You have a possibility to specify your Options dialog in the .ini file. MM program should check if you really specified it with ConfigurationScript and ConfigurationProcedure and if it found it, it should execute your dialog procedure. But if you don't specify ConfigurationScript and ConfigurationProcedure, MM should open its built-in Options dialog with displayed the particular option sheet.
[quote="trixmoto"]or scripts with more than one option sheet[/quote]
Actually, I think that for such cases with multiple sheets, it is even better to display the built-in Options dialog then a script created dialog, at least until MM developers don't add new Tab Panel control as I already suggested before.
[quote="trixmoto"]Although the [b][i]possibility[/i][/b] to use the same sheet for this button and the options menu would be useful.[/quote]
Well, my Magic Nodes script works exactly like that - it use same part of the code with same controls for the options sheet and for the new dialog. Just take a look on the fourth screenshot: http://www.mediamonkey.com/forum/viewtopic.php?p=179531#p179531.
By the way, the solution could be very simple for both of us. You have a possibility to specify your Options dialog in the .ini file. MM program should check if you really specified it with ConfigurationScript and ConfigurationProcedure and if it found it, it should execute your dialog procedure. But if you don't specify ConfigurationScript and ConfigurationProcedure, MM should open its built-in Options dialog with displayed the particular option sheet.