Skip navigation.

Lolek blog

Everything and nothing...

Posts tagged with "source"

[c++] borland builder canfocus problem

, , , ...

Hi there,
today i want to share with you something that i had discovered today. During my work i got some problems with setting the focus on specified component... well sometimes i got access violation,and that kind of stuff...
The problem could be solved through method that is implemented in all components/objects that are inherited from twincontrol... called CanFocus()... the problem is that this method has also some problems with borland frames... so, the only way is to write your own function to get the same behaviour of the original one...
so, if you're looking to solve problem as mine.. read below to find out the source code...

Read more...