View topic - help

help

General Help about QNX

help

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
vibhav23
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.
maschoen
QNX Master
 
Posts: 2684
Joined: Wed Jun 25, 2003 5:18 pm


Return to Help

Who is online

Users browsing this forum: Google [Bot] and 4 guests