Skip to content

Commit

Permalink
Remoe Application.Args: i-nex.gambas --show
Browse files Browse the repository at this point in the history
Add if Args invalid then show window text: Invalid arguments!!
  • Loading branch information
eloaders committed Feb 8, 2012
1 parent f4db404 commit c07c53f
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 3 deletions.
4 changes: 4 additions & 0 deletions src/i-nex/.lang/.pot
Original file line number Diff line number Diff line change
Expand Up @@ -601,3 +601,7 @@ msgstr ""
#: ScreenShot.form:75
msgid "Picture quality:"
msgstr ""

#: Start_App_Args.form:19
msgid "Invalid Arguments!!"
msgstr ""
4 changes: 4 additions & 0 deletions src/i-nex/.lang/Start_App_Args.pot
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ msgstr ""
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"

#: Start_App_Args.form:19
msgid "Invalid Arguments!!"
msgstr ""

2 changes: 1 addition & 1 deletion src/i-nex/.src/Start_App_Args.class
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@ Public Sub Form_Open()
Print "Usage: " & Application.name & ".gambas [Options]"
Print "Options:"
Print "--help (Chow Help)"
Print "--show (Show Main dialog)"
Print "--about (Show About dialog)"
Print "--gen_report (Show Report dialog)"
Print ""
Expand All @@ -29,6 +28,7 @@ Public Sub Form_Open()
If Application.Args[1] = "devel" Then
root()
Endif
Me.Center
End

Public Sub root()
Expand Down
13 changes: 11 additions & 2 deletions src/i-nex/.src/Start_App_Args.form
Original file line number Diff line number Diff line change
@@ -1,8 +1,17 @@
# Gambas Form File 3.0

{ Form Form
MoveScaled(0,0,71,37)
Move(0,0,228,66)
#Scaled = False
Resizable = False
{ TextArea1 TextArea
MoveScaled(0,0,71,37)
Move(210,84,60,102)
Border = False
}
{ TextLabel1 TextLabel
Move(0,0,228,66)
Font = Font["Bold,11"]
Text = ("Invalid Arguments!!")
Alignment = Align.Center
}
}

0 comments on commit c07c53f

Please sign in to comment.