That is very tricky.

Just try this:

Public Sub Form_Open()

  TextBox1.SetFocus()
  TextBox1.Select(0, Len(TextBox1.Text))

End

2016-02-25 18:00 GMT+01:00 Charlie <char...@cogier.com>:

> I could not get Gambas to do this, that's not to say it can't. I noticed
> that
> pressing [Ctrl]+A selected the text so my solution is to get BASH to press
> [Ctrl]+A
> 1/. Download and install 'xdotool'
> 2/. Insert the following line after 'TableView1.Edit()'
> Shell "xdotool key ctrl+a"
> It worked for me.
>
>
>
> --
> View this message in context:
> http://gambas.8142.n7.nabble.com/How-to-automatically-select-all-text-when-first-entering-editable-TableView-cell-tp55537p55541.html
> Sent from the gambas-user mailing list archive at Nabble.com.
>
> ------------------------------------------------------------------------------
> Site24x7 APM Insight: Get Deep Visibility into Application Performance
> APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
> Monitor end-to-end web transactions and take corrective actions now
> Troubleshoot faster and improve end-user experience. Signup Now!
> http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=272487151&iu=/4140
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to