cancel
Showing results for 
Search instead for 
Did you mean: 

How to access TextBuffer using pointer

SKokk.1
Associate II

Hello,

On a working project with TouchGFX, i have over 150 TextBuffers (wildcards) which i access and change/edit on runtime.

Now i am trying to edit some code parts to avoid repeated parts (many IF conditions).

Is there a way to use a table with pointers and access the desired TextBuffer each time;

1 ACCEPTED SOLUTION

Accepted Solutions
Alexandre RENOUX
Principal

Hello,

What's your status ?

Your request does not seem to be related to TouchGFX in particular but more to C++ coding in general.

Have you tried using an array of pointers ?

/Alexandre

View solution in original post

2 REPLIES 2
Alexandre RENOUX
Principal

Hello,

What's your status ?

Your request does not seem to be related to TouchGFX in particular but more to C++ coding in general.

Have you tried using an array of pointers ?

/Alexandre

SKokk.1
Associate II

Sorry, i did not reply back.

Its solved using array of pointers. I had to refresh my C++ classes related part.