Thread: checkboxlist in c++ builder 5

  1. #1
    Registered User
    Join Date
    Mar 2004
    Posts
    17

    checkboxlist in c++ builder 5

    Hi guys, I've got a program I have to write in Borland C++ Builder 5 and it uses a checkbox list, anyone know how to create code of the OnClickCheck event? I can't figure it out! Thanks!
    Homepage: www.sytaylor.net

  2. #2
    Registered User
    Join Date
    Mar 2004
    Posts
    17
    I guess nobody has used borland much huh? Oh well, thanks to anyone who read this thread anyways.
    Homepage: www.sytaylor.net

  3. #3
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,743
    i use borland c++builder 4. normally to create code for on click events you just double click on the object and the window pops up to write code.
    My Website

    "Circular logic is good because it is."

  4. #4
    Registered User
    Join Date
    Mar 2004
    Posts
    17
    Indeed, but for a checkbox when you do that you simply get the OnClick event and not the OnClickCheck event. Maybe if i called it a combo box? It has a series of checkboxes in a list, and I need the event that encapsulates one of those list items being checked.
    Homepage: www.sytaylor.net

  5. #5
    l'Anziano DavidP's Avatar
    Join Date
    Aug 2001
    Location
    Plano, Texas, United States
    Posts
    2,743
    i havent used c++ builder for awhile now, but if I remember correctly there is a little menu to the left of the form that lets you edit attributes.

    using that menu, you can tab over from the attributes to the member functions, and select which member function you want to write code for.
    My Website

    "Circular logic is good because it is."

  6. #6
    Registered User
    Join Date
    Mar 2004
    Posts
    17
    Quote Originally Posted by DavidP
    using that menu, you can tab over from the attributes to the member functions, and select which member function you want to write code for.
    There is a properties tab and an events tab. The events tab only seems to let you apply pre-written events to other events. Taht sounds strange but what you have is something like

    Onclick [...]
    Onclickcheck [...]
    OnMouseOver [...]

    etc, and when you click the button next to those events you get either a blank menu or a selection of event handlers you have already written. What i need to know is how to write a new one.

    Many thanks for your persaverience(sp).
    Homepage: www.sytaylor.net

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Ballon Tips in C++ (Borland C++ Builder 6)
    By dfghjk in forum C++ Programming
    Replies: 4
    Last Post: 05-11-2008, 08:00 PM
  2. THE END - Borland C++ Builder, Delphi, J Builder?
    By Davros in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 02-28-2006, 11:23 PM
  3. TAutoObject: Builder 1.0 vs. 6.0
    By pimming in forum C++ Programming
    Replies: 2
    Last Post: 06-11-2003, 10:47 PM
  4. Dynamically programme in C++ Builder..Help
    By Gugge in forum C++ Programming
    Replies: 2
    Last Post: 08-01-2002, 12:14 PM
  5. borland c++ builder 6 trial
    By Klinerr1 in forum C++ Programming
    Replies: 3
    Last Post: 06-12-2002, 11:59 PM