View topic - help


General Help about QNX


Postby vibhav23 » Sat Oct 30, 2010 8:51 am

i wanted to know how to copy data from a external file and then display it in a textbox in photon

appreciate the response
New Member
Posts: 1
Joined: Sat Oct 30, 2010 8:49 am

RE: help

Postby maschoen » Mon Nov 01, 2010 7:12 pm

You didn't say what causes the copy. Startup? A button press? In any case, create a project with PhAB. When you figure out where the copy code goes, for reading in the file, use fopen and fread and for putting it into the textbox, use PtSetResource or PtSetResources.
QNX Master
Posts: 2712
Joined: Wed Jun 25, 2003 5:18 pm

Return to Help

Who is online

Users browsing this forum: No registered users and 7 guests