Re: [Gambas-user] Help with Observer 'Stop Event'

2017-03-28 Thread Riccardo
Thank you both for the clarification ... both GAMBAS, and this forum, are amazing! -- View this message in context: http://gambas.8142.n7.nabble.com/Help-with-Observer-Stop-Event-tp58715p58720.html Sent from the gambas-user mailing list archive at Nabble.com.

[Gambas-user] Help with Observer 'Stop Event'

2017-03-27 Thread Riccardo
I have an observer on a ValueBox control to prevent it changing to zero and to prevent it becoming larger than the value in a different ValueBox. Public Sub valNumObserver_change() If valNum.value = 0 Then valNum.Value = 1 If valNum.Value > valDen.Value Then Stop Event End With first case,

Re: [Gambas-user] Automatically scroll to end of treeview?

2017-03-22 Thread Riccardo
Thank very much Tobias, for the valuable advice. Because I know what I'm adding it simply worked to apply your recommended approach immediately after adding the new node without the loop or the condition: trvLog.Add(trvLog.Count, logtext) trvLog.Item.EnsureVisible And also the caveat

[Gambas-user] Automatically scroll to end of treeview?

2017-03-22 Thread Riccardo
How do I automatically scroll to the end of a TreeView when a new node is added? I've tried /trvLog.MoveLast/ but that doesn't work? Also, can I make the Drag.Move setting apply to a node (record) in a TreeView. That is, if I drag a record in a TreeView to another location within the same

Re: [Gambas-user] Mouse move ...

2017-03-21 Thread Riccardo
Thank you, Matti and Gianluigi, that worked. -- View this message in context: http://gambas.8142.n7.nabble.com/Mouse-move-tp58655p58662.html Sent from the gambas-user mailing list archive at Nabble.com. -- Check out

[Gambas-user] Mouse move ...

2017-03-21 Thread Riccardo
Is there a way to attach (or modify) the mouse move event to an object such that it is activated without the left mouse button being pressed? I want to monitor the X,Y position of the mouse cursor at all times on the main form... cheers! -- View this message in context:

[Gambas-user] Array data to Gridview?

2017-02-06 Thread Riccardo
Hi, > I have a multidimensional array with 32,000 records. It takes quite a while > to load this into a Gridview, and even longer if I provide the user with some > feedback during the process (an updating label, a progress bar and so on...).   > Is there a faster way to load the array

[Gambas-user] Sort multidimensional array?

2017-02-06 Thread Riccardo
Hi, Is it possible to use the array.sort() method on a two-dimensional array?   >     Public arr_Response As New String[][] > Specifically, I'd like to sort the entire array based on the contents of the second column something like: arr_Response[][1].sort() ...  cheers.