Reply To: Using Variables Before They're Defined

Home Forums General discussions Using Variables Before They're Defined Reply To: Using Variables Before They're Defined

#18499
Péter Baksa
Keymaster

Hi Benjamin,

TEXTBLOCK width can be 0 to automatically calculate the width, or you can give a value, and that will be used.

You can later place that texblock with RICHTEXT2, so there is the place for transformations if the width is automatic.

Also you can return values from macros using RETURNED_PARAMETERS, maybe the width calculation is better to be done in the macro.

We have a tutorial about TEXTBLOCK:

16. Advanced Text Handling

Péter Baksa
Library Platform, Software Engineer
GRAPHISOFT SE