Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!apple!well!svc From: svc@well.UUCP (Leonard Rosenthol) Newsgroups: comp.sys.mac.programmer Subject: Re: List Manager problems Summary: Try it again, it works... Keywords: SelFlags, List Manager, Mac User I/F Guidelines Message-ID: <11101@well.UUCP> Date: 26 Mar 89 03:41:07 GMT References: <820@oracle.oracle.com> Distribution: usa Lines: 22 In article <820@oracle.oracle.com>, omullarn@oracle.uucp (Oliver Mullarney) writes: > > Can anyone out in NetLand give me a clue as to what setting the selFlags > in the List Manager should have in order to get a list which obeys the > Mac User I/F guidelines for selection.; i.e. allows multiple selection > when the mouse is dragged with the shift key down; allows disjoint > multiple selection when the Command key is down and goes back to a single > selection when the mouse is clicked without any modifiers. > You are correct that this is the default setup, and if you DON'T change the selFlags after you do the LNew, then your list will work properly following the rules that you described. If you are paranoid about it, you can set selFlags to 0 (which is the default) yourself just to make sure. You might also want to double-check that when you call LClick you are passing a valid event.modifiers so that the List Manager gets the modifiers to use for selection. (selFlag is useless if no modifiers ever get passed!) -- +--------------------------------------------------+ Leonard Rosenthol | GEnie : MACgician Lazerware, inc. | MacNet: MACgician UUCP: svc@well.UUCP | ALink : D0025