重赏之下必有勇夫。谁会做1000分,以发的例子为准。(300分)

to邓娟:针对你的话:‘象有些人一来就装作一个老好人的样子好象也不怎么乐于助人的人我就不那么服,而象有些人一来就查我分,怀疑我的人,没有一点真正想帮助别人的人,并且好象思考也不那么严密,信口妄言的人坚决反对。’:我不知道你是个男孩还是女孩,如果你是个男孩,会有人说你有个性,但也有人会说你真不知趣!如果你是个女孩,那你这样的为人和态度,我真担心你怎么在社会上立足!其实我的那番话,是为你好,‘良药苦口利于心’,这没想到你说出这样的话!谁让你服了?我可没有,你的话本身就反映出一个小肚鸡肠的形象,虽然未谋其面!其实,帮助一个人,知识是一个方面,为人处世,胸怀大量可能更容易受到大富翁的欢迎!言语重了点,请见谅!
 
谁反对我我就反对谁,是真正的朋友、热心人我也非常敬佩,象有些我既不欣赏也不反对的人,就别在这里嗡嗡叫,唐僧都被你气死了。
 
我自己评价,不是虚怀若谷,也不是小肚鸡肠,你喜欢虚怀若谷的风格,我都没有办法。
 
TO wangxian11,改控件是非常麻烦的事情,如果你想改它,我估计要把它的设计思路摸个一清二楚,他的基本类也要非常了解,也并且继承下来再改就行的,涉及很多类嵌在一起,分离都费劲,没有这个时间和实力,呵呵:)
 
DxGrid是完全可以的。
你在表头处下拉splitter一样的东东就可以,然后设置Column的Group属性
完全可以
 
TO 邓娟,
这两天我会好好看看的,顺便学学面向对象。(学DELPHI这么久了,居然还没学过它的面向对象方面的东西,汗。。。)
昨天上DevExpress ExpressQuantumGrid的The Express Support Forum,里面有一个问题就是讲怎样利用QuantumGrids的灵活性加入新的属性到它的类中,还有三个例子,值得好好看看,文章如下:
题目:How to Utilize the QuantumGrids Flexibility to Implement a New Feature in a Derived Class
内容:When designing QuantumGrid 4 our developers have created a flexible object model. Although the grid structure maybe difficult to understand, since it consists of hundreds of classes, it allows you to implement anything you need by creating descendants of particular grid classes. If you feel familiar with component writing, you can take the ability to customize QuantumGrid 4 to the next level.

The sample projects of this article demonstrate how you can implement additional features for the grid's TableView. Despite of the fact that some of these features may be built-in in a future grid version, our goal for publishing them here is to show you how easy implementing of an additional feature could be.

Currently the following samples are available. We will probably complete this article with more samples in the future.
* Implementing the RowHeight property in the table view.
* Drawing the "Click here to add a new record" message within the New Item row, similar to that how the Microsoft Outlook does this in the Tasks folder.
* Implementing hints for column headers.

As you may see, ViewInfo classes are inherited in all these samples. These classes are not yet described in the help. Moreover, descendants usually override protected methods, which are rarely described in documentation. Hopefully, most of you have the QuantumGrid source files as source code is the ultimate documentation. Studying a component from source is not just the only chance in case of the grid's ViewInfo classes; it may be the most efficient way to understand how an object works. In turn, source code availability helps you work out a solution and accomplish your tasks faster and with fewer efforts. If you purchased the product without the source code, you can upgrade to the suite with the source code by contacting our Sales dept. at sales@devexpress.com.

不介意看E文吧?
 
我帮着提前一下,弄点分。。。
 
没问题,词汇量还是有一点的,加入新属性任何控件都可以加呀。
你的英文很好呀,佩服。不懂的请你解释来听。
 
英文还可以,现在也没其它用途,只能用来看看这些文章了
Feature解释成“属性”不恰当,或许解释成“加入自己新的特色”更好点吧

The Express Support Forum挺好的,不过就是那里解答的问题太少了。
 
DFW也为三分而折腰啊...[^]
 
DevExpress 的 DxGrid可以啊,很容易的,它有多个Band,每个Band里可显示多个子title
 
邓娟 可厉害,至少比山菜mm厉害,把论坛搞热闹啦,哈哈 [:D]
 
我建议你使用EH的DBGRIDEH来实现,实现起来非常的方便。
 
Eh简单容易用

[:X]
 
shaga,注意是三层以上呀,很容易你就把这1000分拿走吧,动手发个例子来试试??
 
EH打印和保存不如DX,
 
shaga,我等你这句话等了2个月了,快点回复呀!!!!!!
 
rainxy2002这位大虾,你那种做法不太明白呀,能不能再仔细看一下我的题目然后做个例子发给我吗?谢谢。
 
为了支持楼主,谁真能把楼主这个问题解决了(当然是使用TdxDBGrid或TcxDBGrid,别
的控件不算),我也送他100分。解决好请发送 chnplzh@163.com
 

Similar threads

S
回复
0
查看
3K
SUNSTONE的Delphi笔记
S
S
回复
0
查看
2K
SUNSTONE的Delphi笔记
S
D
回复
0
查看
885
DelphiTeacher的专栏
D
顶部