Jump to content
Sign in to follow this  
dummzeuch

Monitor Layout registry entry

Recommended Posts

image.thumb.png.719c953e4d5eb535ed67831d342ad97e.png

The registry entry for storing the "Monitor Layout" setting in Delphi 12 contains the string "Allow changing screen on any layout change". WTF?

Does that really mean this setting is language dependent?

Share this post


Link to post

While it is always stored in English even if your IDE is set to any other language, I also think that using such a caption to store the selected option is not that a good idea.

 

As a Delphi developer I would use an enumeration for the setting values and store that in a suitable manner.

  • Like 1

Share this post


Link to post
1 hour ago, Uwe Raabe said:

As a Delphi developer I would use an enumeration for the setting values and store that in a suitable manner. 

So would I.

If it should be user readable (why?) they could have used the enum name rather than an integer to store the setting.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×