| Previous Next | Contents |
CPro.Execute new function to execute any expression in the locale of a form. Allows asynchronous running of functions which need to refer to locals on a form.
For example (assume vv is local to the form on which bb is a button) ...
bb CPro.Execute 'vv¼120' +bb CPro.Execute '+/vv' © result is shy 7260
CPro.ExecuteNR as above but does not return a result. Use this to run non-result-returning expressions.
CPro.ExecExpr called by the above. Also used to run parsed menu expressions.
CPro.MenuHandler changed to run the above
CPro.AddMenu simplified and speeded up by using the above.
CPro.Do now looks for grouped names in the parent control, not the locale.
SF adds Set method as for generic ST (StatusBar) class.
Uploaded to Web site as 1.1f 11th Feb
SUB should have the same GotFocus behaviour as a form, otherwise tabbing around a form with several regions loses one tab in visiting the subform. Adds the same handler as is on the FM (see Class.StartFocus).
FM,TSF onFocus handler now calls Class.StartFocus as above.
AFT preserves text on a change to the droplist.
ACDS 16th Feb 1998
AN adds Wrapping property (default 1) to allow horizontal scrolling of long lines (wrapping=0).
AFT back to the early prototype which makes the droplist by hand when the user requests it. Otherwise we must set up the Items in advance which can really slow the Refresh for a big reference list. The grid-child remains as a dropedit-combo as there is no way of making an edit-btn pair in a grid cell.
AFN new class. Numeric variant of the above for lookup in integer lists. Works best with lists where all the numbers have the same n digits.
TAB adds the other possible alignments (Bottom looks good).
Web upload as 1.1g ACDS 24th Feb 1998
Class.FM.Sleep calls new function CPro.DeQueueState to check if the form is dequeued only kills the DQ if so. New element in ctl structure records this. Updated by CPro.DeQueue if valid.
GDP 24th Feb 1998
Designer now generates help contexts from the 1st 3 chars of the class tag. Help file changed to CPRO.HLP as they might still want Causeway shareware.
PB tooltip added (designtime only)
AFT/AFN dropdown was positioned incorrectly if the object was on a subform.
SF/AN Disable/Enable fixed (Active not supported on SF)
FM SetIcon makes the icon as a child of the form so it is destroyed correctly.
HSEP/VSEP/PL Disable/Enable fixed (Active not supported on RECT)
ACDS 3rd March 1998
PS new Where function to report posn/size in Pixels. Also Refresh fixed the pagenumber property did not work.
FM PC moved from Refresh to first Show as it never happened if there were no runtime properties on the form.
CH failed if no chart specification provided fixed! styletab centre-aligned text added as a label style
CPro.Append allows extra controls to be added on the fly to an existing parent. Common code with Make mostly collected into subfns.
Designer ensures pasted controls stay within target form (Designer.Build). Also adds Drill buttons to propwatcher for strings and stringlist types. Quit now to exits correctly even if there are open CueCards!
ACDS 14th March 1998
TR Checked property added to enable multiselect. Icons defined by Initialise in Class.TR from icon definitions saved in the class.
TSF requires its own Enable/Disable as you cannot disable a font!
Designer now supports properties of type colour with the Windows color dialogue. EAT grid backed down to text fields. See KnownBugs for the reason. Hooks to help file included on the main dialogues. Save and SaveAs added use Ctrl+S and Ctrl+A or you can ShiftClick/CtrlClick the End button.
FM Show now checks result of Class.StartFocus and queues to itself if no fields are available. Allows the same function to be used in the TSF and in the SUB.
NOSE Dirty New Nose problem fixed. Also adds two new methods to allow the application to specify the confirmation prompts.
MRU allows change to inifile section name. Also defaults other data correctly and does not crash if nothing is given.
AC/TL Accelerator property (design-time) added.
VC greys out buttons selectively when the index is at the start or end of the allowed range.
ACDS 21st March 1998 (special birthday edition)
Designer ParseSpec puts executed default property values in extra column and the designer is tolerant of both the old and the new wider property matrix.
Designer.Build checks styletab to get the right font for the form in design mode.
GDP 24th March 1998
Copied to internet as 1.2 (for the ParseSpec change)