<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Hilaire,<br>
<br>
Check #defaultForm. But first pull git repo and installd updates, as
I just had to fix it.<br>
<br>
Cheers,<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
@JuanVuletich</pre>
<br>
On 6/3/2020 7:41 AM, Hilaire Fernandes via Cuis-dev wrote:
<blockquote cite="mid:d5c3398b-3e73-be42-d5f2-bc17d1912bf1@drgeo.eu"
type="cite">
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<p><font size="+1">Hi, <br>
</font></p>
<p><font size="+1">I need to import one tiny png file as a Form in
a method.<br>
</font></p>
<p><font size="+1">I tried with ContentPack, I can import but I
did not find how to make a method of it in one of my class.</font></p>
<pre><font size="+1">ContentPack import</font>
</pre>
<p>Then in the Transcriipt: a
ContentPack('subMenu.png'->ColorForm(9x6x-2) )</p>
<p>I can inspect the returned ContentPack instance and see the
form but is there a practical method to store it in a method?<br>
</p>
<p>What am I missing?<br>
</p>
<p>Thanks</p>
<p>Hilaire</p>
<p>PS: reported a related issue in github <a
moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev/issues/167">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev/issues/167</a><br>
</p>
<pre class="moz-signature" cols="72">--
GNU Dr. Geo
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://drgeo.eu">http://drgeo.eu</a></pre>
</blockquote>
<br>
</body>
</html>