PRIVATE variables


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 2 of 2

Thread: PRIVATE variables

  1. #1
    Join Date
    Aug 2005
    Posts
    1

    Post PRIVATE variables

    hello

    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,
    Milind

  2. #2
    Join Date
    Oct 2004
    Posts
    311
    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, 10:09 AM
  2. display 2 columns in the standard listbox
    By shachar in forum VB Classic
    Replies: 5
    Last Post: 06-22-2002, 03:42 PM
  3. Getting a GUI to function
    By Eric in forum Java
    Replies: 1
    Last Post: 11-27-2001, 07:53 AM
  4. calling ping thru vb
    By Michael Shutt in forum VB Classic
    Replies: 6
    Last Post: 04-05-2001, 03: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, 04: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
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

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