Using GNU SDK with PilRC. I have a form containing a field, defined in 
my resource source file as having font 0 (fontStd). When I use 
FldSetFont to change the font of that field to anything else, Poser 
complains about my app writing to low memory. I made sure the field 
definition in my resource source file has a height large enough to 
handle any font I want to use in that field (15 pixels seems to do it).

Here are the pertinent source lines:
    from the .rcp file:
FIELD ID FIDscore AT (7  14 90 15) RIGHTALIGN EDITABLE UNDERLINED 
SINGLELINE MAXCHARS 10 NUMERIC

    from the C source:
form = FrmGetActiveForm();
fld = FrmGetObjectPtr(form, FrmGetObjectIndex(form, FIDsign));
FldSetFont(fld, fontBold);

Any idea why the writing to low memory complaint is appearing?

--
Roger Chaplin
<[EMAIL PROTECTED]>

Reply via email to