Watch, Follow, &
Connect with Us

For forums, blogs and more please visit our
Developer Tools Community.


Welcome, Guest
Guest Settings
Help

Thread: Bring a sub object on top



Permlink Replies: 1 - Last Post: Mar 10, 2018 5:35 PM Last Post By: Lex Dean Threads: [ Previous | Next ]
Lex Dean

Posts: 132
Registered: 3/26/07
Bring a sub object on top
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 10, 2018 5:32 PM
My main object TBar holds combobox's and edits and buttons
All in one unit file except the combobox's and edits are Delphi standard objects

The buttons are on top of the TBar as the hints work properly they are TGraphicControl desentants
The Combobox's and Edits swap out the Buttons but will not show their hints but are are accessible and you can keyboard mouse access them
I believe that means they are not on top of the TBar as the TBar does not draw over them.
I have fully checked the hint features receive the hint message.
I wrote a mousemove in the TBar and got the TBar to display the hint when over the combobox and combobox show hint is set at designtime with no code to turn it off during run time. I also tried putting the Combobox's and Edits BringToFront to help. no luck.

TBar has a TBarParent

constructor TBarParent.Create(AOwner: TComponent);
const
ControlStyle = [csAcceptsControls, csCaptureMouse, csClickEvents,
csSetCaption, csOpaque, csDoubleClicks, csReplicatable];

can this ControlStyle be setting windows in a way I do not release to stop the hint message?

I'm running out of options to investergate
Lex Dean

Posts: 132
Registered: 3/26/07
Re: Bring a sub object on top
Click to report abuse...   Click to reply to this thread Reply
  Posted: Mar 10, 2018 5:35 PM   in response to: Lex Dean in response to: Lex Dean
Your New thread has an error when I save the New thread

I think you need to make a new thread to understand it
I have repeated a thread many time because of it
Legend
Helpful Answer (5 pts)
Correct Answer (10 pts)

Server Response from: ETNAJIVE02