Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - PhAB: Function to append lines into a multitext ??: (2 Items)
   
PhAB: Function to append lines into a multitext ??  
hi guys.. i cant find a function to insert lines into a multitext without delete the last one.. i mean append te new one
... can anyone help me ?
thanks
AW: PhAB: Function to append lines into a multitext ??  
Hi,

with PtMultiText being derived from PtText, the PtText convenience
functions will work just as well. Take a look at PtTextModifyText(), it
does exactly what you're looking for.

To append a string <s> of <l> bytes length to a Pt[Multi]Text widget
<w>, call
   PtTextModifyText( <w>, 0, 0, -1, <s>, <l> );

Hope this helps,
- Thomas

> -----Ursprungliche Nachricht-----
> Von: Jorge Inostroza [mailto:community-noreply@qnx.com]
> Gesendet: 16 September 2008 16:51
> An: momentics-community
> Betreff: PhAB: Function to append lines into a multitext ??
> 
> 
> hi guys.. i cant find a function to insert lines into a 
> multitext without delete the last one.. i mean append te new 
> one... can anyone help me ?
> thanks
> 
> _______________________________________________
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post13480
> 
>