print "Size, State:", pf.Size, pf.WindowState

ize, State: (370, 580) Minimized

pf.Position = (0, 0)
pf.Size = (500, 800)
pf.WindowState = "Normal"
pf.show()

Nothing

On 30 May 2012 17:32, Ed Leafe <[email protected]> wrote:

> 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]
>


--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---
_______________________________________________
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/canjka-nsccjoep3-5j-b5av1+-mffjndzt9qn72e1ojwd0b...@mail.gmail.com

Reply via email to