The function viz.window.setFloat() should indeed make your vizard window stay on top of other windows. You mention something about pressing the Vizard logo. I don't know what you're doing in the rest of your code, but if your code is in some kind of loop from the start, it could be that the first frame is not drawn yet, and nothing of the settings are applied. You could add this piece of code to wait for the first frame to be drawn:
Quote:
import viz
import viztask
def wait():
yield None
viztask.schedule(wait())
|
To be sure, does this code alone also give troubles:
Quote:
import viz
viz.window.setPosition(500,500)
viz.window.setSize(700,300)
viz.window.setBorder(viz.BORDER_NONE)
viz.window.setFloat()
viz.go()
|
It works in Vizard 4, and it should work in Vizard 3 as well.
Furthermore, check the settings of the application you want to run in parallel. If both of them want to be on top, you could get issues...