raidos
asked on
FindControl(GetFocus)
Hello.
I have some problems with this..
The GetFocus should return the handle for the Currently activated control right?
But if the currently Active control is a TComboBox then the handle returned isn't the Correct handle.
any ideas why this happens...it seems to work just fine if the handle is from a TEdit for instance.
Any tips are appreciated.
//raidos
I have some problems with this..
The GetFocus should return the handle for the Currently activated control right?
But if the currently Active control is a TComboBox then the handle returned isn't the Correct handle.
any ideas why this happens...it seems to work just fine if the handle is from a TEdit for instance.
Any tips are appreciated.
//raidos
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
As a result of your Comment Alex i have found the solution on my own.
I will award you the points!
Thanks alot!
I will award you the points!
Thanks alot!
ASKER
Ohhh, I see...
Well that brings me to the next problem then.
When using FindControl(GetFocus) and Active control is a ComboBox then FindControl will return NIL.
Any ideas why that is and how do we solve that?
//raidos