All Answers

0 votes

Hi Mitch,

we have logged that issue as WJ-7924 and will inform you when the fix is available.

Best regards
Frank

0 votes

Nope, it was probably broken when the textfield widget got wrapped in a container to support the tools. The same is most likely true for the other editors that have the tools.

  • Luca answered Jan 10, 2017 - 12:07 am
0 votes

I see the property and I set it to true for a text box, but it doesn’t seem to work

Is there any other property I need to set?

0 votes

Yes, it’s possible but in a slightly different way since rows and cells in a DGV are not widgets, they are rendered directly as html. The nodes in a treeview and items in a listbox are widgets so they have all the standard widget states and behavior. The theme states, styles and properties that a DGV cell recognizes are preset in the cell renderers (you can have customer renderers, but it’s a different topic and we’ll have an extension with some very cool DGV columns).

To make it short, you can always use normal CSS in a Wisej theme using the css value under styles. Try this mixin:

{
 "name": "HotDGV",
   "appearances": {
     "table-row": {
       "inherit": "table-row",
       "states": {
         "default": {
           "styles": {
             "widthBottom": 1,
               "colorBottom": "table-row-line",
               "backgroundColor": "table-row-background",
               "css": "{\"hover\":{\"cursor\":\"pointer\", \"background-color\":\"red\"}}"
           },
           "properties": {
             "textColor": "table-row"
           }
        }
      }
    }
  }
}

You can also use any of the theme colors instead of red. The definition in “css” is translated to pure css by Wisej. Id you specify a child property (in the mixin above it’s “hover”, Wisej treates is a pseudo style and it prefixes it with “:”, so hover becomes “:hover”. If you used “:after”, it would becomes “::after” and you can add ::after and ::before pseudo elements.

 

 

 

  • Luca answered Jan 9, 2017 - 11:44 pm
0 votes

Thanks Alex,

could reproduce with your sample and logged issue WJ-7293 for it.

Best regards
Frank

0 votes

To complement Luca’s answer, I’d say ActiveX is supported only by Internet Explorer and Applets are supported only by IE and Firefox. Anyway there are (not so) fresh news about Applets: Oracle are deprecating Applets on Java 9. Have a look at Moving to a Plugin-Free Web.

There are solutions that use a scanner service to capture scanner images. Since Java 7 there is Java™ Web Start. This is kind’a Microsoft ClickOnce. The problem with ClickOnce is that it only runs on Windows. But this didn’t stop Google from using ClickOnce for the Chrome installer.

  • Tiago (ITG) answered Jan 9, 2017 - 8:16 pm
  • last active Jan 9, 2017 - 8:20 pm
0 votes

That’s probably caused by the browser’s security. Wisej should handle the error though: will add a bug for this.

In  general, many sites don’t allow their content to be loaded in an iframe. All browsers don’t allow javascript to access the document in the iframe when it’s from a different origin. You can try some samples here: http://www.qooxdoo.org/current/demobrowser/#showcase~Browser.html

HTH

Best,

Luca

  • Luca answered Jan 9, 2017 - 5:49 pm
0 votes

You can also use a simple method handler instead of a lambda:

 

MessageBox.Show("Yes or Now?", modal:false, onclose: this.MessageBox_OnClose);

private void MessageBox_OnClose(DialogResult result) {
}


  • Luca answered Jan 9, 2017 - 4:58 pm
0 votes
In reply to: Gridlines in ListView

try this mixin:

 

{
  "name": "Application",
  "appearances": {
    "listview/grid-row": {
      "states": {
        "default": {
          "styles": {
            "widthBottom": 1,
            "colorBottom": "windowFrame",
            "backgroundColor": "table-row-background"
          },
          "properties": {
            "textColor": "table-row"
          }
        },
        "selected": {
          "styles": {
            "backgroundColor": "table-row-background-selected"
          },
          "properties": {
            "textColor": "table-row-selected"
          }
        }
      }
    }
  }
}
  • Luca answered Jan 9, 2017 - 4:54 pm
0 votes

Hi Diego,

are you using VS 2013 ?

If yes, this might help you: http://alextselevich.com/2015/08/using-c-6-0-in-visual-studio-2012-and-2013/

Best regards
Frank

0 votes

Hi Alexander,

thanks for your prompt reply.

We will add this enhancement to Wisej. It´s logged as WJ-7922 and I´ll inform you when it´s available.

Best regards
Frank

0 votes

Hi Luca,

In “Blocking Modal with callback” code, I’m getting “cannot convert lambda expression to type string because it is not a delegate type” at compile time.

Thanks.

  • Diego answered Jan 9, 2017 - 4:40 pm
0 votes

Hi Frank,

yes, i want to define new appearance in the theme und apply it for readonly cells.

Regatrds,

Alexander

0 votes

Hi Alexander,

can you please describe in more detail what you are trying to achieve ?

Did you try setting the cell style ? Or are you thinking about giving read only cells a different appearance and define it in the theme ?

Best regards
Frank

0 votes

Thanks Mitch,

I have logged WJ-7921 for that issue.

Best regards
Frank

0 votes
In reply to: Google Maps extension

Hi Andrew,

the extension is not ready yet, but we can send you a sample using google maps directly.

Best regards
Frank

0 votes

Hi Ben,

Anything that is possible with javascript can be done in Wisej. Unfortunately browsers don’t let you use periferals. There are APIs for the camera, the geolocation device, mic, and audio, but nothing for a scanner since it would need a custom driver.

There are commercial libraries that provide either an ActiveX or Applet or a local server that responds to ajax requests from javascript. Any of those library would work well with Wisej.

Best,

Luca

  • Luca answered Jan 9, 2017 - 4:16 pm
0 votes

Thanks Mitch,

we have logged this bug as WJ-7920 and will inform you when the fix is released.

Best regards
Frank

0 votes

For the icon pack to show up you probably have to compile the app and in some cases reopen VS if it’s the first time the dll is added to the project.

However, there are some open issues related to embedded that should be fixed in the current dev build. One is a change to the url format. Now it’s /resource.wx/image.png, MyAssembly. It’s being changed to /resource.wx/MyAssembly/image.png which is a lot clearer.

Best,

Luca

  • Luca answered Jan 9, 2017 - 4:10 pm
0 votes

Hi Luca,

thank you for your reply. Using 1.3.16 and get following error messages in the IFramePanel control:

  1. 0x800a138f – JavaScript runtime error: Unable to get property ‘body’ of undefined or null reference.
  2. 0x80070005 – JavaScript runtime error: Access is denied.

Best regards

Showing 9821 - 9840 of 11k results