[quote=351013:@Edwin van den Akker]Greg, you are the Forum Hero of the day! handing over a big trophy
Works better for Emile than my bulky solution. Thanks![/quote]
You probably should test with IsA before doing that as youll get an error if your listbox uses TextAreas instead of TextFields.
Edit: some days ago someone asked something related to Listbox that leads me to what Ive done today: use a mask and a CueText in a Listbox (2) Columns where a user will enter two dates (because of the cultural differences on it AND the user propension to do what (s)he want, not always what the software expect.
In that window (a simple window that allow the company manager to deal with absent employees); I have a button that adds an empty Row (to add a new absent employee).
Now, when a click is done in the Add PushButton):
a. I add a new Row,
b. I set that Rows Cell(0) as Edit (the Text cursor appears),
c. I add a Cue Text to tell the manager what to wrote in that Cell.
Easier than that is nearly impossible to build in the software (or I will live there and do the job by myself)
I even automatized the Export function: no used dialog ! The manager only have to click in the Export button and the file goes directly in its correct location.