<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<p><font size="4">This is what I tried to explained.</font></p>
<p><font size="4">It occurs with Smalltalk Script, for example</font></p>
<p><font size="4">(mySketch point: 0@0) color: (Color red
adjustBrighness: 0.125)</font></p>
<p><font size="4">In the constructed sketch below, when the user
decided to invoke the style dialog for point, this color is not
one of the defined ones in the DrGeo drop down colors menu. In
that circumstance, the index is zero and the GUI crash. In the
picture below, I can set the selected color to none (the button
is empty) because nil is returned instead of an index access
error. For DrGeo to take of this situation, I need the GUI to
return nil and not throw an error.</font></p>
<p><font size="4"><img src="cid:part1.l4pn31CN.xTjUY6nA@free.fr"
alt=""></font></p>
<div class="moz-cite-prefix">Le 26/01/2026 à 19:54, Juan Vuletich a
écrit :<br>
</div>
<blockquote type="cite"
cite="mid:3ccc5e1b-6de4-4aff-9e40-493b14975f89@cuis.st">
<p>I can not see how #getListItem: could be called with a 0
argument. Perhaps it is the sender in DrGeo that can take care
of that?</p>
<p>Thanks,</p>
</blockquote>
<pre class="moz-signature" cols="72">--
<a class="moz-txt-link-freetext" href="http://mamot.fr/@drgeo">http://mamot.fr/@drgeo</a></pre>
</body>
</html>