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 )

--




ANDREAS BÖINGHOFF

3D Artist




schönheitsfarm production

GmbH & Co. KG


schönheitsfarm

hamburg

        

  lippmannstrasse 79

  22769 hamburg

        

  t   +4940 432 91 200

  f   +4940 432 91 222

        

schönheitsfarm

düsseldorf

        

  steinstraße 11

  40212 düsseldorf

        

  t   +49211 913 701 0

  f   +49211 913 701 99

        

schönheitsfarm

frankfurt

        

  hanauer landstrasse 151-153

  60314 frankfurt

        

  t   +4969 484 484 90

        

        


  w www.s-farm.de <http://www.s-farm.de/>



Geschäftsführung Manfred Brunwey

DE 214892548 | Amtsgericht Hamburg HRA 95793






Reply via email to