<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>First I'd like to thank Mr. Bijan Parsia and Mr.
Benoit St-Jean for kindly answering my previous question, it worked!
:-)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Our baby (little, but still, our baby) is growing
and getting nicer. Now, we have encountered another problem that has us
"jammed".</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>In our proyect we have a number of chemical
compounds that are added to a chemical solution to find the present ion.
</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>We managed that like this:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>(...)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>archivoOC _ 'ic.obj'.<BR>(FileDirectory default
fileExists:archivoOC)<BR>ifFalse:[archivoOC _ self readyToGo].</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>rS _ ReferenceStream fileNamed:archivoOC.<BR>iC _
rS next.<BR>rS close.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>(...)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>reactivosMorph := RectangleMorph
new.<BR>reactivosMorph layoutPolicy: TableLayout
new;<BR> listDirection:
#leftToRight;<BR> hResizing: #shrinkWrap;
vResizing: #shrinkWrap;<BR> layoutInset: 10; cellInset:
5;<BR> assureExtension;
name:'reactivos';<BR> color: (TranslucentColor r:1.0
g:0.452 b:0.645 alpha:0.447);<BR> borderColor: (Color
blue);<BR> borderColor: ((reactivosMorph borderColor)
alpha: 0.1).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>(...)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>mainMorph _ MyWindow new.<BR>mainMorph
allowReframeHandles: false;<BR> clipSubmorphs:
true;<BR> setLabel: 'Marcha Quimica-Analitica
Cation-Anion';<BR> setStripeColorsFrom: (Color r: 0.167 g: 0.49
b: 0.785);<BR> paneColor: (Color r: 0.167 g: 0.49 b:
0.785);<BR> borderColor: (Color r: 0.167 g: 0.49 b:
0.785).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>(...)</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV><FONT face=Arial size=2>
<DIV><BR>(iC at: 1) do:[:i| reactivosMorph addMorph: ((MyButton new
initializeWithThumbnail:i withLabel:(i externalName) andSend: #agregar: to:
self) assureExtension; name:(i externalName); setProperty:#nombre toValue:(i
extension valueOfProperty:#nombre))]. </DIV>
<DIV> </DIV>
<DIV>(...)</DIV>
<DIV> </DIV>
<DIV>mainMorph addMorphCentered:reactivosMorph.<BR>reactivosMorph bottomRight:
((mainMorph bottomRight x) - 2)@(mainMorph bottomRight y).</DIV>
<DIV> </DIV>
<DIV>(...)</DIV>
<DIV> </DIV>
<DIV>MyButton is subclass of IconicButton ... just to do some overriding to give
it the "looks" we wanted; same happens with MyWindow which is subclass of
SystemWindow).</DIV>
<DIV> </DIV>
<DIV>Now, we decided we need to group the chemical reactives according to their
"chemical group". We'll have from 4 to 6 IconicButtons in each group, and we
tried doing that with FlapsTab. We searched on the Swiki, Squeakdoc, and tried
doing "some more overriding" but so far... no luck.</DIV>
<DIV> </DIV>
<DIV>Either when we "click" on the "flap"... it opens up on the "World" instead
of mainMorph (our SystemWindow), or ... when we do some "overrriding" :-) ....
nothing happens or it just disrupts all the other submorphs of the SystemWindow
:-( </DIV>
<DIV> </DIV>
<DIV>We'd appreciate any help whatsoever on this subject as we are clearly lost.
Again, sorry to bother you all and thanks in advance,</DIV>
<DIV> </DIV>
<DIV>Martín</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>