IonicWind Software

IWBasic => IWB+ => Topic started by: LarryMc on September 01, 2013, 09:56:11 AM

Title: Feature Requests / Bug Reports
Post by: LarryMc on September 01, 2013, 09:56:11 AM
Need to fix warning message concerning handler definition
Title: Re: Feature Requests / Bug Reports
Post by: RitchieF on September 01, 2013, 10:41:27 AM
Hi Larry,

I have a feature wish :

either an adjustable grid with snapping which could help positiong of controls with out having to look at the numeric values

or

putting a colored rectangle around all controls at design time, whether they are selected or not to support positioning.

Or perhaps both

Thanks,

Richard

EDIT: Both wishes are done and will be in next release
Title: Re: Feature Requests / Bug Reports
Post by: LarryMc on September 01, 2013, 03:54:36 PM
thanks Richard
I will look into both when I go back to revisit IWB+.
Title: Re: Feature Requests / Bug Reports
Post by: RitchieF on September 02, 2013, 12:34:21 AM
Please have a look at the Auto Indent routines ot the code editor, too.

Doesn't work here.

Thanks

Richard

EDIT: Auto Indent and AutoComplete are done and will be in next release
Title: Re: Feature Requests / Bug Reports
Post by: LarryMc on September 02, 2013, 08:29:53 AM
Quote from: RitchieF on September 02, 2013, 12:34:21 AM
Please have a look at the Auto Indent routines ot the code editor, too.

Doesn't work here.

Thanks

Richard
That will be fixed (I have it working in IWB2.5)
Thanks for the feedback
Title: Re: Feature Requests / Bug Reports
Post by: LarryMc on September 02, 2013, 09:09:05 PM
Quote from: RitchieF on September 01, 2013, 10:41:27 AM
Hi Larry,
I have a feature wish :
either an adjustable grid with snapping which could help positiong of controls with out having to look at the numeric values
Richard
I'll make the grid an option so those who don't want controls to snap to the grid alignment don't have to use it.
Also, people who want to use it will have different ideas about how big the grid dimensions will be so that value will have to be an option

Leads to a question:
Should only the upper left corner snap to a grid coordinate and the height/width of the control stay the same or should the lower right corner also snap to grid?

I'd say only the upper left and let the width/height stay what the user has set to the default preference and/or what the user has set them to.

Need ya'lls opinion.
Title: Re: Feature Requests / Bug Reports
Post by: RitchieF on September 03, 2013, 01:35:18 AM
QuoteI'd say only the upper left and let the width/height stay what the user has set to the default preference and/or what the user has set them to.

In my opinion this would be okay

Richard
Title: Re: Feature Requests / Bug Reports
Post by: LarryMc on September 05, 2013, 01:07:28 AM
All previous wishes prior to this date and posted in this thread are done and will be in the next release

The release will be made as soon as the documents are updated.
Title: Re: Feature Requests / Bug Reports
Post by: RitchieF on September 21, 2013, 12:40:00 PM
Hi Larry,

what about a menu entry and button to open the IWBasic help file ?

Thanks

Richard
Title: Re: Feature Requests / Bug Reports
Post by: LarryMc on September 21, 2013, 02:07:01 PM
Quote from: RitchieF on September 21, 2013, 12:40:00 PM
Hi Larry,

what about a menu entry and button to open the IWBasic help file ?

Thanks

Richard
Somebody  (I don't know who ::)) needs to read the IWB+ Help File (or at least look at
the IWB+ main menu Editors/Help Menu and Editors/Tools Menu.)

Maybe reading the features list here (http://www.ionicwind.com/forums/index.php?topic=4626.msg36180#msg36180)
will provide insight. :o :o

;D ;D Sorry, I know I'm being tacky but I just couldn't resist!!  :D ;D :D ;D :D ;D
Today I've been married 46 years and I've been full of it all day.
Title: Re: Feature Requests / Bug Reports
Post by: Bill-Bo on September 21, 2013, 09:39:29 PM
LarryMc,

Congratulations on such a long, and hopefully, happy marriage.
Kinda wish I could say the same. Been at it five times in 66 years.

May you have 46 more.

Bill

P.S. Thanks for 1.04
Title: Re: Feature Requests / Bug Reports
Post by: RitchieF on September 22, 2013, 01:48:36 AM
Hi Larry,

congratulations on such a long, and hopefully, happy marriage from me, too.

Won't reach this coz I married too late >:(

QuoteSomebody needs to read the IWBasic Help File

Richard
Title: Re: Feature Requests / Bug Reports
Post by: Bruce Peaslee on September 22, 2013, 09:12:03 AM
She must be a saint. Way to go!
Title: Re: Feature Requests / Bug Reports
Post by: LarryMc on September 22, 2013, 09:43:40 AM
Quote from: peaslee on September 22, 2013, 09:12:03 AM
She must be a saint. Way to go!
Absolutely she is!
Title: Re: Feature Requests / Bug Reports
Post by: LarryMc on September 22, 2013, 09:44:55 AM
Quote from: Bill-Bo on September 21, 2013, 09:39:29 PM
LarryMc,

Congratulations on such a long, and hopefully, happy marriage.
Kinda wish I could say the same. Been at it five times in 66 years.

May you have 46 more.

Bill

P.S. Thanks for 1.04
Her and I both are in our 2nd marriage.
Title: Re: Feature Requests / Bug Reports
Post by: LarryMc on September 24, 2013, 09:13:14 AM
RitchieF has reported a bug that causes IWB+ to crash.
I've duplicated the problem and as soon as I get it fixed I will be releasing a new version.
Title: Re: Feature Requests / Bug Reports
Post by: RitchieF on September 24, 2013, 09:20:39 PM
Thanks for V1.05 !

Works fine here

Richard
Title: Re: Feature Requests / Bug Reports
Post by: GWS on September 25, 2013, 02:29:59 AM
Larry,

Love your avatar - a very distinguished gentleman ..  :)

I've put mine up for a while - I think I prefer Pooh Bear  ::)

Best wishes, :)

Graham
Title: Re: Feature Requests / Bug Reports
Post by: LarryMc on September 25, 2013, 03:12:35 AM
I think you need to leave your picture up, instead of pooh bear.
Title: Re: Feature Requests / Bug Reports
Post by: RitchieF on October 02, 2013, 01:08:29 PM
If I select from the menu 'Save Project as' or from the toolbar 'Copy Current Project' IWB+ loads the project again using the new name of the project.
But in the Code Editor the listbox shows now some  *.IWB files with the first 3 characters of the filename missing so you can't load them again.

Please have a look

Richard
Title: Re: Feature Requests / Bug Reports
Post by: LarryMc on October 02, 2013, 01:09:59 PM
Quote from: RitchieF on October 02, 2013, 01:08:29 PM
If I select from the menu 'Save Project as' or from the toolbar 'Copy Current Project' IWB+ loads the project again using the new name of the project.
But in the Code Editor the listbox shows now some  *.IWB files with the first 3 characters of the filename missing so you can't load them again.

Please have a look

Richard
will do
thanks for the feedback
Title: Re: Feature Requests / Bug Reports
Post by: Brian on October 03, 2013, 09:31:46 AM
Larry,
I was attempting to create a dialog window last night, and when I pressed the "Test" button,
it showed my dialog as a full window, with no borders, and no titlebar. Is this normal behaviour?
Brian
Title: Re: Feature Requests / Bug Reports
Post by: LarryMc on October 03, 2013, 09:40:27 AM
Quote from: Brian Pugh on October 03, 2013, 09:31:46 AM
Larry,
I was attempting to create a dialog window last night, and when I pressed the "Test" button,
it showed my dialog as a full window, with no borders, and no titlebar. Is this normal behaviour?
Brian

Depends..
What boxes, if any, did you have checked in the properties dialog?
Title: Re: Feature Requests / Bug Reports
Post by: RitchieF on October 03, 2013, 09:55:48 AM
Larry,

clicking the - sign in front of SUB to fold the code folds the code but complete from here to the end of the code.

Is this correct ?

Richard

Title: Re: Feature Requests / Bug Reports
Post by: LarryMc on October 03, 2013, 10:06:45 AM
Quote from: RitchieF on October 03, 2013, 09:55:48 AM
Larry,

clicking the - sign in front of SUB to fold the code folds the code but complete from here to the end of the code.

Is this correct ?

Richard


folding is controlled by iwb+SciLexer.dll
it is written in c; I don't know c or have a c compiler.
added it to my list of things to do to see if I can make the dll that comes with IWBasic work
thanks for the feedback

UPDATE: After a quick check it appears doable but will be a major programming effort so it won't happen anytime soon.
Title: Re: Feature Requests / Bug Reports
Post by: RitchieF on October 03, 2013, 11:59:44 AM
No need to hurry!
Just noticed it and wanted to tell you .

Richard
Title: Re: Feature Requests / Bug Reports
Post by: Brian on October 03, 2013, 12:23:16 PM
Larry,

Had bother replicating it again, but it appears to be when you have Border selected
in the Properties box

Brian
Title: Re: Feature Requests / Bug Reports
Post by: LarryMc on October 03, 2013, 01:25:39 PM
Quote from: Brian Pugh on October 03, 2013, 09:31:46 AM
Larry,
I was attempting to create a dialog window last night, and when I pressed the "Test" button,
it showed my dialog as a full window, with no borders, and no titlebar. Is this normal behaviour?
Brian

If you don't have Titlebar box checked you won't have a title bar.
Title: Re: Feature Requests / Bug Reports
Post by: RitchieF on October 05, 2013, 05:04:11 AM
QuoteChanges/Additions:
--------------------------
Fixed
· Code Folding, in the Code Editor window, was not working properly.

Thanks Larry

Richard
Title: Re: Feature Requests / Bug Reports
Post by: LarryMc on October 07, 2013, 03:35:59 PM
Appears I left a console window open on the last release.  It being there and being open won't hurt anything.
I'll check closer on the next release.
Title: Re: Feature Requests / Bug Reports
Post by: Techno on June 18, 2015, 02:22:52 AM
Hi Larry

1) Can you please more properties for each control like in visual basic properties window.
2) Add for each event an predefined framework for ScrollBar, TrackBar, EditControl, ButtonControl
3) Can you please this controls in the toolbox:

a) Common DialogControls

- ColorDialog
- FontDialog
- SaveFileDialog
- OpenFileDialog
- MessageDialog
- PrinterDialog
- PrintPreviewDialog
- etc

b) Common Controls

https://msdn.microsoft.com/en-us/library/windows/desktop/bb773169(v=vs.85).aspx

- Animation Control
- ComboBox Control
- Header Control
- HotKey Control
- Timer Control
- ImageList Control
- IP Address Control
- Pager Control
- ProgressBar Control
- PropertySheet Control
- Rebar Control
- SysLink Control
- TaskDialog
- ToolBar Control
- Tooltip Control

c) Custom Controls

- Canvas Control
- Image Control
- Picture Control
- Media Control
- Grid Control
- TCP / UDP Control
- Inet Control
- SerialPort Control

I like your Visual Designer and want to see this features in the next release

Thanks
Kind regards
Stephane
Title: Re: Feature Requests / Bug Reports
Post by: Rock Ridge Farm (Larry) on June 18, 2015, 08:15:25 AM
got the list.

I am hip deep in re-writing the parser in iwb right now.
Can still only sit at the puter about an hour before pain drives me away.


Larry
Title: Re: Feature Requests / Bug Reports
Post by: LarryMc on June 18, 2015, 01:41:45 PM
Quote from: Techno on June 18, 2015, 02:22:52 AM
1) Can you please more properties for each control like in visual basic properties window.
I don't own visual basic; I don't look at visual basic; therefore I have no idea what you are talking about.

Quote from: Techno on June 18, 2015, 02:22:52 AM
2) Add for each event an predefined framework for ScrollBar, TrackBar, EditControl, ButtonControl
Give me the exact code you would like to see for each of the above four controls.

Quote from: Techno on June 18, 2015, 02:22:52 AM
3) Can you please this controls in the toolbox:

a) Common DialogControls

- ColorDialog
- FontDialog
- SaveFileDialog
- OpenFileDialog
- MessageDialog
- PrinterDialog
- PrintPreviewDialog
- etc
First there is no "toolbox" so I assume you mean the "Control ToolBar"
Second, there are no such things as Dialog controls.  Dialogs are are opened via a button or a menu option. For me to try to nest their location on a form would cause a nightmare.  Not going to happen.

Quote from: Techno on June 18, 2015, 02:22:52 AM
b) Common Controls

https://msdn.microsoft.com/en-us/library/windows/desktop/bb773169(v=vs.85).aspx

- Animation Control
- ComboBox Control
- Header Control
- HotKey Control
- Timer Control
- ImageList Control
- IP Address Control
- Pager Control
- ProgressBar Control
- PropertySheet Control
- Rebar Control
- SysLink Control
- TaskDialog
- ToolBar Control
- Tooltip Control
ComboBox and ProgressBar Controls are already in the "Control ToolBar"
The ToolBar Control is handled via the Toolbar Editor and the Form Editor's Property box.
Note: Many of these controls have been added to IWB3.x's Form Editor

Quote from: Techno on June 18, 2015, 02:22:52 AM
c) Custom Controls

- Canvas Control
- Image Control
- Picture Control
- Media Control
- Grid Control
- TCP / UDP Control
- Inet Control
- SerialPort Control
Most of the these specific custom controls will never be added.  However, I may add a generic "custom control" (as I did in IWB3.x) to allow a place holder so that the user may insert their specific code for a custom control.
Title: Re: Feature Requests / Bug Reports
Post by: Techno on June 19, 2015, 01:26:05 AM
Larry

Look at the examples of this designers : FireFlySDK Visual Designer or the Poenix Visual Designer.
You can implements all the messages of the controls and window as "properties" and all the notification messages as "events"
Is is not possibly the rewritten the designer in the OOP concept?
You can also the macro's by some controls as properties

Example from the scrollbar:

https://msdn.microsoft.com/en-us/library/windows/desktop/ff486027(v=vs.85).aspx

Scroll Bar Messages --> implement this as properties
In This Section

SBM_ENABLE_ARROWS
SBM_GETPOS
SBM_GETRANGE
SBM_GETSCROLLBARINFO
SBM_GETSCROLLINFO
SBM_SETPOS
SBM_SETRANGE
SBM_SETRANGEREDRAW
SBM_SETSCROLLINFO

Scroll Bar Structures --> Properties
In This Section

SCROLLBARINFO
SCROLLINFO

Scroll Bar Notifications --> events
In This Section

WM_CTLCOLORSCROLLBAR
WM_HSCROLL
WM_VSCROLL

https://msdn.microsoft.com/en-us/library/windows/desktop/bb787575(v=vs.85).aspx

Scroll Bar Constants
In This Section

Scroll Bar Control Styles

Kind regards
Stephane




Title: Re: Feature Requests / Bug Reports
Post by: Brian on June 19, 2015, 02:07:53 AM
Well, I can see 15 scrollbar constants already in the help file index

Search for anything starting with @SB...

Brian
Title: Re: Feature Requests / Bug Reports
Post by: Techno on June 19, 2015, 02:37:54 AM
Quote from: Brian Pugh on June 19, 2015, 02:07:53 AM
Well, I can see 15 scrollbar constants already in the help file index

Search for anything starting with @SB...

Brian

for the messages (properties)
==================

@SBM_ENABLE_ARROWS
@SBM_GETPOS
@SBM_GETRANGE
@SBM_GETSCROLLBARINFO
@SBM_GETSCROLLINFO
@SBM_SETPOS
@SBM_SETRANGE
@SBM_SETRANGEREDRAW
@SBM_SETSCROLLINFO


We have the common windows styles and the specifiek control styles.
Each control have specifiek constant styles linked with the common windows styles

Title: Re: Feature Requests / Bug Reports
Post by: LarryMc on June 19, 2015, 02:54:59 AM
Quote from: Techno on June 19, 2015, 01:26:05 AM
Look at the examples of this designers : FireFlySDK Visual Designer or the Poenix Visual Designer.
You can implements all the messages of the controls and window as "properties" and all the notification messages as "events"
Is is not possibly the rewritten the designer in the OOP concept?
You can also the macro's by some controls as properties
Techno,  you're really pissin' me off now.
It is obvious that you haven't read the Help file that comes with IWB+.
It's also obvious that you have merely skimmed over the operation of IWB+ and for some reason think it should look and act just like  Visual Basic or these two Power Basic Visual Designer you now want me to look at as examples and copy.
I banned you from here for over a year because you wanted the people at PowerBasic to copy things from IWB+ and now you are wanting me to copy things from these two programs.  Not smart on your part.  When I get through explaining what you have missed by not reading the help file and exploring IWB+ a little more I'm banning you again from posting.

1st, I am aware that not all controls listed in the windows SDK are not included in the Control Toolbar.
2nd, you said I needed to implement messages and structures as properties and constants and windows notifications.
And you said it like I hadn't done it.
As an example create a form and drag a RichEdit control on to it.
We'll look at constants first.
click on the RE control to make sure that it is selected.
over in the Property Window right-click in the edit control to the right of Style
Select Styles from the popup menu
The Style Management dialog opens with a total of 15 flags with 3 being used.
Those 3 will appear in the CONTROL statement for the RE control.
Close the dialog
While the RE is selected, right-click on the RE itself
Select Manage Handlers from the popup menu
The Manage Handlers dialog opens
In this case you are given 10 event handlers to pick from or you can add your own
The one(s) you want to use you just move over to the right side and then close the dialog.
I picked 3 and it automatically created these 3 handlers for them
SUB OnKillFocus_createdb_dlg_RICHEDIT1(),INT
'TODO: write handler code
RETURN FALSE
ENDSUB

SUB OnChange_createdb_dlg_RICHEDIT1(),INT
'TODO: write handler code
RETURN FALSE
ENDSUB

SUB OnSetFocus_createdb_dlg_RICHEDIT1(),INT
'TODO: write handler code
RETURN FALSE
ENDSUB


As far as structures; since I wouldn't know where to automatically place the code in a program I don't handle structures.

So you see, what you are trying to tell me how to do and to copy from others I am already doing.
Title: Re: Feature Requests / Bug Reports
Post by: Techno on June 19, 2015, 03:08:54 AM
Quote from: LarryMc on June 19, 2015, 02:54:59 AM
Quote from: Techno on June 19, 2015, 01:26:05 AM
Look at the examples of this designers : FireFlySDK Visual Designer or the Poenix Visual Designer.
You can implements all the messages of the controls and window as "properties" and all the notification messages as "events"
Is is not possibly the rewritten the designer in the OOP concept?
You can also the macro's by some controls as properties
Techno,  you're really pissin' me off now.
It is obvious that you haven't read the Help file that comes with IWB+.
It's also obvious that you have merely skimmed over the operation of IWB+ and for some reason think it should look and act just like  Visual Basic or these two Power Basic Visual Designer you now want me to look at as examples and copy.
I banned you from here for over a year because you wanted the people at PowerBasic to copy things from IWB+ and now you are wanting me to copy things from these two programs.  Not smart on your part.  When I get through explaining what you have missed by not reading the help file and exploring IWB+ a little more I'm banning you again from posting.

1st, I am aware that not all controls listed in the windows SDK are not included in the Control Toolbar.
2nd, you said I needed to implement messages and structures as properties and constants and windows notifications.
And you said it like I hadn't done it.
As an example create a form and drag a RichEdit control on to it.
We'll look at constants first.
click on the RE control to make sure that it is selected.
over in the Property Window right-click in the edit control to the right of Style
Select Styles from the popup menu
The Style Management dialog opens with a total of 15 flags with 3 being used.
Those 3 will appear in the CONTROL statement for the RE control.
Close the dialog
While the RE is selected, right-click on the RE itself
Select Manage Handlers from the popup menu
The Manage Handlers dialog opens
In this case you are given 10 event handlers to pick from or you can add your own
The one(s) you want to use you just move over to the right side and then close the dialog.
I picked 3 and it automatically created these 3 handlers for them
SUB OnKillFocus_createdb_dlg_RICHEDIT1(),INT
'TODO: write handler code
RETURN FALSE
ENDSUB

SUB OnChange_createdb_dlg_RICHEDIT1(),INT
'TODO: write handler code
RETURN FALSE
ENDSUB

SUB OnSetFocus_createdb_dlg_RICHEDIT1(),INT
'TODO: write handler code
RETURN FALSE
ENDSUB


As far as structures; since I wouldn't know where to automatically place the code in a program I don't handle structures.

So you see, what you are trying to tell me how to do and to copy from others I am already doing.


Okay

I give it a try Larry!
Is it not useful an kind for framworks for the events  for the scrollBar and TrackBar? and set the properties at design time for each control it's easier for the developer and RAPID the window application faster
I hate VisualBasic and does not used it

Kind regards
Stephane