Skip to content

Commit

Permalink
bf
Browse files Browse the repository at this point in the history
  • Loading branch information
vdelachaux committed Aug 30, 2024
1 parent ca9d732 commit f9380d8
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 9 deletions.
2 changes: 1 addition & 1 deletion UI/Project/Sources/Classes/comboBox.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ Function expand() : cs:C1710.comboBox

var $o : Object

If (Bool:C1537(This:C1470.data.automaticExpand))
If (This:C1470.automaticExpand)

// Get the current widget window coordinates
$o:=This:C1470.windowCoordinates
Expand Down
2 changes: 1 addition & 1 deletion UI/Project/Sources/Classes/evt.4dm
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Class constructor($e : cs:C1710.evt)
Class constructor($e : Object)

// MARK:Common properties
This:C1470.objectName:=Null:C1517
Expand Down
17 changes: 10 additions & 7 deletions UI/Project/Sources/Classes/onBoard.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,18 @@ Function show($data : Object) : Text
// Show
OBJECT SET VISIBLE:C603(*; $widget; True:C214)

//& touch
GOTO OBJECT:C206(*; $widget)

return $widget

// === === === === === === === === === === === === === === === === === ===
// Hides widget
Function hide($widget : Text)

$widget:=$widget || This:C1470.name
OBJECT SET VISIBLE:C603(*; $widget; False:C215)

// === === === === === === === === === === === === === === === === === ===
Function close()

Expand All @@ -179,13 +189,6 @@ Function cancel()
Form:C1466.CANCELLED:=True:C214
CALL SUBFORM CONTAINER:C1086(-1)

// === === === === === === === === === === === === === === === === === ===
// Hides widget
Function hide($widget : Text)

$widget:=$widget || This:C1470.name
OBJECT SET VISIBLE:C603(*; $widget; False:C215)

// <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <==
// Returns the data of the widget on the current page
Function get data() : Object
Expand Down
3 changes: 3 additions & 0 deletions UI/Project/Sources/Classes/static.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,9 @@ Function setCoordinates($left; $top : Integer; $right : Integer; $bottom : Integ
// <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <== <==
Function get windowCoordinates() : Object


This:C1470.updateCoordinates()

var $bottom; $left; $right; $top : Integer

$left:=This:C1470._coordinates.left
Expand Down
6 changes: 6 additions & 0 deletions UI/Project/Sources/Classes/window.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -391,6 +391,12 @@ to be redrawn without any effect apparent for the user.
// === === === === === === === === === === === === === === === === === === === === === === === === === ===
Function bringToFront()

If (This:C1470.isFrontmost())

return

End if

var $bottom; $left; $right; $top : Integer

GET WINDOW RECT:C443($left; $top; $right; $bottom; This:C1470.ref)
Expand Down

0 comments on commit f9380d8

Please sign in to comment.