Page 1 of 1

Solved: Replace component: how to?

Posted: Tue Apr 07, 2026 5:27 pm
by MJU20
Hey there,

I have a FC10 project that currently uses an ILI9341 display.
I would like to replace it with an ILI9388 display.

I assumed that, by following this guide:
https://www.flowcode.co.uk/wiki/index.p ... _Component

I could simply replace the component and have all associated component macros automatically updated to the new component.

However, this does not seem to work as expected.

While I can indicate that the old component should be replaced by the new one, the settings from the original component are not transferred. Additionally, the existing component macros are not updated or converted to match the new component.

Am I missing a step, or is this functionality not fully supported?

Thanks in advance.

Re: Replace component: how to?

Posted: Tue Apr 07, 2026 5:34 pm
by Steve-Matrix
That should work ok. I'll try this when I get a chance and try to find out what is going wrong

Re: Replace component: how to?

Posted: Tue Apr 07, 2026 7:55 pm
by medelec35
Hello.
If I recall correctly, you can only replace a component if all the component functions have the same name and component exists.
In this case I can't see within component Library ILI9388
Have you got the correct part number?
If you are referring to ILI9488 then that does replace OK by the looks of it, in the test Project I created.
I'm happy to convert your project for you if you are facing issues.
You can PM your project if it is sensitive and wish it to remain private.

Re: Replace component: how to?

Posted: Tue Apr 07, 2026 8:06 pm
by mnfisher
... I posted a python script that does this at viewtopic.php?t=3279&hilit=Replace+component

It's not as smart - so you might need to tweak parameters afterwards - but it does work...

Martin

Solved: Replace component: how to?

Posted: Fri Apr 10, 2026 5:05 pm
by MJU20
I've tried a few times and it succeeded.

I think my problem was that I kept looking at the handle of the component.
The problem has been solved.

But this doesn't mean that this function can't be improved.
Maybe the replace function could be expanded by clicking on a component and get a list of other components that are available in FC as an option to replace the current component with.

But again, this function has saved me a few hours of finding all the places this component was used!