> Hi everybody,
> 
> I'd like to display a modal dialog until the user tabs anywhere on the form
> (not only until the user tabs a button on the dialog) Please tell me how I
> can do it. Right now, I try to cheat by making the button the same size of
> the dialog, no frame and no label.When I click on the dialog, the system
> invests the button (black background and white text) before the dialog
> disappear. What is the right way to do it?
> Thank you very much.

  set a form event handler for the dialog.. and then you can capture the
  penDown event and do whatever you need to do..

  FrmSetEventHandler() from memory - just do it before you call the
  FrmDoDialog() function :)

  :))

az. 
--
Aaron Ardiri 
Java Certified Programmer      http://www.hig.se/~ardiri/
University-College i G�vle     mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN       
Tel: +46 26 64 87 38           Fax: +46 26 64 87 88
Mob: +46 70 656 1143           A/H: +46 8 668 78 72

if you enjoy it, then it aint work :) - rule #106 of life


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to