Skip to content
Advertisement

Drag and Drop not working with external monitor [closed]

I’m working on a small project for my studies. It’s the first contact with SQL in Visual Studio 2019 Community Edition for me.

My study documents say that I can drag a table from the data sources window onto a form and a DataGridView would appear. That doesn’t work. So I changed the property of the table from DataGridView to Details.

According to the documents from my university it should now add a TextBox with a Label for every row in the table.

Guess what? That won’t work either. The cursor changes to the “Drop here” symbol, but if I drop the element onto the form nothing happens.

There is no error message or something like that.

Here’s a pic of the cursor. Looks good for me. I’m connected to the db as well. It’s a database file on my computer, so there can’t be connectivity problems.

Google and the microsoft docs didn’t help me with that.

Maybe someone else can? 🙂

Advertisement

Answer

Adding to your answer…
I can’t test this on my machine…but I think its worth a try.

Goto Tools->Options Environment->Preview Features.
Check Optimize rendering for screens with different pixel densities (requires restart)

In VS2019…
Goto Tools->Options->Environment->General
Check Optimize rendering for screens with different pixel densities (requires restart)

Also…be sure your on the latest version…there were issues on some of the preview versions.

User contributions licensed under: CC BY-SA
2 People found this is helpful
Advertisement