All Answers

0 votes

Hi Frank,

i have noted that “Deafult.json” is generated with option “pollInterval: …”

 

When trying using “pollInterval” instead of “pollingInterval” as you suggest cause Application Error on startup.

Maybe a writing error?

Thanks

0 votes
In reply to: MenuItem,Text problem

Hi Gareth,

thanks for providing more information. I have tried to reproduce it with bold menu items,
but they all show correctly here.
Can you please send us your menu definition or a test case ?

Thanks in advance.

Best regards
Frank

0 votes
In reply to: MenuItem,Text problem

Hi,

I found out by trial and error that the MenuItem text is only truncated when you select a bold font.

0 votes
In reply to: Ribbon Bar Theme Mixin

Here is the mixin theme file (in zip format)

0 votes

Thank you Luca.  The work around does the trick – I think I can make that work well in my project.

 

Matthew

0 votes

Workaround:

  • Change the base class to UserControl
  • Change Display() to
 Public Sub Display()
    Me.Show()
    Me.Location = MousePosition
    Me.BringToFront()
 End Sub

  • Change Button1_Click to
 Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click
   Dim pop As New UserPopup1
   pop.Parent = Me
   pop.Display()
 End Sub
  • Luca answered Nov 9, 2018 - 7:09 pm
0 votes

The cell has to enter edit mode to show the ComboBox. It’s the same with other web grids. We have an issue still open related to DropDownStyle=Simple:

WJ-9092 DataGridViewComboBoxColumn.DropDownStyle = Simple should automatically dropdown the combobox in a cell when entering edit mode.

Looks like it was overlooked. Will update the issue.

  • Luca answered Nov 9, 2018 - 6:58 pm
0 votes

The UserPopup control was not enabled for being movable, just resizable.

When Wisej creates the UserPopup control is creates it inside a floating popup widget (it has to be able to go over anything, like a combobox dropdown or a menu) so the widget you are creating is actually  inside another, the popup.

With the movable property set to true, you end up moving your UserPoup inside the original location of the real popup. We had the same issue with Resizable.

Will log the issue.

  • Luca answered Nov 9, 2018 - 6:43 pm
0 votes
In reply to: Non modal form

Thanks Tiago – the nuance of not being able to show a non modal form from a modal form is what was tripping me up.  I am going to find another way to implement the requirement.

Thanks for your help.

0 votes
In reply to: ChartJS and VB

Here is some sample vb.net code

 


Imports System
Imports Wisej.Web
Imports System.Drawing

Public Class Window1
Private Sub Button1_Click(sender As Object, e As EventArgs) Handles Button1.Click

Dim data() As Object = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12}
Dim colors() = {Color.Green, Color.Red, Color.Blue, Color.Orange, Color.DarkOrange, Color.DarkRed, _
Color.LightBlue, Color.LightGray, Color.Purple, Color.WhiteSmoke, Color.Blue, Color.BlueViolet}
Dim labels() As String = {“Jan”, “Feb”, “Mar”, “Apr”, “May”, “Jun”, “Jul”, “Aug”, “Sep”, “Nov”, “Dec”}

Dim ds As New Wisej.Web.Ext.ChartJS.BarDataSet
ds.Data = data
ds.BackgroundColor = colors
ds.Label = “Status”

chart.ChartType = Ext.ChartJS.ChartType.Bar
chart.Options.Scales.xAxes(0).Type = Ext.ChartJS.ScaleType.Category
chart.Labels = labels
chart.DataSets.Add(ds)

chart.UpdateData()

End Sub
End Class

0 votes

Awesome – that did the trick.  Thank you Masafumi!

0 votes

Hi Matthew,

I just fell into the same problem.
Please add the following code.

chart.Options.Scales.xAxes (0) .Type = Ext.ChartJS.ScaleType.Category

Reference) chartjs-data-set-is-not-displayed-in-the-new-project

Masafumi

2 votes

I wanted to show a new video we made for the latest version showing some enhancements we’ve made to our console.

We’ve wrapped some additional controls like vis.js and microsoft’s speech api.

 

0 votes
In reply to: Ribbon Bar Theme Mixin

Hi Ron,

Can you attach the mixin?

0 votes

Thank you Frank, Tiago, et al…

0 votes

Hi Matthew,

#1627 is fixed in our latest Wisej development build (1.5.29).

Best regards
Frank

0 votes

Hi Masafumi,

#1628 is included in the latest Wisej development build (1.5.29).

Best regards
Frank

0 votes
In reply to: Non modal form

Hi Matthew,

From what you say above, it’s not easy to understand your exact use case. I think it would be easier if you attach a sample that shows the problem you describe.

Concerning modal/modeless windows on Wisej, there is a very simple rule:

  • once you open a modal window, all windows are modal

This has some consequences:

  1. A modal window can only open other modal windows. No matter whether you use Show() or ShowDialog() the open window will always behave like modal -you won’t be ableto click on underlying windows.
  2. If a modeless window opens a modal window, the underlying (modeless) window is no longer clickable.

In order to use true modeless windows, all windows in the chain must be modeless – no ShowDialog() on parent window, nor on grand-parent window, nor even on child windows, grand-child windows, etc

When you come to think about it, it makes no sense to have a modal showing a modeless. I can’t think of a single use case where you are working on a modal window and need to use a modeless window.

If you are using a Page application, you can open modal and modeless as child windows. If your application is a Form based application like MDI, in order to use modeless windows, your Program.cs file can’t ShowDialog() the main window but rather Show().

Please have a look at MDI Example at GibHub

I hope that helps. If not, please attach a sample.

  • Tiago (ITG) answered Nov 6, 2018 - 11:08 am
  • last active Nov 6, 2018 - 2:53 pm
0 votes
In reply to: MenuItem,Text problem

Hi Gareth,

I have tried to reproduce but it works ok here.
Does it also show wrong in the designer ?

Can you please try to wrap up a test case for us ?
You can either post it here or send it to frankATiceteagroup.com

Thanks in advance !

Best regards
Frank

0 votes

Hi Tiago,

contacted you privately with the example of the solution that i found.

Showing 6581 - 6600 of 11k results