diff --git a/comp/src/gb.web.form/.hidden/control/webmenubar.png b/comp/src/gb.web.form/.hidden/control/webmenubar.png new file mode 100644 index 000000000..9302fbda0 Binary files /dev/null and b/comp/src/gb.web.form/.hidden/control/webmenubar.png differ diff --git a/comp/src/gb.web.form/.info b/comp/src/gb.web.form/.info index 07a03b5b2..2d26d45aa 100644 --- a/comp/src/gb.web.form/.info +++ b/comp/src/gb.web.form/.info @@ -732,6 +732,10 @@ _GetUpdateJS m s (sEvent)s(sProp)s[(sGetValue)s(sMore)s] +_GetUpdateWaitJS +m +s +(sEvent)s(sProp)s[(sGetValue)s(sMore)s] _UpdateProperty m @@ -1370,6 +1374,25 @@ _UpdateProperty m (sProp)s(vValue)v +#WebMenuBar +WebContainer +C +_Properties +C +s +"*,-Arrangement" +_DefaultArrangement +C +s +"H" +_Similar +C +s +"WebContainer" +_new +m + + #WebMenuItem WebControl C diff --git a/comp/src/gb.web.form/.list b/comp/src/gb.web.form/.list index 32781b054..ac87a52d0 100644 --- a/comp/src/gb.web.form/.list +++ b/comp/src/gb.web.form/.list @@ -20,6 +20,7 @@ WebHtml! WebImage! WebLabel! WebMenu! +WebMenuBar! WebMenuItem! WebProgressBar! WebRadioButton! diff --git a/comp/src/gb.web.form/.project b/comp/src/gb.web.form/.project index 860062f9d..4c0303c3c 100644 --- a/comp/src/gb.web.form/.project +++ b/comp/src/gb.web.form/.project @@ -1,6 +1,6 @@ # Gambas Project File 3.0 # Compiled with Gambas 3.9.90 -Startup=FTestWebUploader +Startup=Webform2 UseHttpServer=1 Version=3.9.90 VersionFile=1 diff --git a/comp/src/gb.web.form/.src/Test/Webform2.class b/comp/src/gb.web.form/.src/Test/Webform2.class index 191be05de..b347bdae4 100644 --- a/comp/src/gb.web.form/.src/Test/Webform2.class +++ b/comp/src/gb.web.form/.src/Test/Webform2.class @@ -10,7 +10,7 @@ End Public Sub WebButton1_Click() - WebTabPanel1.Index = 1 - WebTabPanel1.Index + WebTabPanel1.Index = 1 End @@ -129,7 +129,7 @@ End Public Sub WebForm_Message(Source As WebControl, Action As String) - Debug "Action '"; Action; "' on '"; Source.Name; "'" + 'Debug "Action '"; Action; "' on '"; Source.Name; "'" End diff --git a/comp/src/gb.web.form/.src/Test/Webform2.webform b/comp/src/gb.web.form/.src/Test/Webform2.webform index b250448ca..96afb2712 100644 --- a/comp/src/gb.web.form/.src/Test/Webform2.webform +++ b/comp/src/gb.web.form/.src/Test/Webform2.webform @@ -5,15 +5,11 @@ Height = "100%" Arrangement = Arrange.Vertical Title = ("This is webform2") - { WebSeparator8 WebSeparator - #MoveScaled(1,1,136,3) - Height = "1px" - } - { WebHBox1 WebHBox - #MoveScaled(1,4,136,17) + { WebMenuBar1 WebMenuBar + #MoveScaled(1,1,136,48) Spacing = True { WebMenu3 WebMenu - #MoveScaled(1,1,32,15) + #MoveScaled(1,1,32,46) Text = ("File") { WebMenuItem7 WebMenuItem #MoveScaled(1,1,30,4) @@ -66,7 +62,7 @@ } } { WebMenu1 WebMenu - #MoveScaled(34,1,30,15) + #MoveScaled(34,1,30,46) Text = ("Project") { WebMenuItem2 WebMenuItem #MoveScaled(1,1,28,4) @@ -97,10 +93,9 @@ } } { WebContainer1 WebHBox - #MoveScaled(1,21,136,6) + #MoveScaled(1,49,136,6) { WebButton1 WebButton #MoveScaled(1,1,13,4) - Border = False Text = ("A button") } { WebButton2 WebButton @@ -132,7 +127,7 @@ } } { WebContainer9 WebContainer - #MoveScaled(1,27,136,88) + #MoveScaled(1,55,136,88) Expand = True Arrangement = Arrange.Vertical Margin = True diff --git a/comp/src/gb.web.form/.src/WebComboBox.class b/comp/src/gb.web.form/.src/WebComboBox.class index ea161a388..9bcdf556f 100644 --- a/comp/src/gb.web.form/.src/WebComboBox.class +++ b/comp/src/gb.web.form/.src/WebComboBox.class @@ -64,7 +64,7 @@ Public Sub _Render() Print "
"; Endif - Print "