View Single Post
  #25 (permalink)  
Old 04-08-2008, 12:32 PM
agraham's Avatar
agraham agraham is offline
Basic4ppc Expert
 
Join Date: Jul 2007
Location: Cheshire, UK
Posts: 1,368
Awards Showcase
Forum Contributer 
Total Awards: 1
Default

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.
Attached Files
File Type: sbp ControlInfo.sbp (4.6 KB, 32 views)

Last edited by agraham : 04-08-2008 at 02:07 PM.
Reply With Quote