Use GetGadgetItemText() column parameter to get a character at a particula position with EditorGadget()
Use GetGadgetItemText() column parameter to get a character at a particula position with EditorGadget()
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()
Why, goes that way too ...
Code: Select all
temp.s = Mid(GetGadgetItemText(0, 15), 10, 1)
Debug temp
My Projects ThreadToGUI / OOP-BaseClass / EventDesigner V3
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
PB v3.30 / v5.75 - OS Mac Mini OSX 10.xx - VM Window Pro / Linux Ubuntu
Downloads on my Webspace / OneDrive
Re: Use GetGadgetItemText() column parameter to get a character at a particula position with EditorGadget()
Of course you can use Mid() for this. But this is a feature request topic, not a "how do I do this" question threadmk-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
