Enhanced IDE v0.21.0 released
- Posted by Judith Evans <camping at ccewb.net> Jun 30, 2006
- 611 views
I'm pleased to announce a new Enhanced IDE version 0.21.0 on Recent Contribution Page. Following is a list of new features and fixes: - Removed prior error message from Code Editor's status bar when MenuRun and there is no error. - Added 'Tools' Menu to Code Editor with 'Show Color Palette" MenuItem. This allows you to open a tool window that has 64 colors and the System colors. At the bottom you can double-click and add your own colors from the getColorDialog. As you left click a color or double-click to add a color the numerical value of that color shows in the titlebar. This might be useful when writing code in code editor. - Added colorization for ProgressBar and it's bar. - Improved the way emulated Group and ScrollBar controls are drawn. - Improved the way CWindow is drawn. Sometimes when Style Type is {...} the CWindow disappeared from Design unless actually clicked. Now it will be drawn with a dotted black outline. - Added Left, Center and Right options for caption of PushButton, ToggleButton, DefPushButton and CancelButton. - When changing Caption, Caption Side, Font Name, Font Points, Font Attibutes or move position of LabelEdit control and the control is in a parent, the caption will be checked that it is still within bounds of the LabelEdit's parent, if it has one. - Changing CheckBox to TriCheckBox changes the background of the checkmark to a light gray in Design. - StatusBar may be added to CWindow. StatusBar may be moved to Window or CWindow as long as they do not already have a StatusBar. - Improved ToolBar, FlatToolBar and ReBar on CWindow: drawing in Design correctly when CWindow did and did not have Titlebar and when moving to and from Window1. - Change of rule when adding StatusBar to project. StatusBar must be dropped onto Window or CWindow control and not any other controls. - When backing up project before save, you can be shown the SaveAs dialog. In the event you want to use the default projectname.bak then simply press the Save button. If you want to skip the backup, simply press the Cancel button in the dialog. If you do not want a backup at all, uncheck this option. If you want the backup but never want to rename or skip the backup before save then check Configurations "Re-use backup filename" next to "Backup Before Save." This will suppress showing the SaveAs dialog. The initial default state is checked when "Backup Before Save" is checked. - Added a new backup option in Configurations for "Backup project after MenuRun if no errors" which backs up the project after MenuRun (F5) if (1) it had been previously Saved and (2) did not ex.err or crash file. The new backup is named projectname.AfterSave.bak unless you override with another filename. If you want to use the default projectname.AfterSave.bak simply press Save button. If you want to skip the backup, press Cancel button in the dialog. If you never want to rename or skip the backup then check Configurations "Re-use backup filename" next to this option which will suppress showing the SaveAs dialog. The initial default state is unchecked. - Introducing XPMmer internal to IDE. This allows you to design your icons for Picture Button, Toggle Picture buttons, and Bitmap controls, store them in your project file and have them placed automatically on the control in the exw. See documentation within XPMmer. - Good news for those of you who bind Standalone Editor.exw. No longer does Editor automatically require the latest IDE.cfg file. If there are no new entries in Configurations for IDE which affect Editor, your previous bound version runs. However, if new entries affect Editor, you will get a error message when starting the prevously bound Editor and you will need to rebind. - IDE now correctly minimizes during MenuRun and restores when the generated exw is closed. If user has indicated in Configurations not to minimize during MenuRun then IDE will stay on the desktop. - The generated exw or ew will have a variable TheProgramType which may be tested within the program to determine if the program is an 'exw' or 'ew' which would be useful if your project can generate either or both types of generated programs. - Properties 'Color' and 'System Color' had minor bugs. If you used the color dialog in Color and selected Black color, the dialog correctly returned zero. However in IDE zero color means BTNFACE. Now when selecting Black, -2 will be placed in Color. Selecting a System Color that is Black had a similar bug and fix. Also System Color was not saved correctly and when reloading the project corrupted coloring, often resulting in BTNFACE. Since these bugs happen when writing the project, I can not automatically correct for you. If you were affected by this bug, change your Color or System Color, re-save the project and reload. - Color is no longer an expandable Property. System Color now shows below Color (for Window class) and a new item, "User Color" has been added. "User Color" is not selectable and only a reference item. When showing, it means you used "Color" manually or by the color dialog. - More than 10 digits in Color is ignored. - In Design do not allow Window class use arrow keys without Shift or Control because moving Window is not allowed, only resizing. - If you entered Property "Text Color" for EditText but did not enter "Color" the generated exw did not change the text color. It now does. - CWindow with StatusBar caused problems in keying Property "Color" for Window1. This has been fixed. - There were reported problems with Code Editor showing the statement of an ex.err. The routines have been reworked. - There were reported problems that adding changes or new data to Window1_General event and pressing F5 does not save the change but closing Code Editor and then pressing F5 does. I've changed the F5/F6 routines to use a similar method. - Added variables for Hint Font, Hint Text and Font. You must declare the variable and set its value within your project.A couple of points to remember. When using variable in FontName and/or FontPts, IDE can not draw your control in Design using the font and can not warn you if you LabelEdit control's caption exceeds the LabelEdit parent. To get access to the variables check Property "Open Vars" under Font and HintFont. All the variables should be entered in a Code Editor event with integer values except for Font Name, Hint Font Name and Hint Text. When using variables in Font and Hint Font attributes, the variable is an integer with values Bold, Italic, Underline or Strikeout. Do not combine the attributes in a single variable. - Reported cases where ToolBar was not full width of parent have been fixed. - Fixed resizing CWindow with ToolBar and ToolBar controls, where the ToolBar controls moved to the top of the Window instead of staying in CWindow ToolBar. - Fixed problems redrawing ReBar/ReBarBand after changes to ReBarBand. - Fixed problems with Colors in EuGrid that were defaulted to BTNFACE value. If all the digits were removed it became zero instead of back to BTNFACE value. - Hint Font is now working. - Fixed bug in stand alone editor which sometimes crashed "find" processing. NOTE: If you have bound editor.exw you should rebind. - You may now view and edit data you have added to IDE in any external editor which is able to read params. Under Menu 'Launch' select 'Pass controls and routines to editor of your choice'. Your passed data is saved in IDE's folder under the name IDEPassFile.exw for the external editor to read. Remember if you edit the file, IDE will not know anything about your changes! IDEPassFile.exw is deleted when IDE closes. If you want to keep the file once in external editor please SaveAs another file name. The external editor is entered in Configurations with the default being Editor.exw if you do not enter anything. Enjoy, judith evans