Skip to main content
SMour.2
Associate III
January 21, 2022
Question

HOW TO COPY TEXTAREA WILDCARD BUFFER STRING TO A CHAR ARRAY IN TOUCHGFX?

  • January 21, 2022
  • 1 reply
  • 1203 views

Hi,

I would like to copy the string stored in TextArea wildcard buffer in to a char array for further use in FATFS. I'm displaying the SD card Files on the TFT Display using List Layout example. I'm able to display the files , but then I need to Open & delete the selected files from the List. FATFS f_unlink function does not take Unicode Char in my application.

This topic has been closed for replies.

1 reply

MM..1
Super User
January 22, 2022

This isnt good idea, class dont have this . In normal situation you read FAT to char array and converting is for show, but you need leave char array and index get back when list selected. Then you dont need convert anything you simply use filename{ID}