Dynamo python windows form always on top

Hi,
Is that a FormBorderStyle to set the form always on top, just like datashape?
Thanks!

@newshunhk ,

i did this long time ago with ironpython

that book also helped me for these forms…

1 Like

@newshunhk I would look at self.MinimumSize = Size(x,y) and self.TopMost = True if you want to interact with Revit viewport for example without losing/ hiding the form. For more consistency, you can hide the minimize and maximize boxes as well.

You can show your form modally with myForm.ShowDialog()

2 Likes

yeah I change .Show() to .ShowDialog()
then it is always on top now!
thanks!!

1 Like