-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
try to catch escape key when cell is in editing mode
- Loading branch information
1 parent
9cc1699
commit 06a8e67
Showing
20 changed files
with
309 additions
and
236 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
//GOTO OBJECT(*; "myQR") | ||
//GOTO OBJECT(*; "") | ||
|
||
//SET TIMER(-1) | ||
|
||
//EXECUTE METHOD IN SUBFORM("myQR"; "do_goto_object"; *; "nqr") | ||
|
||
//report_AFTER_EDIT | ||
|
||
//var $cell : Pointer | ||
|
||
//$cell:=OBJECT Get pointer(Object with focus) | ||
//$name:=OBJECT Get name(Object with focus) | ||
|
||
//FORM GET OBJECTS($_ob; $_var; $_page; Form current page) | ||
|
||
|
||
//OBJECT SET ENTERABLE($cell->; False) | ||
//ob_area.cellEdition:=False |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 10 additions & 8 deletions
18
Project/Sources/Forms/NQR_TOOLBAR_GRAPHIC/ObjectMethods/templates.4dm
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
C_LONGINT:C283($Lon_bottom;$Lon_height;$Lon_left;$Lon_right;$Lon_top) | ||
|
||
CALL FORM:C1391(Current form window:C827;"NQR_TOOLBAR";"tool.templates") | ||
|
||
If (OBJECT Get visible:C1075(*;"tool.selected")) | ||
var $left; $top; $right; $bottom; $height : Integer | ||
|
||
CALL FORM:C1391(Current form window:C827; "NQR_TOOLBAR"; "tool.templates") | ||
|
||
If (OBJECT Get visible:C1075(*; "tool.selected")) | ||
|
||
OBJECT SET VISIBLE:C603(*;"tool.selected";False:C215) | ||
OBJECT SET VISIBLE:C603(*; "tool.selected"; False:C215) | ||
|
||
Else | ||
|
||
OBJECT GET COORDINATES:C663(*;OBJECT Get name:C1087(Object current:K67:2);$Lon_left;$Lon_top;$Lon_right;$Lon_bottom) | ||
$Lon_height:=$Lon_bottom-$Lon_top | ||
OBJECT GET COORDINATES:C663(*; OBJECT Get name:C1087(Object current:K67:2); $left; $top; $right; $bottom) | ||
$height:=$bottom-$top | ||
|
||
OBJECT SET COORDINATES:C1248(*;"tool.selected";$Lon_left-3;$Lon_top-5;$Lon_right+3;$Lon_bottom) | ||
OBJECT SET COORDINATES:C1248(*; "tool.selected"; $left-3; $top-5; $right+3; $bottom) | ||
|
||
OBJECT SET VISIBLE:C603(*;"tool.selected";True:C214) | ||
OBJECT SET VISIBLE:C603(*; "tool.selected"; True:C214) | ||
|
||
End if |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.