Skip to content

Commit

Permalink
Merge pull request #2 from vdelachaux/1-error-if-a-non-existing-metho…
Browse files Browse the repository at this point in the history
…dclass-is-entered

bf listbox.select
  • Loading branch information
vdelachaux authored Sep 3, 2024
2 parents 1a4e333 + 972cb29 commit fbe7c3a
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 15 deletions.
Binary file modified Build/Components/4DPop QuickOpen.4dbase/4DPop QuickOpen.4DZ
Binary file not shown.
8 changes: 4 additions & 4 deletions Build/Components/4DPop QuickOpen.4dbase/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
<key>NSHumanReadableCopyright</key>
<string>©vdl 2021-2024</string>
<key>CFBundleVersion</key>
<string>87</string>
<string>88</string>
<key>CFBundleDisplayName</key>
<string>4DPop QuickOpen</string>
<key>CFBundleShortVersionString</key>
<string>20R6</string>
<string>20R7</string>
<key>CFBundleGetInfoString</key>
<string>20R6</string>
<string>20R7</string>
<key>CFBundleLongVersionString</key>
<string>20R6 (86)</string>
<string>20R7 (87)</string>
<key>CFBundleName</key>
<string>4DPop QuickOpen</string>
</dict>
Expand Down
Binary file not shown.
Binary file not shown.
8 changes: 4 additions & 4 deletions Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
<key>NSHumanReadableCopyright</key>
<string>©vdl 2021-2024</string>
<key>CFBundleVersion</key>
<string>87</string>
<string>88</string>
<key>CFBundleDisplayName</key>
<string>4DPop QuickOpen</string>
<key>CFBundleShortVersionString</key>
<string>20R6</string>
<string>20R7</string>
<key>CFBundleGetInfoString</key>
<string>20R6</string>
<string>20R7</string>
<key>CFBundleLongVersionString</key>
<string>20R6 (86)</string>
<string>20R7 (87)</string>
<key>CFBundleName</key>
<string>4DPop QuickOpen</string>
</dict>
Expand Down
2 changes: 1 addition & 1 deletion Project/4DPop QuickOpen.4DProject
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$comment": "The project file serves as an anchor to locate other project files",
"compatibilityVersion": 1860,
"$4DPopAppMakerToolVersion": "20R6"
"$4DPopAppMakerToolVersion": "20R7"
}
2 changes: 0 additions & 2 deletions Project/Sources/Classes/coord.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ property left; top; right; bottom : Integer

Class constructor($left; $top : Integer; $right : Integer; $bottom : Integer)

This:C1470.name:=Null:C1517

Case of

//______________________________________________________
Expand Down
19 changes: 16 additions & 3 deletions Project/Sources/Classes/listbox.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -689,9 +689,22 @@ Function select($row : Integer) : cs:C1710.listbox
// Update selection
If (This:C1470.isCollection() || This:C1470.isEntitySelection())

This:C1470.item:=This:C1470.getValue()[$row-1]
This:C1470.itemPosition:=$row-1
This:C1470.items:=[This:C1470.item]
var $c : Collection
$c:=This:C1470.getValue()

If ($c.length>=$row)

This:C1470.item:=$c[$row-1]
This:C1470.itemPosition:=$row-1
This:C1470.items:=[This:C1470.item]

Else

This:C1470.item:=Null:C1517
This:C1470.itemPosition:=0
This:C1470.items:=[]

End if

Else

Expand Down
1 change: 0 additions & 1 deletion Project/Sources/Classes/menu.4dm
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ Class constructor($def)

This:C1470.__CLASS__:=OB Class:C1730(This:C1470)

This:C1470.ref:=Null:C1517
This:C1470.autoRelease:=True:C214
This:C1470.released:=False:C215
This:C1470.localize:=True:C214
Expand Down
Binary file modified Resources/InfoPlist.strings
Binary file not shown.

0 comments on commit fbe7c3a

Please sign in to comment.