Previous Next Contents

Changes up to 1.4e at 20th December 1999

LV – ‘checked’ property should toggle on <spacebar> ... fixed. Also we now do the ‘full row select’ as a style on LV and TR and ‘gridlines’ on the LV. SetColWidths has a Œio workaround removed as the Dyalog behaviour is now OK.

CPro.ReadNow – Forces an immediate read for a control (simple arg) or for a specific property of a control. Typically on a text field with an accelerator, e.g. Ctrl+K to resolve names, which cannot see the data until the field gets a read event – which has not happened yet as the user has not tabbed out of the field. An action on Select

’ReadNow  'Text'

will get the data updated with the current field contents.

GV – uses button highlight colour rather than white for the bright side.

Disabling menu sections – to grey out an entire menu section use the section name (with the enclosing [...]) as the argument to CPro.Do ....

fm ’Do 'Disable' '[edit]'

... will grey the entire [edit] section. This is case-sensitive! This has always worked, but has not been documented!

Class.DT.cal_ts – moving window fix disabled part of the up-front validation and allowed 25/12/19999 to get to where it crashed the code. Now reverts to previous behaviour and reports invalid date here!

Designer – custom classes can now set up their own mouse handlers to replace the standard menu offered by the Designer or the standard locator behaviour.

See the UserTemplate.Template class for an example function MyPopup. A possible use for this would be a ‘chart’ object where you wanted your own menus on ‘hot’ areas like headings, but the designer gets to put up the normal menu when you hit the chart background.

The function MyMove shows how you can modify the normal locator behaviour.

Designer – crashed if you entered a 1-char variable name in the ‘data’ box and tabbed to the dependency field. I hate scalars! Fixed.

CK/RB – reverted to the last ‘refreshed’ state when disabled or enabled. Fixed.

Menus with no accelerators broke CPro.Menu. A consequence of the August 99 changes which log all accelerators used in the application. Fixed.

================ Released to Web as 1.4c ================

CPro.AddProperties – belt&braces addition of a comma on [45] as a scalar entry in the dependency list breaks it otherwise. This should never happen, but the user might modify the dialogue manually and not know to ravel it!

#.CPro.RunAccel – removed! Was put in to work around a bug in Dyalog’s OCX handling which is now fixed. Considered dangerous and better killed now than later on. Other Accelerator-related calls are still useful and will continue to be supported.

ACDS 17th Dec 1999



Continue to: Changes up to 1.4 at 10th October 1999
© Copyright Causeway Graphical Systems Ltd 2000