Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Roland-Lannuzel committed Mar 19, 2024
0 parents commit 59d10c4
Show file tree
Hide file tree
Showing 90 changed files with 3,080 additions and 0 deletions.
39 changes: 39 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Auto detect text files and perform LF normalization
* text=auto

# ====================================================================
# The above will handle all files NOT found below
# ====================================================================

# These files are text and should be normalized (Convert crlf => lf)
#.gitattributes text linguist-language=gitattributes
#.gitignore text
*.md text
*.ini text
*.xlf linguist-language=xml diff=xml

# SVG treated as text.
# If you want to treat it as binary,comment the next line.
*.svg text diff=xml

# Source files
*.4DProject text linguist-language=4d diff=json
*.4DCatalog text linguist-language=4d diff=xml
*.4DSettings text linguist-language=4d diff=xml
*.4DForm text linguist-language=4d diff=json
*.4dm text linguist-language=4d
*.4lbp text linguist-language=4d diff=xml
*.4df text linguist-language=4d diff=json

# ====================================================================
# Binary
# ====================================================================
*.4DZ binary linguist-language=4d
*.4DD binary linguist-language=4d
*.4DIndy binary linguist-language=4d
*.Match binary linguist-language=4d
*.4DIndx binary linguist-language=4d
*.4[dD][bB] binary linguist-language=4d
*.[dD][aA][tT][aA] binary linguist-language=4d
*.4lb binary linguist-language=4d
*.4qr binary linguist-language=4d
47 changes: 47 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
#--------------------------------
# Ignore invisible files/folders
#--------------------------------
.*
!.git*
.git/
.DS_Store

#--------------------------------
# Ignore data file
#--------------------------------
#[dD][aA][tT][aA]/
*.journal
*.4DIndx
*.Match

#--------------------------------
# Ignore derived data
#--------------------------------
Project/DerivedData/

#--------------------------------
# Ignore logs
#--------------------------------
Logs/
Libraries/

#--------------------------------
# Ignore settings & preferences
#--------------------------------
userPreferences.*/
Settings/
#!buildApp.4DSettings

#--------------------------------
# Miscellaneous
#--------------------------------
*__Orphan__*
*symbols.txt
ehthumbs.db
Thumbs.db

#--------------------------------
# Added by user
#--------------------------------
Resources/php.ini
Project/Trash/
Binary file added Data/HowDoI.4DD
Binary file not shown.
Binary file added Data/export.docx
Binary file not shown.
1 change: 1 addition & 0 deletions Data/export.html

Large diffs are not rendered by default.

Binary file added Data/export.pdf
Binary file not shown.
3 changes: 3 additions & 0 deletions Project/HDI_4DWP_TablesWithEmptyDataSources.4DProject
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"$comment": "The project file let you override the location for most folders"
}
1 change: 1 addition & 0 deletions Project/Sources/DatabaseMethods/onStartup.4dm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
00_Start
27 changes: 27 additions & 0 deletions Project/Sources/Forms/FAT/ObjectMethods/Button.4dm
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@

$nbRows:=1200
$nbCols:=120
$WParea:=WP New:C1317
$table:=WP Insert table:C1473($WParea; wk append:K81:179; wk exclude from range:K81:181; $nbCols; $nbRows)


$range:=WP Table get columns:C1476($table; 120; 1)
WP SET ATTRIBUTES:C1342($range; wk width:K81:45; "40px")
WP GET ATTRIBUTES:C1345($range; wk width:K81:45; $width)


$range:=WP Table get rows:C1475($table; 1200; 1)
WP SET ATTRIBUTES:C1342($range; wk width:K81:45; "25px")
WP GET ATTRIBUTES:C1345($range; wk width:K81:45; $height)


$cell:=WP Table get cells:C1477($table; $nbCols; $nbRows; 1; 1)
WP SET TEXT:C1574($cell; "Alpha"; wk replace:K81:177)



$text:=WP Get text:C1575($cell)
$text:=Substring:C12($text; 1; Length:C16($text)-1) // remove the \r at the end



1 change: 1 addition & 0 deletions Project/Sources/Forms/FAT/ObjectMethods/WParea.4dm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
WP UpdateWidget ("WPtoolbar";"WParea")
101 changes: 101 additions & 0 deletions Project/Sources/Forms/FAT/form.4DForm
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
{
"$4d": {
"version": "1",
"kind": "form"
},
"windowSizingX": "variable",
"windowSizingY": "variable",
"windowMinWidth": 0,
"windowMinHeight": 0,
"windowMaxWidth": 32767,
"windowMaxHeight": 32767,
"rightMargin": 20,
"bottomMargin": 20,
"events": [
"onLoad",
"onPageChange",
"onValidate",
"onClick",
"onDoubleClick",
"onOutsideCall",
"onBeginDragOver",
"onDragOver",
"onDrop",
"onAfterKeystroke",
"onMenuSelect",
"onPluginArea",
"onAfterEdit",
"onTimer",
"onBoundVariableChange"
],
"windowTitle": "window title",
"destination": "detailScreen",
"pages": [
{
"objects": {}
},
{
"objects": {
"WParea": {
"type": "write",
"top": 90,
"left": 0,
"width": 880,
"height": 590,
"sizingX": "grow",
"sizingY": "grow",
"dataSource": "WParea",
"hideFocusRing": true,
"scrollbarVertical": "automatic",
"scrollbarHorizontal": "automatic",
"dpi": 0,
"borderStyle": "none",
"method": "ObjectMethods/WParea.4dm",
"events": [
"onLoad",
"onLosingFocus",
"onGettingFocus",
"onSelectionChange",
"onAfterEdit"
]
},
"WPtoolbar": {
"type": "subform",
"top": 0,
"left": 0,
"width": 880,
"height": 90,
"sizingX": "grow",
"detailForm": "WP_Toolbar",
"focusable": false,
"deletableInList": false,
"doubleClickInRowAction": "editSubrecord",
"doubleClickInEmptyAreaAction": "addSubrecord",
"selectionMode": "multiple",
"printFrame": "variable"
},
"Button": {
"type": "button",
"text": "Button",
"top": 90,
"left": 929,
"width": 130,
"height": 25,
"events": [
"onClick"
],
"method": "ObjectMethods/Button.4dm",
"sizingX": "move"
}
}
}
],
"geometryStamp": 6,
"editor": {
"activeView": "View 1",
"defaultView": "View 1",
"views": {
"View 1": {}
}
}
}
Binary file added Project/Sources/Forms/HDI/Images/Picture11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Project/Sources/Forms/HDI/Images/White90.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions Project/Sources/Forms/HDI/ObjectMethods/txtBlog.4dm
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
OPEN URL:C673(Form:C1466.blog)
Loading

0 comments on commit 59d10c4

Please sign in to comment.