Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
BroadcastCommunity.qnx.com will be offline from May 31 6:00pm until June 2 12:00AM for upcoming system upgrades. For more information please go to https://community.qnx.com/sf/discussion/do/listPosts/projects.bazaar/discussion.bazaar.topc28418
Forum Topic - Hep wih PhAB !!: Page 1 of 3 (3 Items)
   
Hep wih PhAB !!  
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"