ListBoxAddItem - Forum

Forum Navigation
You need to log in to create posts and topics.

ListBoxAddItem

Hello,

 

I don't understand why my code crashes.
I have long list of entries (in multilingual)

 

I have isolated that this line (in french) makes the code impossible to execute.
ListBoxAddItem "urgencegoal" "Arreter d'oublier les clefs" "Arreter d'oublier les clefs"

Any clue why ?

 

 

Hi @otc66,
Values can't hold apostrophes.
Just add a \ character before the ' to avoid the problem:
ListBoxAddItem "urgencegoal" "arrete d'oublier des taches" "arrete d\'oublier des taches"
Regards.
OTC66 has reacted to this post.
OTC66