Re: Newlines don't work with FldSetTextPtr

2008-01-13 Thread Doug Gordon
I seem to recall a similar problem, but can't remember the exact cause. I can tell you that my app works correctly with newlines in the text, but I always put it in a dynamic memory block and display it with FldSetTextHandle. Maybe this is what fixed my original problem. Doug Gordon

Re: Newlines don't work with FldSetTextPtr

2008-01-13 Thread Lionscribe
You have to call FldRecalculateField after FldSetTextPtr on mukti-line text fields.. FldSetTextHandle calls it internally. Lionscribe -- For information on using the ACCESS Developer Forums, or to unsubscribe, please see http://www.access-company.com/developers/forums/

Re: multi sections and pointers

2008-01-13 Thread Marcin
Hello As i see, when i use multisections in my palmos app i cannot use pointers to datastructures form one segment in other ? ( Is there a way (some kind of trick maybe?) to do this, or do i have to split my code that pointers to structures in a section are used only in that section ?

Re: multi sections and pointers

2008-01-13 Thread Ben Combee
I have 1 more question - can i put whole class in chosen section or only it's methods ? Only class methods will be in code sections -- class data is part of the whole program's data, and that will be in the data segment. I don't know how GCC handles the section attributes on a class -- I think

Re: multi sections and pointers

2008-01-13 Thread Garth Wimbush
Yep, Ben is correct. You need to label each of the methods in a class. On Monday 14 January 2008 09:53:03 Ben Combee wrote: I have 1 more question - can i put whole class in chosen section or only it's methods ? Only class methods will be in code sections -- class data is part of the whole