Thread: Color dialog
View Single Post
  #5  
Old 05-10-2010, 04:14 AM
WhiteDragon WhiteDragon is offline
Banned
Join Date: Feb 2007
Posts: 1,002
WhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to beholdWhiteDragon is a splendid one to behold
Quote:
Originally Posted by fowlplay4 View Post
You should use waitfor, and make it an actual dialog so in scripts it can be used as follows..

temp.newcolors = ColorDialog.getColor();

Novo's Dialog system is an excellent example of this.. http://forums.graalonline.com/forums...ad.php?t=79557
Not sure if I'd agree with that, since your whole script could block for entirety if it messes up. I'm more partial to the regular callback method of doing asynchronous things.
Reply With Quote