| Previous Next | Contents |
Availability
This release required for Dyalog 10.0. It is available as a free update on the website. Further improvements will be available to CUSP subscribers as normal.
Updated Functions and Classes
Class.VCR sized down to 20×80 and redone as a recessed group. Looks less Win 3.1 retro as a result. Seems to have fixed an old problem with Show and Hide which is no-longer reproducible.
CPro.Menu when used to make a popup menu, or as the menu on a toolbutton, it did not show status-bar hints, as the menu object was localised inside the function and then DQed. Now the popup is made as a child of the current parent control, so if there is a statusfield around, it should pick up the hints from the popup. Example <cm files> in #.QA has a right-mouse menu on the hyperlink control.
Class.WB new webbrowser object as a very thin wrapper on the MS OCX control. Has a property Navigate which takes the file or URL to show, and reports a HINT event when the mouse is over something interesting. User can hyperlink as normal, so Navigate is updated when the page changes. Supports the obvious methods Back Forward Reload Stop as you would expect.
This also acts as an alternative chart preview tool, allowing preview in VML, SVG or PDF (all of which should display nicely in the browser).
Class.YN the blue tick finally gets a decent burial after meny years of devoted service. Now we just have a boring Win95 checkbox, which does mean that is shows focus correctly and responds as the punters expect to the Tab key and so on.
Class.CK adds a level property to allow indenting of the boxes within a single group. Adds a visual cue for the user, and ensures the children of unchecked options are greyed out. Does not uncheck child options when the parent is unchecked. The thinking is that the user can see that the child setting is now immaterial, but we should not throw it away
HSB,VSB splitters add an Active runtime property. This allows the application to turn them off temporarily, for example when doing a long-running computation.
Win.HTMHelp very basic support for CHM-style helpfiles. You can pass the filename that was compiled into the page (right-mouse properties on each page of the CHM will tell you this) or for HelpStuf users compile the file with context# used to make the filename and just pass the context number on the left as usual.
Assorted V10 any remaining 16bit calls flushed out. We were checking for NT in APLVersion which has been removed in V10, so there were a few places where it tried to use 16-bit calls. All fixed.
Class.RTF adds style property which allows some generic options like borderless and no 3D effect to get rid of the edges.
Class.LBJ adds a Select event which is queued before the jump is activated. If this rejects the event (¾0) having done whatever it did, nothing else happens, otherwise the link is followed anyway.
Designer when you edit a form Runtime Behaviour-table, you can only enter 24 rows. Even if you add rows, anything > 24 is discarded. Fixed.
Class.NOSE if you selected SaveAs and typed in the filename (but NOT the extension) the check for file exists failed to hit. See update to standard FileBox utility (below) which all applies here also. To have multiple file lists, nest the Specification property in the same way as for Fbx, e.g. (*.htm;*.html *.jpg)(Web pages Photos)
Win.Fbx now allows multiple file-type selections with the syntax:
Win.Fbx ('*.htm' '*.txt')('Web pages' 'Text files') 'c:\temp'
You must give all three arguments if you call it like this, although the directory may be null (see below). It will also now fill in the extension for you, e.g.
Win.Fbx ('*.htm;*.html' '*.txt')('Web pages' 'Text files') 'c:\temp'
If the first list of filetypes is chosen and the user types qwe then the result will be c:\temp\qwe.htm. If an extension is given (the user types qwe.rty) then the result is c:\temp\qwe.rty as you would hope. This is not quite the same as Notepad, which will append .txt unless the extension you have provided is a registered filetype.
If the directory is null, you now get My Documents instead of the working directory Windows standard behaviour from 95 onwards!
Win.Folder simple cover for the BrowseBox object (Dyalog 9 and higher).
'd:\' Win.Folder 'Looking for a folder',av[3],'to store your data in.'
The left argument is optional the search will open in My Documents if nothing is given here. Note that you can have multi-line messages.
Class.MRU is now case-insensitive, so if you open fred.htm and later on you open Fred.htm it simply ripples fred.htm to the top of the list, rather than adding another redundant copy of the same file.
Class.RGN some updates from Mike Baas to make it a little more solid when both the subform set and Topform are refreshed at the same time.
Class.YN adds ToolTip as a design-time property.