DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2
  1. #1
    Join Date
    Aug 2005

    Post PRIVATE variables


    I am writing a class for message box. This will contain various buttons like OK,YES,NO etc. Now the user using this msg box should be able to cutomize the action that is to be taken after clicking these buttons. e.g. closing the window,committing the DB etc. But in the class these variables for buttons are declared private. Now the problem is...

    1. I don't want user to change the dimension,colour i.e. look and feel of these buttons

    2. But at the same time I want them to be able to write their own event handlers for clickof these buttons.

    So how do I do that??

    I am using XUI for development

    Thanks and Regards,

  2. #2
    Join Date
    Oct 2004
    normally, this soirt of thing would be done via listeners, not sure if this will work with XUI though

Similar Threads

  1. Getting a GUI to run
    By Eric in forum Java
    Replies: 4
    Last Post: 04-14-2006, 09:09 AM
  2. display 2 columns in the standard listbox
    By shachar in forum VB Classic
    Replies: 5
    Last Post: 06-22-2002, 02:42 PM
  3. Getting a GUI to function
    By Eric in forum Java
    Replies: 1
    Last Post: 11-27-2001, 06:53 AM
  4. calling ping thru vb
    By Michael Shutt in forum VB Classic
    Replies: 6
    Last Post: 04-05-2001, 02:25 AM
  5. Trying to print a PDF File from VB
    By Kunal Sharma in forum VB Classic
    Replies: 2
    Last Post: 04-25-2000, 03:45 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center

By using this site, you agree to the Privacy Policy