Visual FoxPro - 表格网格 [英] Visual FoxPro - Table Grid

查看:148
本文介绍了Visual FoxPro - 表格网格的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我怎样才能实现这种网格?我应该使用什么控制/工具?任何想法?





此屏幕演示来自 Baplie Viewer 应用程序。我想这是船长在航行时使用visual foxpro完成的。



它是只准备使用和列宽将被固定。这是一种以类似于网格的表格格式生成的报告,但我认为我们不能使用本地网格控件。
可能需要动态生成。我的意思是我们无法在设计时使用形状工具,线条工具等。 解决方案

那不是网格控制或任何类型的FoxPro控件。 (或者,至少这不是获得这种效果的最佳方式。)它是绑定到HTML网页的webview控件,在后台生成,然后很可能通过临时文件显示。



在FoxPro应用程序中实现效果的最简单方法是使用CUROSRTOXML函数和XSLT转换。

How can I achieve this kind of grid? What controls/tools I should use? Any idea?

This screen cast is from the Baplie Viewer application. I guess it was done by the captain using visual foxpro while he was sailing.

[Edit]
It is ready-only and column widths will be fixed. It is a kind of reporting generated in a tabular format similar to Grid, but I think we cannot use the native Grid control. And it may be needed to generate dynamically. I mean we would not be able to use shape tools, line tool, etc. in design time.

解决方案

That's not a grid control, or a FoxPro control of any type. (Or, at least, that's not the best way to get that effect.) It's a webview control bound to an HTML web page, generated in the background and then displayed most likely via a temporary file.

The easiest way to achieve the effect in a FoxPro application is to use the CUROSRTOXML function and a XSLT transformation.

这篇关于Visual FoxPro - 表格网格的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆