How do i get a directentry textbox to not delete the data when i focus out

Not much to put here. How do i get a directentry box to not delete the string within it when i focus out .

Could you show a minimal example of this, please? I just tried to reproduce the issue, and I don’t seem to be finding DirectEntry to delete its contents when defocussed. Thus it might help to see how you’re doing it.

im sorry but it appears its my fault, apparently the code from the examples in the manual had a function to clear text when you focus out of it.

1 Like

Aah, fair enough! That sort of thing happens, I do think. :slight_smile:

Well, I’m glad that you found the source of the problem! :slight_smile: