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.
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,
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
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
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
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:
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
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.