Page 1 of 1
Use GetGadgetItemText() column parameter to get a character at a particula position with EditorGadget()
Posted: Mon Apr 21, 2025 3:10 pm
by Quin
Currently, with GetGadgetItemText(), it's possible to get a particular line in an EditorGadget, and the column value is ignored. I think it'd be great if the column value could optionally be specified to only return a character at the given line and column.
Re: Use GetGadgetItemText() column parameter to get a character at a particula position with EditorGadget()
Posted: Fri May 09, 2025 5:49 pm
by nsstudios
+1
Re: Use GetGadgetItemText() column parameter to get a character at a particula position with EditorGadget()
Posted: Fri May 09, 2025 6:31 pm
by mk-soft
Why, goes that way too ...
Code: Select all
temp.s = Mid(GetGadgetItemText(0, 15), 10, 1)
Debug temp
Re: Use GetGadgetItemText() column parameter to get a character at a particula position with EditorGadget()
Posted: Fri May 09, 2025 6:53 pm
by Quin
mk-soft wrote: Fri May 09, 2025 6:31 pm
Why, goes that way too ...
Code: Select all
temp.s = Mid(GetGadgetItemText(0, 15), 10, 1)
Debug temp
Of course you can use Mid() for this. But this is a feature request topic, not a "how do I do this" question thread
