home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!usc!rpi!ghost.dsi.unimi.it!univ-lyon1.fr!cismhp.univ-lyon1.fr!hardouin
- From: hardouin@cismhp.univ-lyon1.fr (Jerome Hardouin)
- Newsgroups: comp.sys.hp
- Subject: Problem with Architect List swidget
- Date: 12 Aug 1992 14:13:24 GMT
- Organization: Universite Claude Bernard. Lyon (France)
- Lines: 25
- Distribution: world
- Message-ID: <16b6a4INNnl3@grasp1.univ-lyon1.fr>
- NNTP-Posting-Host: cismhp.univ-lyon1.fr
-
-
- Hi !
-
- I'm writing a soft using Architect, and I've created a 'list' shadow widget.
- The selection policy is 'browse_select' and I have to write two different
- callbacks : one for the simple clic and one for the double clic ..
-
- I've put my code in the properties table :
- - the one corresponding to the simple clic in the "BrowseSelectionCall
- back"
- - the one corresponding to the double clic in the "DefaultActionCallba
- ck"
-
- The problem I have is that when I double clic an item , the TWO callbacks are
- called , the "BrowseSelection" first and then the "DefaultAction" .
-
- Is there a way to have only the "DefaultActionCallback" called when I double
- clic an item ? Or any other way to have two separate callbacks for the simple
- and double clic ?
-
- Thanks in advance !
-
- --
- Jerome Hardouin INSA Lyon , Departement d'Informatique - FRANCE
- Email : <Jerome.Hardouin@univ-lyon1.fr>
-