如何更改访问表单的标题栏高度? [英] How to alter title bar height for access form?

查看:92
本文介绍了如何更改访问表单的标题栏高度?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当以数据表模式显示表单时,是否可以更改表单(实际上是子表单)的标题栏高度?

Is there a way of altering the title bar height for a form (actually a subform) when it is displayed in datasheet mode?

我的字段标题通常比数据更长​​,对此我无能为力.表单处于单一表单"视图中不是问题,但是很多时候数据表视图很有用,因为它是信息的很好摘要.

My field titles are often longer than the data and there is not very much I can do about this. It's not a problem when the form is in 'Single Form' view, but there will be lots of times when the datasheet view is helpful, because it's a good summary of info.

我曾认为在字段标题中强制换行可能有效,但事实并非如此.

I had thought that forcing a new line in the field title might work, but it doesn't.

推荐答案

访问权限不允许这样做.大多数Access开发人员规避此问题的标准方法是使用标签.将您的数据表标题设置为空白("),并使用标签作为您的列标题.这样,您可以对它们进行多行处理,也可以根据需要对其进行格式化.

Access does not allow for this to be done. The standard way most Access developers circumnavigate this issue is to use labels. Set your DatasheetCaptions to blanks ("") and use labels as your column headers. This way you can multi-line them or format them however you want.

这篇关于如何更改访问表单的标题栏高度?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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