PlanetSquires Forums

Please login or register.

Login with username, password and session length
Advanced search  

Author Topic: WinFormsX on GitHub  (Read 1136 times)

Paul Squires

  • Administrator
  • Master Member
  • *****
  • Posts: 8613
  • Windows 10
    • PlanetSquires Software
WinFormsX on GitHub
« on: February 04, 2018, 08:27:12 PM »

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

« Last Edit: February 17, 2018, 02:10:18 PM by Paul Squires »
Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor

Paul Squires

  • Administrator
  • Master Member
  • *****
  • Posts: 8613
  • Windows 10
    • PlanetSquires Software
Re: WinFormsX on GitHub
« Reply #1 on: February 05, 2018, 06:50:22 PM »

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.
Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor

Paul Squires

  • Administrator
  • Master Member
  • *****
  • Posts: 8613
  • Windows 10
    • PlanetSquires Software
Re: WinFormsX on GitHub
« Reply #2 on: February 06, 2018, 10:12:42 PM »

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.

Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor

Paul Squires

  • Administrator
  • Master Member
  • *****
  • Posts: 8613
  • Windows 10
    • PlanetSquires Software
Re: WinFormsX on GitHub
« Reply #3 on: February 07, 2018, 08:28:18 PM »

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

Code: [Select]
   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)
Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor

Paul Squires

  • Administrator
  • Master Member
  • *****
  • Posts: 8613
  • Windows 10
    • PlanetSquires Software
Re: WinFormsX on GitHub
« Reply #4 on: February 10, 2018, 08:21:54 PM »

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

Paul Squires

  • Administrator
  • Master Member
  • *****
  • Posts: 8613
  • Windows 10
    • PlanetSquires Software
Re: WinFormsX on GitHub
« Reply #5 on: February 10, 2018, 10:52:48 PM »

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

Changed Background and Foreground, to BackColor and ForeColor.

Updated all pdfs.
Logged
Paul Squires
PlanetSquires Software
FireFly Visual Designer, WinFBE Editor

Paul Squires

  • Administrator
  • Master Member
  • *****
  • Posts: 8613
  • Windows 10
    • PlanetSquires Software
Re: WinFormsX on GitHub
« Reply #6 on: February 17, 2018, 02:11:08 PM »

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