why everything in the form turned gray after i run the app?

youcefbourouba

New member
Joined
Aug 21, 2023
Messages
2
Programming Experience
Beginner
im prety sure i missclicked somthing(in properties) and i dont know what exactly ,thnks
 

Attachments

  • image_2023-09-28_233228436.png
    image_2023-09-28_233228436.png
    18.1 KB · Views: 19
  • 1.PNG
    1.PNG
    12.9 KB · Views: 18
Without seeing your code, it's very hard to guess.

The fact that window caption is color white rather than blue is usually an indicator that the focus is not on your app. But that usually is not enough to explain why the text for the various labels also turn to gray, unless you got a little fancy and also have an event handler to change colors for those labels depending on activation state.
 
It looks like you have set the Enabled property to false. You may have done it for the form itself, hence all the child controls appear disabled. I would expect that you'd know if you had done that in code, although it's not guaranteed, so it is probably set in the designer.
 

Latest posts

Back
Top Bottom