you can patch pilrc from sources and set correct char widths with it. thats only
way i am aware of. problem is that pilrc doesn't store RIGHT, CENTER etc. in
resources (palm doesn't know such things) but it calculates dimensions and
coordinates from text and used font. idf later font is changed
Thank you for your answer, Michal.
So what you say is, build the forms programmaticaly?
That's what I was afraid of. I guess that's one reason why most static forms I
can find seem to be left-aligned.
--
For information on using the ACCESS Developer Forums, or to unsubscribe, please
see
Just call this function to center the object.
You will have to call FrmDrawForm
when done.
void CenterObject(FormType * formP, UInt16 objectID)
{
RectangleType rect, rectForm;
UInt16 objIndex = FrmGetObjectIndex(formP, objectID);
FrmGetObjectBounds(formP, objIndex, rect);
Just call the following function to center the object.
You will have to call FrmDrawForm
when done.
void CenterObject(FormType * formP, UInt16 objectID)
{
RectangleType rect, rectForm;
UInt16 objIndex = FrmGetObjectIndex(formP, objectID);
FrmGetObjectBounds(formP, objIndex, rect);