USERNAME PASSWORD LOST PASSWORD? REGISTER
"A Complete Mobile Application Development Environment"
Advertisement

Downloads
Documentation
Forums
Blog
Press
Bug Tracking
Creator IDs
Contact Us




ACCESS Developer Network
Welcome, Guest
Please Login or Register.
Lost Password?
Problem with Multiline Field Control (1 viewing)
_GEN_GOTOBOTTOM Post Reply Favoured: 0
TOPIC: Problem with Multiline Field Control
#645
zehra (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Problem with Multiline Field Control 2008/08/29 12:02 Karma: 0  
Hi,
In my application i want to display some text(read from file)to a form.
For that i have used Field control with Single Line unchecked(i.e multi-line) and Non editable.

I am using FldSetTextPtr() API for displaying text in Field,but it doesn't show multi-line.Text is displayed in one single line.

What I am missing here?
If Field is editable and I type some text,it writes as multi-line.

Thanks
  The administrator has disabled public write access.
#647
chamel (User)
Gold Boarder
Posts: 48
graphgraph
User Offline Click here to see the profile of this user
Re:Problem with Multiline Field Control 2008/08/31 12:47 Karma: 0  
FldRecalculateField(), then FldDrawField(), before doing FldSetTextPtr, don't forget to call FldGetTextPtr to restore ptr on form exit. This info is from "Palm OSĀ® Programmer's API Reference" download it, a lot of answers are there.
  The administrator has disabled public write access.
#651
zehra (User)
Fresh Boarder
Posts: 4
graphgraph
User Offline Click here to see the profile of this user
Re:Problem with Multiline Field Control 2008/09/01 10:38 Karma: 0  
Thanks..
Now it is running perfectly.
  The administrator has disabled public write access.
_GEN_GOTOTOP Post Reply
Powered by FireBoardget the latest posts directly to your desktop


© 2008 ACCESS Developer Network    |    Joomla! is Free Software released under the GNU/GPL License.    |    ACCESS Global Website
Events Support Community Platforms Home