Skip to content

How to change the color of the dialog? #107

Answered by magiblot
600888 asked this question in Q&A
Discussion options

You must be logged in to vote

Okay, I see where the problem is.

Here are some screenshots from the Turbo Vision's programming guide that will help you understand how palettes actually work.



Turbo Vision's palette system has the disadvantage that when you design a palette, you have to take into account the class into which your view will be inserted.

The cause of your issue is that YcViewDialogs and YxViewDialogs are being inserted into StationViewDialogs, but still use standard TDialog palettes which assume the owner view will be a TApplication or TDesktop.

There are two possible basic solutions that come to my mind:

  • Insert YcViewDialogs and YxViewDialogs into the desktop and not into another dialog (which is the …

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@600888
Comment options

Answer selected by 600888
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants