I have a few images on a form.

After I change some parameters I need to redraw or refresh the images.
I press the ok button and all parameters are read and recalculated and the
images redrawn and recalculated.

I was looking for a command to do it.
I saw that the images did not change on the form even if the values
calculated changed.

wd 'pshow;'

Did nothing
If I manually resized the form the new images appeared

wd ' pshow sw_restore'

did nothing

This following combination worked

wd 'pshow sw_hide;'
wd 'pshow;'

It was not very nice because there is a lot of movement going on.

I finally discovered that

glpaint ''

executed after each image being put on the form was doing what I wanted.

I am wondering if it could be possible to do refresh of the form with one
command taking care of the glpaint''?


--
Björn Helgason, Verkfræðingur
Fugl&Fiskur ehf, Þerneyjarsund 23, Box 127
801 Grímsnes ,t-póst: [EMAIL PROTECTED]
Skype: gosiminn, gsm: +3546985532
Landslags og skrúðgarðagerð, gröfuþjónusta
http://groups.google.com/group/J-Programming


Tæknikunnátta höndlar hið flókna, sköpunargáfa er meistari einfaldleikans

góður kennari getur stigið á tær án þess að glansinn fari af skónum
         /|_      .-----------------------------------.
        ,'  .\  /  | Með léttri lund verður        |
    ,--'    _,'   | Dagurinn í dag                     |
   /       /       | Enn betri en gærdagurinn  |
  (   -.  |        `-----------------------------------'
  |     ) |        (\_ _/)
 (`-.  '--.)       (='.'=)
  `. )----'        (")_(")
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to