View Single Post
  #21 (permalink)  
Old 04-04-2008, 06:20 PM
berndgoedecke berndgoedecke is offline
Knows the basics
 
Join Date: Dec 2007
Posts: 69
Awards Showcase
Beta Tester 
Total Awards: 1
Default How to initialize the DataGrid with Door?

Hello Erol,
What I need at first is an answer to the question in the title.
I try to show the table only with a horizontal ScrollBar, similar to the example from agrahm:
Horizontal Scroll Bars

AddTable ("TabGrid", "TG", 0, 0, FW, FH-(12*Hs))
TOb.New1(True)
TOb.FromControl("TG")
TOb.SetProperty("ScrollBars","Horizontal")
TabGrid.show

The line, TOb.SetProperty("ScrollBars","Horizontal") results in an error like
Objectreference is not fixed in an objectintance (translated from german).
I think, this error is in context with the last line of your object dicription:
System_NS, System_Data, System_Drawing, System_Windows_Forms, System_Windows_Forms_Datagrid - Returns the fully qualified named (do you mean names?(d-key next s-key)) of these assemblies. System_Windows_Forms_Datagrid will only be set if at least one of the objects was initialized with New1(true).
If so, it would be nice to know how to use.

In the future I want to use features to reorder columns, to get the row height and to autosize columns, rows or cells, if this is possible.

Best regards

berndgoedecke
Reply With Quote