Jorge Inostroza
09/10/2008 11:13 AM
post13158
|
Hi.. im new in this forum, and also im new in photon app builder, so im
creating an interface that listen a udp socket from a server, but first i
need to use some functions related with callbacks to the widgets... so my
first question is... how by pushing a button can i get the phrase "Hello
World" into a multitext ??
what am trying to do is creating an arm callback in the button, so when i
push the button using the function PtSetResouce change the string, but only
i change the string into the button, so i need to put that string into a
multitext... can anybody help me with that please :)
my code is PtSetResouce(widget, Pt_ARG_TEXT_STRING, "Hello World", 0);
and what im trying to do is PtSetResouce((PtWidget_t
*)(AbContext.Ap_classtab[2].wclass)Pt_ARG_TEXT_STRING, "Hello World", 0);
where Ap_classtab[2] is the structure where i have the multitext widget
thanks
JIN
--
"Podran criticarme por fallar... pero no por dejar de intentarlo"
|
|
|