Archicad C++ API
About Archicad add-on development using the C++ API.

Dialog item (static text) auto-resize

ReignBough
Enthusiast
Is there a way to simulate an auto-resize of a static text? When I have a long message, I want to resize the height of the static text until all the message is shown.
~ReignBough~
ARCHICAD 26 INT (from AC18)
Windows 11 Pro, AMD Ryzen 7, 3.20GHz, 32.0GB RAM, 64-bit OS
1 REPLY 1
Ralph Wessel
Mentor
ReignBough wrote:
Is there a way to simulate an auto-resize of a static text? When I have a long message, I want to resize the height of the static text until all the message is shown.
You could probably work this out using APIAny_GetTextLineLengthID.
Ralph Wessel BArch

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!