Re: [Gambas-user] problems with core functions

2009-12-17 Thread Norarg
thanks, yes I know, but I just did not find this in the documentation, or overread the part I should have seen. I searched for a pretty while before I posted this. sorry regards norarg Ricardo Díaz Martín schrieb: > Norag, > > It's something like this: > > Dim aux as String > > aux = FormWithT

Re: [Gambas-user] problems with core functions

2009-12-17 Thread Ricardo Díaz Martín
Norag, It's something like this: Dim aux as String aux = FormWithTheTextBox.NameOfTextbox.Selection.Text Is a pleasure to help someone but I recommend to you read documentation on before write in mailing list. Please visit http://gambasdoc.org/help/comp/gb.qt/textbox You only have to read f

Re: [Gambas-user] problems with core functions

2009-12-16 Thread Norarg
hi, thanks, but how do I get this "Text I want to copy", it is selected, but somehow I have to make a string of it, before sending it to the clipboard. Somewhere I have seen SelStart, SelLength with Gambas, but just can not find that part any more - it seemed so clear, I did not give it any fu

Re: [Gambas-user] problems with core functions

2009-12-16 Thread Ricardo Díaz Martín
use Clipboard.Copy("Text you want copy") and Clipboard.Paste() http://gambasdoc.org/help/comp/gb.qt/clipboard 2009/12/16 Norarg > hi > > I am struggling with some nasty little things.. > when I select a text or a part of a text in a textbox, and I want to > copy this or paste from clipboard,

[Gambas-user] problems with core functions

2009-12-16 Thread Norarg
hi I am struggling with some nasty little things.. when I select a text or a part of a text in a textbox, and I want to copy this or paste from clipboard, the usual way is to use ctrl-c, ctrl-v. well, every software I know has a button too, making this possible. I tried to use the Desktop.Sendk