this is my second post
but hey i'm working on forms in C++ builder 6
and i'm stuck with this problem.
i made form that will display a map like a blueprint, and i got
doors that i can open and close
:P, but now i need to put locks on the door, like a code and key(key is a textstring), the code is working fine, but when i work on the text it wouldn't work.
i already got:
"Slot.h" //slot stands for lock#include
using namespace std;
class SleutelSlot: public Slot sleutel stands for key
void Ontgrendel(string); //unlock
void Vergrendel(); //lock
bool isVergrendeld(); //REQ for status
string sleutel; //the key
bool status; //status (locked/unlocked)
in the form i made:
and when i want to read TEdit:
but here isn't an string sent to Ontgrendel
how can i fix this?
TY for reacting