bingheyuren
09-03-2009, 05:13 PM
Hi,all..
I'm testing some thing with DevExpress.XtraGrid.GridControl and DevExpress.XtraGrid.Views.Layout.LayoutView
but, why any Columns cant show ?[actually, I want show some photos on the card.] I'm new .net student
you can get more info from there, http://www.devexpress.com/Help/?document=XtraGrid/CustomDocument3518.htm&levelup=true
dlls can download in this link
http://www.afeel3d.com/dlls.rar
and, thank you for any nice guy.
this is my test code:
DotNet.LoadAssembly @"c:\XLO.dll"
DotNet.LoadAssembly @"c:\XGD.dll"
----dotforgot download the dll
(
/*HForm*/
hForm = dotNetObject "MaxCustomControls.MaxForm"
hForm.Size = dotNetObject "System.Drawing.Size" 400 300
hForm.Text= "test"
/*FLP */
local FLP = dotnetobject "DevExpress.XtraGrid.GridControl"
FLP.dock =(dotNetclass"System.Windows.Forms.DockStyle").fill
/*LView*/
Lview = dotnetobject "DevExpress.XtraGrid.Views.Layout.LayoutView"
lView.CardMinSize = dotNetObject "System.Drawing.Size" 150 200
lView.optionsheaderpanel.showcustomizebutton=false
lView.OptionsBehavior.AutoPopulateColumns = false
FLP.MainView =Lview
lView.Columns.AddField("Photo")
Lview.GridControl = FLP
Lview.Name = "cardView1"
lView.Columns.Item["Photo"].Caption ="caption"
lView.Columns.Item["Photo"].AppearanceCell.BackColor =(DotNetClass "System.Drawing.Color").fromARGB 80 80 80
hform.Controls.Add(FLP)
hForm.ShowModeless()
)
I'm testing some thing with DevExpress.XtraGrid.GridControl and DevExpress.XtraGrid.Views.Layout.LayoutView
but, why any Columns cant show ?[actually, I want show some photos on the card.] I'm new .net student
you can get more info from there, http://www.devexpress.com/Help/?document=XtraGrid/CustomDocument3518.htm&levelup=true
dlls can download in this link
http://www.afeel3d.com/dlls.rar
and, thank you for any nice guy.
this is my test code:
DotNet.LoadAssembly @"c:\XLO.dll"
DotNet.LoadAssembly @"c:\XGD.dll"
----dotforgot download the dll
(
/*HForm*/
hForm = dotNetObject "MaxCustomControls.MaxForm"
hForm.Size = dotNetObject "System.Drawing.Size" 400 300
hForm.Text= "test"
/*FLP */
local FLP = dotnetobject "DevExpress.XtraGrid.GridControl"
FLP.dock =(dotNetclass"System.Windows.Forms.DockStyle").fill
/*LView*/
Lview = dotnetobject "DevExpress.XtraGrid.Views.Layout.LayoutView"
lView.CardMinSize = dotNetObject "System.Drawing.Size" 150 200
lView.optionsheaderpanel.showcustomizebutton=false
lView.OptionsBehavior.AutoPopulateColumns = false
FLP.MainView =Lview
lView.Columns.AddField("Photo")
Lview.GridControl = FLP
Lview.Name = "cardView1"
lView.Columns.Item["Photo"].Caption ="caption"
lView.Columns.Item["Photo"].AppearanceCell.BackColor =(DotNetClass "System.Drawing.Color").fromARGB 80 80 80
hform.Controls.Add(FLP)
hForm.ShowModeless()
)
