Hey Stefan,
SI reselects the selection of the Listbox properly, but doesn't reenter
the Listbox. If I press the arrow down key SI does the
Application.PlaybackStop() command.
Andreas
On 4/22/2013 10:32 AM, Stefan Kubicek wrote:
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 )
--
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