Board index » cppbuilder » TabOrder and TabStop in Multi component derived from TWinControl
Paw Suddergaard
CBuilder Developer |
TabOrder and TabStop in Multi component derived from TWinControl2004-07-30 08:30:50 PM cppbuilder15 Hi! I have a component with several other components in it. Button, Combobox etc... the component is derived from TWinControl. I only want TabStop and TabOrder on one of the components in the component to get a "normal" component. So i have set all the others to Tabstop = false; and the only component i want tabstop = true; i have set taborder = 0; But i can't seem to get tabstop and taborder to work... I have these properties: private: ............ int FTabOrder; bool FTabStop; int __fastcall GetTabOrder(){return FTabOrder;} void __fastcall SetTabOrder(int TabOrder){FTabOrder = TabOrder;} bool __fastcall GetTabStop(){return FTabStop;} void __fastcall SetTabStop(bool TabStop){FTabStop = TabStop;} __published: __property int TabOrder = {read = GetTabOrder, write = SetTabOrder}; __property bool TabStop = {read = GetTabStop, write = SetTabStop}; Any help would be great! Thanks in advance, Paw Suddergaard |