CommandData dialog using resource [SOLVED]

On 24/07/2016 at 11:47, xxxxxxxx wrote:

I was trying to create a simple CommandData plugin.
However, I need a Link field in the dialog and I don't have that type of gizmo in the GeDialog to add to the dialog.
So, I was trying to make the dialog through a resource file, as those have the LINK gizmo.
The problem is that the only examples that are provided with the SDK are for CommandData plugins that create a dialog though code.
A working example for a CommandData plugin that would work with a dialog resource would be great.
Can anyone help out on this one?

On 24/07/2016 at 12:34, xxxxxxxx wrote:

I have an example called "Dialog Using Resources" on my website:

Is that what you want?


On 24/07/2016 at 15:31, xxxxxxxx wrote:

YES! That is it
Thank you, Scott.

On 25/07/2016 at 00:57, xxxxxxxx wrote:


a "link field" is no standard GUI element but a custom GUI element. So you can add a LinkBoxGui to your dialog using AddCustomGui().

Best wishes,

On 25/07/2016 at 02:56, xxxxxxxx wrote:

Great to know that, Sebastian.
I usually prefer to have dialogs/interfaces defined with resources, as it is easier to adjust and can deal with multiple languages.
But, sometimes, I need to create dynamic, self adjustable interfaces and in that case, I need to do it using code.
So, that is of great help.