On May 30, 2012, at 8:47 AM, Allan Brooke wrote:
> Ctrl-D
> Shell Appears
>
> pf = self.Application.PemForm
> print "PemForm:", pf, pf.Visible, pf.Position
>
> Reply:-
> PemForm: <PemForm (baseclass dabo.ui.dForm, id:-222)> True (1227, 55)
>
> pf.Position = (0, 0)
> pf.show()
>
> Nothing
>
> Can Open Object Info from Menu
> & Coding Editor
This is strange. The window exists, is marked as Visible, and you've
set its position to the top left corner, and it still doesn't show. So I can
only see two more possibilities: it is zero-sized, or it is minimized. After
the 'print' statement in the shell, try running these lines:
print "Size, State:", pf.Size, pf.WindowState
pf.Position = (0, 0)
pf.Size = (500, 800)
pf.WindowState = "Normal"
pf.show()
Let me know what that prints out.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/[email protected]