All Answers

0 votes

Hi Gunter,

ItemSize is for the 3 other views only, not for the Details view.

For the Details view, the height of the rows is a theme property.

You can change it e.g. with the following mixin theme.
Simply put it into your Themes folder as Application.mixin.theme
(just tested with your sample for the Selected property):

{
“name”: “Application”,

“appearances”: {
“listview/grid-view”: {
“inherit”: “table”,
“states”: {
“default”: {
“properties”: {
“rowHeight”: 20
}
}
}
}
}
}

Best regards
Frank

0 votes

Hi Washington,

you can react on a session timeout by adding a handler like this in VB.NET:

AddHandler Application.SessionTimeout, AdressOf YourFunction

Best regards
Frank

 

 

0 votes

Hi Gunter,

you can find a detailed explanation of the red warning sign here:

https://wisej.com/support/question/why-is-there-a-red-triangle-with-an-exclaimation-mark-it-it-on-top-of-my-window-in-the-designer

Can you please give us a hint or sample where this problem occurs, i.e. what control you are designing ?

Thanks in advance
Frank

0 votes

Hi John,

the bug number is WJ-7748 and a fix will be in the new release, published tomorrow.

Thanks
Frank

0 votes

Hi Gunter,

the bug is logged as WJ-7755, fixed and will be in the next release, most likely published tomorrw.

Thanks
Frank

0 votes

 

 

Thanks Luca,

 

This work! 😉

 

Was my mistake… innerHtml .. for innerHTML

 

 

  • Michael Bought answered Nov 6, 2016 - 5:05 pm
0 votes

Hi,

Can you please explain does 1 year limit also applied on Server license or not. Suppose we develop and deployed our application on different servers with valid wisej server license. Later on we upgrade our app on latest build with proper license renewal as developer, does all of our client’s server requires new license to host latest build…

Best Regards

mymooasni.

0 votes

Hi Mariano

I already saw the property listView1.ItemSize, but in view=Details, that I need, this property has no effect.

 

  • Gunter answered Nov 5, 2016 - 7:56 pm
0 votes

Hi, if listView1.view=Tile you can set the height with listView1.ItemSize property

In other view modes i don’t know.

 

  • Mariano answered Nov 5, 2016 - 7:35 pm
0 votes

Thanks Gunter.

I could reproduce the problem. We´ll check and notify when the fix is available.

Best regards
Frank

0 votes
In reply to: Report Viewer

Hello all,

excellent work on the product so far.

The biggest drawback on moving from VWG is ReportViewer control, any feedback when could this be available, or is there a way to make it work using ASP Wrapper control ?

Thank you,

DiNo

0 votes

Hi Luca

But setting listView.Items[xx].Selected = true does not properly get to work. Wenn I set listView.Items[xx].Selected = true, the value is set, SelectedItems is also properly updated, but the selection mark is never set. Please see the test application attached

  • Gunter answered Nov 5, 2016 - 11:23 am
0 votes

How do you handle Session timeout in a Visual Basic application?

Regards

Washington

0 votes

The default size of the image is set in the theme. The reason is that we support SVG icons and usually SVG icons have a very large natural size. Also, it’s a lot more convenient to normalize the size instead of having to manually resize all icons as you’d have to do with WinForms.

However, there are several ways (as usual with Wisej) to personalize the default behavior, here are two alternatives:

  1. Add an ImageList component and assign it to the button(s). The button will resize all images to match the size set in the image list. (see example  linked before). You don’t have to add the images to the image list, once it’s assigned to the button it works for all images assigned to the button or to the image list.
  2. Or add a theme mixin under /Themes to add/alter the currently loaded theme. This is what to use in the mixin file (name it [name you like].mixin.theme) to create a new appearance named “button-16×16” inheriting from “button” (from the active theme) and only altering the icon size – assign “button-16×16” to the AppearanceKey of the button to use this variation:

 

{
  "appearances": {
  // button with 16x16 icons
    "button-16x16": {
      "inherit": "button",
      "components": {
        "icon": {
          "states": {
            "default": {
              "properties": {
               "scale": true,
               "width": 16,
               "height": 16
              }
            }
          }
        }
      }
    }
  }
}

Note the “scale”:true property. If you set it to false, the theme engine tries to maintain the aspect ratio of the image and you can enforce the height or the width.

Using the image list allows you to reuse the same list for multiple buttons and to choose the size for each list – and you don’t have to resize the images.

Using the theme mixin lets you control more theme aspects, and you can create a button class with the customized appearance.

HTH

Best,

Luca

 

  • Luca answered Nov 4, 2016 - 10:23 pm
0 votes

Hi Luca

the problem is, that small images are scaled up, as far as I saw all images smaller than 24×24 px are scaled up.  Is there a way to prevent this behavior?

  • Gunter answered Nov 4, 2016 - 9:52 pm
0 votes

Hi Luca

You’re right, but I am migrating a VWG application, and in VWG there ist a property SelectedIndex and so I thougt it’s the same in winforms.

  • Gunter answered Nov 4, 2016 - 6:58 pm
0 votes

Ok,  forget the question, ItemSize property do the job.

  • Mariano López answered Nov 4, 2016 - 5:58 pm
0 votes

Hi Gunter,

I have added a small example here: https://wisej.com/examples that shows some of the many options and combinations with images. Looks like this:

If it sill doesn’t work for you please attach a sample app.

Best,
Luca

  • Luca answered Nov 4, 2016 - 2:38 pm
0 votes

There is an issue with the license manager when trying to replace an existing server beta license. It’s fixed and will be in the upcoming build.

To solve the issue:

  1. Delete wisej-server.lic (or any other .lic) from \ProgramData\IceTeaGroup\Wisej
  2. Delete wisej-server.lic from the application’s project folder. This is important, because the error is that the license manager saves the updated license to \ProgramData\… and then reads the previous one from the local application folder, detects a mismatch and activates again.
  3. Either restart IIS or add ?sid=new when testing the application again, to force a new session.

Send a message to support@wisej.com and we’ll reset the counter.

Soon we will add additional functionality to the account page to let you manage the activations online.

Best,

Luca

  • Luca answered Nov 4, 2016 - 2:34 pm
0 votes
In reply to: Invoke/BeginInvoke

I’ve attached a fairly simple example that illustrates the problem that I am having.  It includes nearly identical Wisej and Winforms projects.

The program creates a Form, then adds Red, Green, and Blue panel to it.  The Green panel is added using a thread with Invoke.

The Winforms version works as expected, but the Wisej version doesn’t display the Green panel.

I tried replacing Invoke() with BeginInvoke().  I also tried calling the invoked code directly.  I also tried adding Application.Update(this); after the Controls.Add() call, in all three cases.  No matter what, I always get the same result.

I’m sure I’m doing something wrong, but it’s not clear what.  I’d appreciate any insight.

Thanks,

Dave

david.muse@firstworks.com

  • David answered Nov 4, 2016 - 2:27 am
Showing 10201 - 10220 of 11k results