How to access TextBuffer using pointer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-06-30 1:08 AM
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;
Solved! Go to Solution.
- Labels:
-
TouchGFX
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-17 4:43 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-17 4:43 AM
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-08-18 1:15 AM
Sorry, i did not reply back.
Its solved using array of pointers. I had to refresh my C++ classes related part.
