Ahh.. I didn't understand that this was with pgMessageDialog(). It should set things up so that by default the enter key triggers the Ok button and the escape key triggers the Cancel button. These keys can be overridden with theme properties.
On Thu, Feb 14, 2002 at 09:58:23AM +0200, Okan wrote: > So, I have to enter the code of 'pgMessageDialog()' .Am I > right ? If not how I can do it (focusing on the OK button > or CANCEL button....) ???? > > On Tuesday 12 February 2002 20:36, Micah Dowty wrote: > > There is no default focus on dialog boxes, but you can do > > one of two things to fix this: > > - map keyboard keys to the dialog's button with the > > PG_WP_HOTKEY property > > - use pgFocus to force the focus onto one of the > > buttons > > > > On 2002.02.12 06:18 Okan wrote: > > > Hi again, > > > While showing the dialog boxes (dialog boxes with OK > > > button,or question window (OK and CANCEL)),no focus now > > > on OK button or no default focus on CANCEL button.How I > > > can do that ??? > > > Thanks,thanks,thanks... > > > > > > _______________________________________________ > > > Pgui-devel mailing list > > > [EMAIL PROTECTED] > > > https://lists.sourceforge.net/lists/listinfo/pgui-devel > > > > _______________________________________________ > > Pgui-devel mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/pgui-devel -- Only you can prevent creeping featurism! _______________________________________________ Pgui-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/pgui-devel
