![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Official Updates Updates to official libraries could be found here. This forum is only available to licensed users. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
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 |
|
||||
|
As you can see in the MSDN documentation, the DataGrid doesn't include a ScrollBar property.
|
|
||||
|
As an example of the power of this library (and of .NET) I have created this example application which can "look inside" controls (this is called reflection in .NET-speak) and show the properties, events and methods they support.
Enter the type of a control (it is case-sensitive so "TextBox" not "Textbox") in the textbox and press Enter. Select the type of members to display and click on items in the list box for information about it. Events will show the type of EventHandler they use which should be one of those listed by Erel in the first post if they are to be used by this library. Some B4PPC control names are not the same as their .NET names. A B4PPC Image is PictureBox, Menu is MenuItem, NumUpDown is NumericUpDown, RadioBtn is RadioButton, Table is DataGrid. Calendar and ImageButton are custom controls based on the Control type. Last edited by agraham : 04-08-2008 at 02:07 PM. |
|
|||
|
Hello Agraham,
if I use your program with DataGrid on the Device the error Message: "Please enter a valid .NET control name" apears. Framework2.0 is installed and programs , using Tablecontrol are working. How could it be ? Is there an Framwork SP missing? Best Regards berndgoedecke |
|
||||
|
I now realise the significance of the System_Windows_Forms_Datagrid property of the Door library. On the desktop DataGrid lives in the System_Windows_Forms assembly, on the device it lives in the System_Windows_Forms_Datagrid assembly.
![]() A crudely modified version of ControlInfo is attached which will show you DataGrid on the device. More elegantly it now shows all the signatures for overloaded mathods. ![]() |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Merging Outlook library and Phone library | Erel | Official Updates | 2 | 07-14-2008 03:38 PM |
| load textfile with special characters (äöü) | bob | Questions & Help Needed | 2 | 11-19-2007 01:24 PM |
| New serial library - beta version | Erel | Announcements | 13 | 08-02-2007 12:24 PM |
| Special Folders on PC | BPak | Questions & Help Needed | 2 | 06-01-2007 09:53 PM |