Most of the PPG widget types need a PPG.Refresh() when changed, e.g. all the 
enum types (list widget etc), and most likely also the bitmap type. What's 
strange is that the selection in the listbox changes/disappears when refreshing 
the PPG. If that widget is related to an actual parameter that holds a value on 
the PPG it should be properly reselected I think.



Hey Everyone,

I'm working on a Model/Asset Management system for our Company.  As base
for my UI I'm using the PPG logic example of Stephen Blair:
Google Group Link
<https://groups.google.com/forum/#%21msg/xsi_list/J11vCXzYkNk/3WObQEO1EmcJ>
Everything is working fine so far, except one annoying thing: If I click
into my Model-Listbox I have to fire a PPG.Refesh() to refresh the
preview picture. This leads to an deselection of the Listbox and the
user can't click throw the List with the arrow down key to get a fast
preview.

Is it possible to change the Bitmap of my siControlBitmap UI Item on the
fly without firing a PPG.Refresh()?

Somthing like that:
def ppgLogic_oModelList_OnChanged():
                 myPPG = PPG.Inspected(0)
                 myLayout = PPG.PPGLayout
                 myPreviewPic.SetAttribute(c.siUIFilePath, oPicturePath )



--
-------------------------------------------
               Stefan Kubicek
-------------------------------------------
           keyvis digital imagery
          Alfred Feierfeilstraße 3
       A-2380 Perchtoldsdorf bei Wien
         Phone:    +43/699/12614231
      www.keyvis.at  [email protected]
--  This email and its attachments are   --
--confidential and for the recipient only--

Reply via email to