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!
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
I guess nobody has used borland much huh? Oh well, thanks to anyone who read this thread anyways.
Homepage: www.sytaylor.net
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.
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
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.
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 likeOriginally Posted by DavidP
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