Wanted: #PB_InputRequester_SelectText

Got an idea for enhancing PureBasic? New command(s) you'd like to see?
infratec
Always Here
Always Here
Posts: 6874
Joined: Sun Sep 07, 2008 12:45 pm
Location: Germany

Wanted: #PB_InputRequester_SelectText

Post by infratec »

For implementing a search function I used the InputRequester().
As default text I used the last search text. But if the user simply starts to type a new search text,
it was appended to the old one. To avoid this it would be nice if we can 'select' the default text.

For that an additional Flag would be nice:

#PB_InputRequester_SelectText

I implemented this in an own InputRequester:

viewtopic.php?f=12&t=72874&p=536959#p536959

Bernd