wxDatabase and Cyrillic

In this forum you can discuss database related issues which can be wxWidgets related, but also generic in nature.
User avatar
evstevemd
Part Of The Furniture
Part Of The Furniture
Posts: 2409
Joined: Wed Jan 28, 2009 11:57 am
Location: United Republic of Tanzania

Re: wxDatabase and Cyrillic

Post by evstevemd »

For how to create different connection strings see: https://www.connectionstrings.com/
Chief Justice: We have trouble dear citizens!
Citizens: What it is his honor?
Chief Justice:Our president is an atheist, who will he swear to?
ONEEYEMAN
Part Of The Furniture
Part Of The Furniture
Posts: 7459
Joined: Sat Apr 16, 2005 7:22 am
Location: USA, Ukraine

Re: wxDatabase and Cyrillic

Post by ONEEYEMAN »

Hi,
The error is "No data source is found and no default driver is found on the system".

Thank you.
Melandr
Experienced Solver
Experienced Solver
Posts: 53
Joined: Thu Oct 28, 2021 6:07 am

Re: wxDatabase and Cyrillic

Post by Melandr »

Goodnight!
I wanted to ask if I output the data to wxGrid. Is it possible to set indentation or alignment globally for all data cells (or for columns)? Or is it necessary to do it in a loop, iterating over all the cells of the wxGrid?
2021-11-25_004423.jpg
2021-11-25_004423.jpg (43.99 KiB) Viewed 4702 times
User avatar
doublemax
Moderator
Moderator
Posts: 19116
Joined: Fri Apr 21, 2006 8:03 pm
Location: $FCE2

Re: wxDatabase and Cyrillic

Post by doublemax »

Call wxGrid::SetDefaultCellAlignment(...) before creating cells/rows.
https://docs.wxwidgets.org/trunk/classw ... 88c204bf9f

BTW: As this is unrelated to your previous questions and only about wxGrid, it would have been better to create a new thread for this.
Use the source, Luke!
Post Reply