I'm thinking that although it's documented that way, it's a bug that the siControlBitmap control can't refreshing itself i you update the file path attribute. It should at least redraw, it's ok if it doesn't resize because that does technically require a Refresh() to resize neighbours.
A work-around may be to use a siControlSynoptic and change the parameter value to change the path of the bitmap. FaceRobot does this I think On Mon, Apr 22, 2013 at 4:03 AM, Andreas Böinghoff <[email protected]>wrote: > 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 ) > >

