• Welcome to PlanetSquires Forums.
 

WinFormsX on GitHub

Started by Paul Squires, February 04, 2018, 08:27:12 PM

Previous topic - Next topic

Paul Squires

Similar to WinFBE, I will be saving all source code for this WinFormsX project to GitHub.

The code is located here:  https://github.com/PaulSquires/WinFormsX

It is still early stages for the code so don't be disappointed if you decide to try it out and features are missing. The goal is for this code to be outputted by the visual designer within WinFBE so as you can imagine this is a pretty ambitious project but essential to the final integrated IDE.

For all of you early adopters, if you would like to work with me to offer help and suggestions then that is appreciated as well.

Current status:
- Forms
- Labels
- Buttons
- TextBox
- CheckBox
- StatusBar
- ListBox

Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Paul Squires

Updated Labels and Form code. Fixed some subclassing issues and implemented MouseEnter, MouseHover, MouseLeave.

Next up: Fonts class. Need an easy way to create and set an retrieve fonts to and from controls using Jose's underlying font code from CWindow.

Next up up: Image class. Likewise, a good method for associating images to controls and forms that is intuitive to the user while still making it easy to retrieve from resource file, etc.
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Paul Squires

Decided to work on a wfxButton class prior to working on the Font and Image classes because I wanted to work with a control that had the TabStop property. Code updated in GitHub.

Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Paul Squires

Fixed the StatusBar so that "Panels" and "Panel()" have separate meanings.


   with this.StatusBar
      .Parent = @this
      .SizingGrip = false
      ' Add 3 statusbar panels
      for i as long = 0 to 2
         .Panels.Add
      NEXT
      .Panel(0).Text = "Panel1"
      .Panel(0).Width = 120
      .Panel(1).Text = "Panel2"
      .Panel(1).Width = 200
      .Panel(2).Text = "Panel3"
      .Panel(2).AutoSize = StatusBarPanelAutoSize.Spring
   END WITH   
   this.Controls.add(controltype.StatusBar, @this.StatusBar)

Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Paul Squires

Added initial code for TextBox control and documentation pdf.
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Paul Squires

Added CheckBox control (note that you can not set ForeColot for CheckBoxes)

Changed Background and Foreground, to BackColor and ForeColor.

Updated all pdfs.
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer

Paul Squires

Added the ListBox control, example code, and documentation.
Paul Squires
PlanetSquires Software
WinFBE Editor and Visual Designer