Hi list,

Really I begin to go crazy,... :( I know, I need more code, test, code, test, code, ... I playing how the message work, and really, I'm confused. I read the list, find into the google list, donwload many stacks,...

Now I'm trying to select some word (or words) selected from a text field

I inserted into front the script of button "FS" so the mousedoubledown doesn't run directly into the field, is correct this?

ON mousedoubledown mybutton
  IF the focusedobject is fld id 1004 of card id 1002
  THEN
    answer "OK!"
<get this word/words selected from the field and perform some operations,
        like find, replace, etc... (but this is the second part>
  ELSE
    answer "NOK :" & focusedobject()
  END IF
END mousedoubledown

So, these code ever answer NOK with the object 1004! I don't know why?
I have the same problem to intercept F4 pressed from a table field, I detect F4 but not the object,...

Questions:
1) Is this the correct way to intercept the same message but from different objects?
Use it into front script and switch between the diferents objects?

2)How is triggered the mouseright click? or control+mouse? with menu options?

Cheers,
Josep (a craziness runtime boy)
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to