Page 1 of 1

is there anyway to fold the long line of code inside Calculation icon

Posted: Mon Aug 26, 2024 3:55 pm
by S_VE
Hello everyone

is there anyway to fold a long line of code inside a Calculation icon?
(this is to reduce the width of the code on the screen)


Flowcode9 Help Needed 02.jpg
Flowcode9 Help Needed 02.jpg (61.97 KiB) Viewed 3782 times

Maybe Something like this!

Flowcode9 can we fold the line.jpg
Flowcode9 can we fold the line.jpg (100.3 KiB) Viewed 3782 times

Re: is there anyway to fold the long line of code inside Calculation icon

Posted: Tue Aug 27, 2024 9:29 am
by Steve-Matrix
There is a setting in the Global Options that can control this to some extent. This is "limit annotation size for new icons" under the "Flowchart" tab.

However, this only works for newly created flowchart icons.

This setting controls a hidden property of each icon called "textarea". You could change this manually for any icons by directly editing the project fcfx file in a text editor. Of course, if you do this then be careful - make a backup of the file and change only the specific entry.

The attached project shows what I mean. It has 3 icons. The first was added when the annotation size limit is off and the second was added when the limit is on. The third is one where I have manually added the "textarea" for the icon within the project file.

Re: is there anyway to fold the long line of code inside Calculation icon

Posted: Tue Aug 27, 2024 10:28 am
by S_VE
Thank you Steve.

great!

I will try this today.

Re: is there anyway to fold the long line of code inside Calculation icon

Posted: Tue Aug 27, 2024 12:24 pm
by stefan.erni
Hi S_VE

I also had to use a long formula. I then made an array P[] with float and added it up like this:
2024-08-27_13-15-36.PNG
2024-08-27_13-15-36.PNG (35.69 KiB) Viewed 3741 times

Re: is there anyway to fold the long line of code inside Calculation icon

Posted: Wed Aug 28, 2024 4:27 pm
by S_VE
Hi Stefan

Thank You