Found an issue in SpiderBasic ? Please report it here !
User avatar
Peter
 
Posts: 479
Joined: Mon Feb 24, 2014 10:17 pm
Location: 127.0.0.1

Editable Combobox + Device-View: orientation is not defined

by Peter Sat Oct 14, 2017 4:35 pm

Hello,

i'm running this code from the SB-Help:

Code: Select all
  If OpenWindow(0, 0, 0, 270, 85, "ComboBoxGadget", #PB_Window_SystemMenu | #PB_Window_ScreenCentered)
    ComboBoxGadget(0, 10, 10, 250, 25, #PB_ComboBox_Editable)
    AddGadgetItem(0, -1, "ComboBox editable...")

    ComboBoxGadget(1, 10, 50, 250, 25)
    For Index = 0 To 5
      AddGadgetItem(1, -1, "ComboBox item " + Index)
    Next

    SetGadgetState(0, 0)
    SetGadgetState(1, 2)    ; set (beginning with 0) the third item as active one
  EndIf


When i open the Chrome-console, change the view to device-Mode (Ctrl + Shift + M) and try to open the Dropdown from the editable Combobox, i get:

dojo.js:937 Uncaught ReferenceError: orientation is not defined


Greetings ... Peter
Return to Bugs Reports

Who is online

Users browsing this forum: No registered users and 1 guest