-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update UI for textboxes buttun (action stanrdard / menu)
- Loading branch information
1 parent
ef06d03
commit 5d49d6c
Showing
14 changed files
with
70 additions
and
32 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
2 changes: 1 addition & 1 deletion
2
Project/Sources/Forms/WP_Palette_Backgrounds/ObjectMethods/btn_insertTextArea.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,5 +1,5 @@ | ||
Case of | ||
: (Form event code:C388=On Alternative Click:K2:36) | ||
: (Form event code:C388=On Clicked:K2:4) | ||
MENU_Display("TextBox") | ||
|
||
End case |
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
5 changes: 0 additions & 5 deletions
5
Project/Sources/Forms/WP_Toolbar/ObjectMethods/btn_insertTextArea.4dm
This file was deleted.
Oops, something went wrong.
4 changes: 2 additions & 2 deletions
4
Project/Sources/Forms/WP_Toolbar/ObjectMethods/btn_insertTextArea1.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,6 +1,6 @@ | ||
Case of | ||
: (Form event code:C388=On Clicked:K2:4) | ||
|
||
: (Form event code:C388=On Alternative Click:K2:36) | ||
MENU_Display("TextBox") | ||
|
||
End case | ||
End case |
6 changes: 6 additions & 0 deletions
6
Project/Sources/Forms/WP_Toolbar/ObjectMethods/btn_insertTextArea2.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 |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Case of | ||
: (Form event code:C388=On Clicked:K2:4) | ||
|
||
MENU_Display("TextBox") | ||
|
||
End case |
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,21 @@ | ||
//%attributes = {} | ||
var $format; $action : Text | ||
var $result : Object | ||
|
||
ARRAY LONGINT:C221($_events; 0) | ||
$result:=Get action info:C1442("textBox/remove"; ak main form:K76:69) | ||
|
||
If ($result.enabled=True:C214) | ||
APPEND TO ARRAY:C911($_events; On Clicked:K2:4) | ||
$action:="" | ||
$format:=";;;;;;;;;;1;;" // 1 activates the popup triangle | ||
|
||
Else | ||
|
||
$action:="insertTextBox" | ||
$format:=";;;;;;;;;;0;;" //0 removes the popup triangle | ||
End if | ||
|
||
OBJECT SET ACTION:C1259(*; "btn_insertTextArea@"; $action) | ||
OBJECT SET EVENTS:C1239(*; "btn_insertTextArea@"; $_events; Enable events disable others:K42:37) // maybe none if standard action | ||
OBJECT SET FORMAT:C236(*; "btn_insertTextArea@"; $format) |
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
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