@@ -8229,8 +8229,8 @@ METHOD pEditbox( i ) CLASS TFormEditor
8229
8229
8230
8230
LOCAL aBackColor, aFontColor, cCargo, cField, cFocusedPos, cFontName, cHelpID, cInsertType, cMaxLength, cObj, cOnChange
8231
8231
LOCAL cOnGotFocus, cOnHScroll, cOnLostFocus, cOnVScroll, cParent, cSubClass, cToolTip, cVal, cValue, lBold, lBreak, lEnabled
8232
- LOCAL lItalic, lNoBorder, lNoHScroll, lNoTabStop, lNoVScroll, lReadonly, lRTL, lStrikeout, lUnderline, lUndo, lVisible, nCol
8233
- LOCAL nFontSize, nHeight, nRow, nWidth, oCtrl, uFontName, uFontSize
8232
+ LOCAL lItalic, lNoBorder, lNoContext, lNoHScroll, lNoTabStop, lNoVScroll, lReadonly, lRTL, lStrikeout, lUnderline, lUndo
8233
+ LOCAL lVisible, nCol, nFontSize, nHeight, nRow, nWidth, oCtrl, uFontName, uFontSize
8234
8234
8235
8235
/* Load properties */
8236
8236
nRow := Val( ::ReadCtrlRow( i ) )
@@ -8296,6 +8296,7 @@ METHOD pEditbox( i ) CLASS TFormEditor
8296
8296
lUndo := ( ::ReadLogicalData( i, "UNDO", "F" ) == "T" )
8297
8297
cParent := ::ReadStringData( i, "PARENT", "" )
8298
8298
cParent := ::ReadStringData( i, "OF", cParent )
8299
+ lNoContext := ( ::ReadLogicalData( i, "NOCONTEXTMENU", "F" ) == "T" )
8299
8300
cCargo := ::ReadCargo( i, "LASTFORM.LASTCONTROL.CARGO" )
8300
8301
8301
8302
/* Save properties */
@@ -8335,6 +8336,7 @@ METHOD pEditbox( i ) CLASS TFormEditor
8335
8336
::aBreak[i] := lBreak
8336
8337
::aParent[i] := cParent
8337
8338
::aUndo[i] := lUndo
8339
+ ::aNoContext[i] := lNoContext
8338
8340
::aCargo[i] := cCargo
8339
8341
8340
8342
/* Create control */
@@ -10810,8 +10812,9 @@ METHOD pSlider( i ) CLASS TFormEditor
10810
10812
METHOD pSpinner( i ) CLASS TFormEditor
10811
10813
10812
10814
LOCAL aBackColor, aFontColor, cCargo, cCue, cFontName, cHelpId, cIncrement, cObj, cOnChange, cOnGotfocus, cOnLostfocus, cParent
10813
- LOCAL cRange, cSubClass, cToolTip, cVal, cValue, lBold, lBoundText, lEnabled, lItalic, lNoBorder, lNoTabStop, lReadOnly, lRTL
10814
- LOCAL lStrikeout, lUnderline, lVisible, lWrap, nCol,nFontSize, nHeight, nRow, nWidth, oCtrl, uFontName, uFontSize
10815
+ LOCAL cRange, cSubClass, cToolTip, cVal, cValue, lBold, lBoundText, lEnabled, lItalic, lNoBorder, lNoContext, lNoTabStop
10816
+ LOCAL lReadOnly, lRTL, lStrikeout, lUnderline, lVisible, lWrap, nCol,nFontSize, nHeight, nRow, nWidth, oCtrl, uFontName
10817
+ LOCAL uFontSize
10815
10818
10816
10819
/* Load properties */
10817
10820
nRow := Val( ::ReadCtrlRow( i ) )
@@ -10871,6 +10874,7 @@ METHOD pSpinner( i ) CLASS TFormEditor
10871
10874
cParent := ::ReadStringData( i, "OF", cParent )
10872
10875
cCue := ::ReadStringData( i, "CUEBANNER", "" )
10873
10876
cCue := ::ReadStringData( i, "PLACEHOLDER", cCue )
10877
+ lNoContext := ( ::ReadLogicalData( i, "NOCONTEXTMENU", "F" ) == "T" )
10874
10878
cCargo := ::ReadCargo( i, "LASTFORM.LASTCONTROL.CARGO" )
10875
10879
10876
10880
/* Save properties */
@@ -10905,6 +10909,7 @@ METHOD pSpinner( i ) CLASS TFormEditor
10905
10909
::aSubClass[i] := cSubClass
10906
10910
::aCue[i] := cCue
10907
10911
::aParent[i] := cParent
10912
+ ::aNoContext[i] := lNoContext
10908
10913
::aCargo[i] := cCargo
10909
10914
10910
10915
/* Create control */
@@ -14308,6 +14313,9 @@ METHOD MakeControls( j, Output, nRow, nCol, nWidth, nHeight, nSpacing, nLevel )
14308
14313
IF ::aBreak[j]
14309
14314
Output += " ;" + CRLF + Space( nSpacing * ( nLevel + 1 ) ) + "BREAK"
14310
14315
ENDIF
14316
+ IF ::aNoContext[j]
14317
+ Output += " ;" + CRLF + Space( nSpacing * ( nLevel + 1 ) ) + "NOCONTEXTMENU"
14318
+ ENDIF
14311
14319
IF NOTEMPTY( ::aCargo[j] )
14312
14320
Output += CRLF + CRLF + Space( nSpacing * nLevel ) + "LastForm.LastControl.Cargo := " + AllTrim( ::aCargo[j] )
14313
14321
ENDIF
@@ -16373,14 +16381,17 @@ METHOD MakeControls( j, Output, nRow, nCol, nWidth, nHeight, nSpacing, nLevel )
16373
16381
Output += " ;" + CRLF + Space( nSpacing * ( nLevel + 1 ) ) + "DISABLED"
16374
16382
ENDIF
16375
16383
IF ::aBoundText[j]
16376
- Output += " ;" + CRLF + Space( nSpacing * ( nLevel + 1 ) ) + "BOUNDTEXT"
16384
+ Output += " ;" + CRLF + Space( nSpacing * ( nLevel + 1 ) ) + "BOUNDTEXT"
16377
16385
ENDIF
16378
16386
IF NOTEMPTY( ::aSubClass[j] )
16379
16387
Output += " ;" + CRLF + Space( nSpacing * ( nLevel + 1 ) ) + "SUBCLASS " + AllTrim( ::aSubClass[j] )
16380
16388
ENDIF
16381
16389
IF NOTEMPTY( ::aCue[j] )
16382
16390
Output += " ;" + CRLF + Space( nSpacing * ( nLevel + 1 ) ) + "CUEBANNER " + AllTrim( ::aCue[j] )
16383
16391
ENDIF
16392
+ IF ::aNoContext[j]
16393
+ Output += " ;" + CRLF + Space( nSpacing * ( nLevel + 1 ) ) + "NOCONTEXTMENU"
16394
+ ENDIF
16384
16395
IF NOTEMPTY( ::aCargo[j] )
16385
16396
Output += CRLF + CRLF + Space( nSpacing * nLevel ) + "LastForm.LastControl.Cargo := " + AllTrim( ::aCargo[j] )
16386
16397
ENDIF
@@ -18261,6 +18272,7 @@ METHOD PropertiesClick() CLASS TFormEditor
18261
18272
{ "Invisible", ::aInvisible[j], .F. }, ;
18262
18273
{ "MaxLength", ::aMaxLength[j], 1000 }, ;
18263
18274
{ "NoBorder", ::aNoBorder[j], .F. }, ;
18275
+ { "NoContextMenu", ::aNoContext[j], .F. }, ;
18264
18276
{ "NoHScroll", ::aNoHScroll[j], .F. }, ;
18265
18277
{ "NoTabStop", ::aNoTabStop[j], .F. }, ;
18266
18278
{ "NoVScroll", ::aNoVScroll[j], .F. }, ;
@@ -18294,6 +18306,7 @@ METHOD PropertiesClick() CLASS TFormEditor
18294
18306
::aInvisible[j] := aResults[ ++k ]
18295
18307
::aMaxLength[j] := aResults[ ++k ]
18296
18308
::aNoBorder[j] := aResults[ ++k ]
18309
+ ::aNoContext[j] := aResults[ ++k ]
18297
18310
::aNoHScroll[j] := aResults[ ++k ]
18298
18311
::aNoTabStop[j] := aResults[ ++k ]
18299
18312
::aNoVScroll[j] := aResults[ ++k ]
@@ -19475,6 +19488,7 @@ METHOD PropertiesClick() CLASS TFormEditor
19475
19488
{ "Increment", ::aIncrement[j], 1000 }, ;
19476
19489
{ "Invisible", ::aInvisible[j], .F. }, ;
19477
19490
{ "NoBorder", ::aNoBorder[j],, .F. }, ;
19491
+ { "NoContextMenu", ::aNoContext[j], .F. }, ;
19478
19492
{ "NoTabStop", ::aNoTabStop[j], .F. }, ;
19479
19493
{ "Parent", ::aParent[j], 1000 }, ;
19480
19494
{ "Range", ::aRange[j], 1000 }, ;
@@ -19505,6 +19519,7 @@ METHOD PropertiesClick() CLASS TFormEditor
19505
19519
::aIncrement[j] := aResults[ ++k ]
19506
19520
::aInvisible[j] := aResults[ ++k ]
19507
19521
::aNoBorder[j] := aResults[ ++k ]
19522
+ ::aNoContext[j] := aResults[ ++k ]
19508
19523
::aNoTabStop[j] := aResults[ ++k ]
19509
19524
::aParent[j] := aResults[ ++k ]
19510
19525
::aRange[j] := aResults[ ++k ]
0 commit comments