home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #18 / NN_1992_18.iso / spool / comp / sys / hp / 9199 < prev    next >
Encoding:
Internet Message Format  |  1992-08-12  |  1.3 KB

  1. Path: sparky!uunet!usc!rpi!ghost.dsi.unimi.it!univ-lyon1.fr!cismhp.univ-lyon1.fr!hardouin
  2. From: hardouin@cismhp.univ-lyon1.fr (Jerome Hardouin)
  3. Newsgroups: comp.sys.hp
  4. Subject: Problem with Architect List swidget
  5. Date: 12 Aug 1992 14:13:24 GMT
  6. Organization: Universite Claude Bernard. Lyon (France)
  7. Lines: 25
  8. Distribution: world
  9. Message-ID: <16b6a4INNnl3@grasp1.univ-lyon1.fr>
  10. NNTP-Posting-Host: cismhp.univ-lyon1.fr
  11.  
  12.  
  13.     Hi !
  14.  
  15. I'm writing a soft using Architect, and I've created a 'list' shadow widget.
  16. The selection policy is 'browse_select' and I have to write two different
  17. callbacks : one for the simple clic and one for the double clic ..
  18.  
  19. I've put my code in the properties table :
  20.     - the one corresponding to the simple clic in the "BrowseSelectionCall
  21.       back"
  22.     - the one corresponding to the double clic in the "DefaultActionCallba
  23.       ck"
  24.  
  25. The problem I have is that when I double clic an item , the TWO callbacks are
  26. called , the "BrowseSelection" first and then the "DefaultAction" .
  27.  
  28. Is there a way to have only the "DefaultActionCallback" called when I double 
  29. clic an item ? Or any other way to have two separate callbacks for the simple 
  30. and double clic ?
  31.  
  32. Thanks in advance !
  33.  
  34. -- 
  35.     Jerome Hardouin    INSA Lyon , Departement d'Informatique - FRANCE
  36.     Email :        <Jerome.Hardouin@univ-lyon1.fr>
  37.