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

Paul Rodman paul at ilanga.com
Sat Aug 22 20:08:07 PDT 2009


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.

Looks OK to me. Let me try it with the debugger...

It appears to be a bug in the app. I'm on it.

Paul R.




More information about the APBeta mailing list