Dim STRINGA AS String
...
COLONNA = .MouseCol
RIGA = .MouseRow
STRINGA =RIGA &"-" & COLONNA
...
during mousemove event how to check if STRINGA change, from old value?
CHECK if the join of value are changed
-
- PlatinumLounger
- Posts: 4355
- Joined: 26 Apr 2010, 17:36
-
- Administrator
- Posts: 12605
- Joined: 16 Jan 2010, 15:49
- Location: London, Europe
Re: CHECK if the join of value are changed
How about
Dim STRINGA as String
Static oldSSTRINGA as String
...
COLONNA = .MouseCol
RIGA = .MouseRow
STRINGA = RIGA& "-" & COLONNA
If STRINGA <>oldSTRINGA
Then
oldSTRINGA = STRINGA
' Do whatever else you need for when the value changes here
EndIF
Dim STRINGA as String
Static oldSSTRINGA as String
...
COLONNA = .MouseCol
RIGA = .MouseRow
STRINGA = RIGA& "-" & COLONNA
If STRINGA <>oldSTRINGA
Then
oldSTRINGA = STRINGA
' Do whatever else you need for when the value changes here
EndIF
StuartR