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…
@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.
self.MinimumSize = Size(x,y)
self.TopMost = True
You can show your form modally with myForm.ShowDialog()
myForm.ShowDialog()
yeah I change .Show() to .ShowDialog() then it is always on top now! thanks!!