开发者

Visual C++ with a matrix array

how can i view all members of some matrix array in my开发者_如何学运维 form? I can drop as many text field as i need and equalate each of them to each text field. but it's very long way. Is there any easier way? can i use datagridview tool?


First of all, spawning text fields is not necessarily a long way unless you do it by hand. Basically, it's just spawning and populating a few text fields in a loop, that is, perhaps a few lines of code.

A simple KISS approach (for readonly matrix display) would be a simple text area with the font set to Courier New or any other monospace font. The only thing you'd need to take care of is to format the matrix fields correctly (and truncate respectively pad them as needed).

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜