Cardozz 45 Share Posted December 27, 2014 Hi there, I've been trying to use widgets, but the numbers are quite weird. I got a widget via the client that is like: P 372, C 0 367. The weird thing is the space inbetween at the child widget. Is this ok? and how would i use that child widget? or is number 367 a subchild widget and 0 the child widget?? Im confused, would love some help! Thanks in advance, Cardozz Link to comment Share on other sites More sharing options...
Explicit 213 Share Posted December 27, 2014 I would assume the widget is 372, component 0 and the 367 component of that component. In code: widget(372).component(0).component(367) If that doesn't work just try widget(372).component(367) and play around with it until it finds the right component. Link to comment Share on other sites More sharing options...
Nuclear Nezz 1995 Share Posted December 27, 2014 372 is the parent ID of the widget Widget w = getWidgets().get(372); 0 is the WidgetChild ID of the widget. WidgetChild wc = w.getChild(0); I honestly have no idea what 367 is. Eric made that. >_> Link to comment Share on other sites More sharing options...
Cardozz 45 Author Share Posted December 27, 2014 (edited) Thanks guys for the feedback. Ill try it out now and see if it works, will post in a sec Edit: Hmm.. Not really, i have the idea the wisdgets are a bit screwed up lol. Edited December 27, 2014 by Cardozz Link to comment Share on other sites More sharing options...
Recommended Posts