Excellent. Here are a couple quick comments:
I think fheight is a read-only parameter that reports a property of the
current font. I am surprised if
trying to assign an "fheight=..." does not generate a fail or a runtime
error. Note that when you ask for
a font like "font=typewriter,30" you have asked for a height of 30, but you
may get back a nearest available approximation of that and on a given
platform it might not be height 30. Making fheight an
assignable attribute, instead of a read-only one, might be a reasonable
extension that is the same as
a "font="... assignment that asks for a different height of the current face
and style. But I don't think that's
been done yet.
Also, variable pos in this example presumably holds a string that says
something like "pos=50,50" or whatever.
w2 := Clone(w, "font=typewriter,30")
would be a typical thing I wrote in order to have a persistent separate
window handle to write things
with that font, as opposed to WAttrib(w, "font=typewriter,30") which would
be suitable in some
circumstances.
On Fri, Feb 11, 2011 at 2:59 PM, Steve Graham <solitary.wandere...@gmail.com
> wrote:
> Actually I solved this with:
>
> open(aname,"g","fheight=20",*"font=typewriter,30"*, "fg=black",
> "bg=white",pos, "size=" || width || ",200","windowlabel=" || aname)
>
> On Fri, Feb 11, 2011 at 9:49 AM, Steve Graham <
> solitary.wandere...@gmail.com> wrote:
>
>> Do you have any examples of using Clone() to alter font height?
>>
>> When I run this
>> w := open("hello", "g", "font=15,sans,italics",
>> "bg=blue","pos=200,200","size=500,500","windowlabel=Steve")
>> Clone(w,"fheight=15")
>>
>> I get the following error:
>> window attribute cannot be read or written as requested
>>
>> On Fri, Feb 11, 2011 at 8:50 AM, Steve Graham <jsgraha...@yahoo.com>wrote:
>>
>>> When I run the hello world windowed example from the Unicon book I get an
>>> extra window. How can I suppress that? It's black when run by itself and
>>> white when run from the IDE.
>>>
>>> --- On *Fri, 2/11/11, Steve Graham <solitary.wandere...@gmail.com>*wrote:
>>>
>>>
>>> From: Steve Graham <solitary.wandere...@gmail.com>
>>> Subject: [Unicon-group] Idea
>>> To: unicon-group@lists.sourceforge.net
>>> Date: Friday, February 11, 2011, 10:37 AM
>>>
>>>
>>> I have an idea for a quick app:
>>> 1. Have a list of names - some for group leaders and some for group
>>> members.
>>> 2. Store these names in a text file.
>>> 3. At startup the app will read the file and for each group leader:
>>> a. Create a small movable window with his name in it
>>> b. Create a small movable window for each of his members and
>>> arrange them underneath his window
>>> 4. Allow the the group member windows to be moved underneath other group
>>> leaders
>>>
>>> Does this sound hard?
>>>
>>> Is there anything in the ipl which might approximate at least some of the
>>> functionality?
>>>
>>>
>>> Steve
>>>
>>> -----Inline Attachment Follows-----
>>>
>>>
>>> ------------------------------------------------------------------------------
>>> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
>>> Pinpoint memory and threading errors before they happen.
>>> Find and fix more than 250 security defects in the development cycle.
>>> Locate bottlenecks in serial and parallel code that limit performance.
>>> http://p.sf.net/sfu/intel-dev2devfeb
>>>
>>> -----Inline Attachment Follows-----
>>>
>>> _______________________________________________
>>> Unicon-group mailing list
>>> Unicon-group@lists.sourceforge.net<http://mc/compose?to=Unicon-group@lists.sourceforge.net>
>>> https://lists.sourceforge.net/lists/listinfo/unicon-group
>>>
>>>
>>>
>>
>
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> Unicon-group mailing list
> Unicon-group@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/unicon-group
>
>
------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
Unicon-group mailing list
Unicon-group@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unicon-group