From: John Martens on 24 Jun 2010 01:35 That's why there is PostShowDialog() for a dialog window. Op 24-6-2010 6:59, Mathias schreef: > The datadialog is modal by default. That means that the application > does not leave the show method until you close the datadialog. This > means that you are setting focus om the mle just as it closes. > > /Mathias > >> b) using show() >> >> METHOD Show() CLASS SetKeyWords >> >> SUPER:Show() >> >> SELF:oDCKeyFile:SetFocus() >> SELF:oDCKeyFile:Selection:=Selection{0,0} >> >> RETURN NIL
From: Geoff Schaller on 24 Jun 2010 03:51 Yes but not for a datadialog. You need to override the __DDIMP class with your own. Geoff "John Martens" <adsl672100(a)tiscali.nl> wrote in message news:4c22eea9$0$30710$5fc3050(a)news.tiscali.nl: > That's why there is PostShowDialog() for a dialog window. > > > Op 24-6-2010 6:59, Mathias schreef: > > > The datadialog is modal by default. That means that the application > > does not leave the show method until you close the datadialog. This > > means that you are setting focus om the mle just as it closes. > > > > /Mathias > > > > >> b) using show() > >> > >> METHOD Show() CLASS SetKeyWords > >> > >> SUPER:Show() > >> > >> SELF:oDCKeyFile:SetFocus() > >> SELF:oDCKeyFile:Selection:=Selection{0,0} > >> > >> RETURN NIL
From: richard.townsendrose on 25 Jun 2010 08:54 Guys now i know to use the dialog - but i have a lot if stuff in our subclassed datadialog which i wanted to use. anyway, timer() works a treat richard
First
|
Prev
|
Pages: 1 2 Prev: Creating BITMAP File from a DIBIMage Next: Printer does not eject the current page |