From: John Martens on
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
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
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