On 12/02/2017 at 06:02, xxxxxxxx wrote:
hi there,
i am failing to get a working shaderlink / texbox in my GeDialog!
working with resource files allowed me to add a texbox with:
SHADER MY_SHADER { FIT_H; SCALE_H; }
but sadly the gui then doesn't react to any interaction
i tried the following in GeDialogs CreateLayout(self) :
_self.MyShader = self.FindCustomGui(MY_SHADER,c4d.CUSTOMGUI_TEXBOX)
--> just returns True, so probably doesn't work
self.MyShader = self.FindCustomGui(MY_SHADER,c4d.CUSTOMGUI_LINKBOX)
--> returns a CustomGui but then:
color = c4d.BaseShader(c4d.Xcolor)
self.SetLink(MyShader, color)
--> crashes c4d_
so the question is: is it possible to have a working texbox in a GeDialog?
and if yes, how would one get there?
best, theo