Download AreaList Pro User Manual - e-Node

Transcript
Table of contents
AL_GetCellRGBColor (areaRef:L; cellColumn:I; cellRow:L; cellForeRed:L; cellForeGreen:L; cellForeBlue:L;
cellBackRed:L; cellBackGreen:L; cellBackBlue:L)...................................................................................... 129
AL_SetCellSel (areaRef:L; firstCellCol:I; firstCellRow:L; lastCellCol:I; lastCellRow:L; cellArray:X)........ 129
AL_SetSort (areaRef:L; column1:I; …; columnN:I)................................................................................. 131
AL_SetCellValue (areaRef:L; row:L; column:I; alphaNumericData:S; pictData:P).................................. 132
AL_SetLine (areaRef:L; rowNumber:L)................................................................................................... 132
AL_SetSelect (areaRef:L; rowsToSelect:X)............................................................................................. 133
AL_SetScroll (areaRef:L; verticalScroll:L; horizontalScroll:I)................................................................... 134
AL_SetColLock (areaRef:L; columns:I)................................................................................................... 135
AL_SetHeight (areaRef:L; numHeaderLines:I; headerHeightPad:I; numRowLines:I; rowHeightPad:I;
numFooterLines:I; footerHeightPad:I).................................................................................................... 136
AL_SetMinRowHeight (areaRef:L; minRowHeight:L).............................................................................. 137
AL_SetPictureEscape (areaRef:L; escapeChar:S).................................................................................. 137
AL_GetPictureEscape (areaRef:L) ➞ escapeChar:S.............................................................................. 138
Using the Callback Methods
139
Summary.............................................................................................................................................. 139
Warnings.............................................................................................................................................. 140
Executing a Callback Upon Entering an Area...................................................................................... 140
Executing a Callback Upon Exiting an Area......................................................................................... 141
Using Callback Methods During Data Entry......................................................................................... 141
Executing a Callback Upon Entering a Cell............................................................................................ 141
Executing a Callback Upon Leaving a Cell............................................................................................ 142
Compatibility Note — New Menu Architecture...................................................................................... 145
Compatibility Note — AL ExitCell and AL Cell deselect action become AL ExitCell and AL Cell Validate....145
Event Callback Interface...................................................................................................................... 146
Edit Menu Callback.............................................................................................................................. 146
Calculated Column Callback................................................................................................................ 147
Commands............................................................................................................................................148
AL_SetMainCalls (areaRef:L; areaEnteredMethod:S; areaExitedMethod:S).......................................... 148
AL_SetCallbacks (areaRef:L; entryStartedMethod:S; entryFinishedMethod:S)..................................... 149
AL_SetEventCallback (areaRef:L; callbackMethod:S; flag:L) ➞ resultCode:L....................................... 151
AL_SetEditMenuCallback (areaRef:L; callbackMethod:S) ➞ resultCode:L............................................ 153
AL_SetCalcCall (areaRef:L; columnNumber:I; calcCallback:S).............................................................. 155
Field and Record Commands
156
Using the Field Display Capability........................................................................................................ 156
Temporary Arrays................................................................................................................................... 156
Arrays and Fields.................................................................................................................................... 156
Compatibility Note — Field Display and Callbacks.............................................................................. 157
Setting a Calculated Column............................................................................................................... 157
Setting the Callback Method.................................................................................................................. 158
Sorting.................................................................................................................................................... 158
8