[APBeta] Anyone using a double-clickable list in a script?

Jeff Young jey at adobe.com
Sun Aug 23 03:52:43 PDT 2009


Paul --

Cool; I'll wait for it.

Do I need to do something special to get the double-click return value (I note the Dialog.DoubleClickedList property), or will the normal Dialog.ListChoiceParamter(listName) still work?

Thanks,
-- Jeff.


> -----Original Message-----
> From: apbeta-bounces at lists.astroplanner.net [mailto:apbeta-bounces at lists.astroplanner.net] On Behalf Of
> Paul Rodman
> Sent: Sunday, August 23, 2009 4:47 AM
> To: AstroPlanner Beta Testers
> Subject: Re: [APBeta] Anyone using a double-clickable list in a script?
> 
> 
> On Aug 22, 2009, at 1:23 PM, Jeff Young wrote:
> 
> > I'm trying to get a dialog to work which has a single list of
> > strings in it which is double-clickable.  Can anyone send me some
> > example code?
> >
> > I've tried:
> >
> > 	const obsListTitle = "Observations:"
> > 	dim obsList(-1) as string, i as integer
> > 	for i = 1 to currObj.nObservations
> > 		obsList.Append(currObj.Observation(i).Notes)
> > 	next
> >
> > 	dim dlg as Dialog
> > 	dlg = new Dialog
> > 	dlg.ListChoiceParameter(obsListTitle, currObj.nObservations - 1,
> > obsList, false, 10, true)
> > 	if NOT dlg.Show("Copy Observation to Clipboard", true) then
> > 		return
> > 	end if
> >
> > but it throws an exception in dlg.Show if I double-click the list.
> 
> Fixed for the next release.
> 
> Paul R.
> 
> _______________________________________________
> APBeta mailing list
> APBeta at lists.astroplanner.net
> http://lists.astroplanner.net/listinfo.cgi/apbeta-astroplanner.net



More information about the APBeta mailing list