selection is not selected

Muaadh salih ms1 at soas.ac.uk
Fri Aug 5 14:37:25 EDT 2005


I have the following code which emulate double clicking into an 
unlocked field and thus selection the chunk under the clicked mouse:
set the locktext of me to false
   click at the mouseloc
   click at the mouseloc

--- the above should emulate  the mouse click and select whatever under it.
but it does nor work even in plain English text . Could you look at this
I think this should not  difficult to debug??

   get the selection
   set the locktext of me to true
do smething with it

The idea of unlocking a field , selecting text and locking it is to 
avoid problems caused by the  is the way the Revolution engine is 
storing the internal string representation and how this is displayed 
by the OS.
Whatever it is,the above  scripting for twice clicking should (but 
does does not ) emulate double clicking into open field  . any reason 
why ?

BTW
We are ( at the University of London) looking to contract a skilled 
programmer ( naturally in Rev. & H.C.) to help us to convert our 
HyperCrad stacks (Arabic, Hebrew and the rest of the Unicode stuff) 
to rev.  If anybody living in ore near London with something to show 
for her/his skills and interested in further details , please 
contact me or leave a message on my voice mail below.
Many thanks


-- 



All the best



Muaadh Salih
SOAS
Department of Near & Middle Eastern Studies
Tel . +44 (0)2078984354


More information about the use-livecode mailing list