Whenever I click in a field for SSDBGrid I get all the characters for that field replaced with [] type characters, as seen here: http://imgur.com/oqtvL2y. Some field replace all characters with those characters, some fields replace all but the last character. I have an identical form being used in another program and the control works without issue there, I have tried copying over that form and replacing the problematic one but that has not fixed the issue. Also on my co-workers computer those [] characters are instead japanese or chinese characters, I'm unsure. I imagine I am lacking that font pack and am seeing the [] characters instead for that reason.
This issue only appears when the compiled exe is run, in debug mode the form works as expected.
The only difference I can see between the two is that the working form + control is being called from the parent form, whereas the program that has an issue is calling first a child form, and that child form is calling a second child form containing the SSDBGrid.
Any help would be appreciated, also I'm not sure if this is the correct place to post for help for this control, but it seems to be the most appropriate place I could find.
The little box that you see is what shows up when you try to display a character that the TextBox doesn't know what to do with. This is likely related to the font that you are using. As far as how to determine what you are missing, I am not sure how to do that. You could look at the differences between the machines that work and fail and see what the Language for the OS is as well as what fonts are installed on each machine to see what is different.
Let me know if you have any questions with this matter.
In the vb6 IDE the font is set to MS Sans Serif but I tried setting the font on form load to arial and also setting the charset to the default charset, and now I am seeing the same characters as my co-worker. As seen here: http://imgur.com/RFdjI7j. When the cell does not have focus it has a standard font, and after it loses focus it will return to that same font. I am not doing any code at all for the grids events, so nothing weird is going on when a cell has focus as far as code is concerned.
We don't have any strange configurations on either of our laptops, and can run this form in other programs and see it behave normally. Is there anything else I can try to debug this issue?
Hi Bryan, I apologize for asking about such an old question. Did you solve this issue? Thanks!