All Answers

0 votes

I noticed that too. It’s probably the left padding of the blank label. Will fix.

If you set the toolbar layout to show the text below the icon it aligns well.

/Luca

  • Luca answered Aug 3, 2016 - 3:04 pm
0 votes

Hi Luca,

Above class works.

But…..I noticed small issue though that I believe will be a easy fix for you. When a toolbarbutton has no text, the left and right padding are not equal, as if the image is left-aligned. The same behaviour in MenuBar menuitems. Please see attached images.

Build 1.2.35.0.

Thanks.

 

  • Cris answered Aug 3, 2016 - 2:58 pm
0 votes

Everything is fixed as you suggested, on both samples. I attach a fully working sample where you can rename the nodes as well (<F2> type the changes and commit the changes with <Enter>).

Of course you can reuse the sample on the documentation.

  • Tiago Freitas Leal answered Aug 3, 2016 - 9:33 am
0 votes

You can use this class:

public class MySeparator : ToolBarButton
{
    protected override void OnWebRender(dynamic config)
    {
         base.OnWebRender((object)config);

         config.appearance = "";
    }
}

We’ll enhance the designers for the toolbar and status bar to detect derived classes and let you choose it at design time. In a class like the one above you could set the Separator style in the constructor and hide the Style property and make your customized toolbar items.

/Luca

  • Luca answered Aug 3, 2016 - 2:21 am
0 votes

Hi Tiago,

The problem is that you are initiating the drag operation on the form. Change the test code to “tv.DoDragDrop(…). The sample otherwise works well.

AllowDrag is a new property and it allows a control to start a drag operation. Otherwise the framework on the client would have to start listening to and generating drag events for all controls to detect when the  mouse is dragged.

WinForms could do it since it’s running on the client. VWG forced to you setup a list of target, effectively getting the concept of drag & drop at the opposite.

Best,

Luca

  • Luca answered Aug 2, 2016 - 11:31 pm
0 votes

Hi Luca,

Yes, if possible. For separator that needs to push/dock toolbarbutton to the right, vertical line is not needed as it doesn’t look nice.

Thanks.

  • Cris answered Aug 2, 2016 - 9:15 pm
0 votes

That’s correct. The separator has to be visible to be counted in the layout on the client. The toolbar is a single widget and the layout is entirely managed by the client using the HBox model.

You want to remove the line in the separator?

  • Luca answered Aug 2, 2016 - 8:57 pm
0 votes

Hi Luca,

Yes. Visible property works now. However, when I set the SizeMode=Fill and Visible=False of a separator, it no longer pushes/docks the toolbarbutton to the right.

Build 1.2.35.0

Thanks.

  • Cris answered Aug 2, 2016 - 6:32 pm
  • last active Aug 2, 2016 - 6:34 pm
0 votes

This is in the current update. You should get an error on the client with the description of the problem and the name of the json file.

Best,

Luca

  • Luca answered Aug 2, 2016 - 3:23 pm
0 votes

This is fixed in the current update.

  • Luca answered Aug 2, 2016 - 3:20 pm
0 votes

Hi Cris,

The focus and validation have had a significant overhaul in the current update. Now there is no need to attach the handlers to enable the events. You can also use the On(Event) overrides without the handlers.

There were several problems, some are:

  • wisej was updating the selected range which caused the browser to switch the focus.
  • the focused control was going out of sync unless there was a change on the client that forced the update.
  • the server validation routine had a re-entrancy.
  • the focus was not updated on the client when the focused control didn’t change on the server.

And few others. Should all work now.

Thanks,

Luca

  • Luca answered Aug 2, 2016 - 3:19 pm
0 votes

Too much beer is not a problem – it’s an enhancement.

The font issue is fixed. Also SystemFonts are mapped to themed fonts if available.

Best,

Luca

  • Luca answered Aug 2, 2016 - 3:14 pm
0 votes

Thank you. Will check and log. The icon issue is fixed.

  • Luca answered Aug 2, 2016 - 3:10 pm
0 votes

Hi Tiago,

This is fixed in the current update. The node editor now is able to show the image thumbnails as well.

Thanks,

Luca

  • Luca answered Aug 2, 2016 - 3:10 pm
0 votes
In reply to: Beta Updates

A new build is available.

Most of the fixes are around focus management, validation, cleaning up the code, and closing loose ends.

We are going to slow down for a couple of weeks due to vacations. However, urgent fixes and nightly builds will still be uploaded.

Most of the effort at the moment is going to completing the minimum control set and the last missing control is the ListView. It’s very close to being ready. It uses the qooxdoo virtual infrastracture (similar to the datagrid) and it’s able to render an unlimited number of items by creating only the visible dom elements. I have seen it scrolling 1M items without slowing down.

 

Item Type Priority Severity Title Resolution
WJ-7464 Bug Low Trivial SplitContainer.IsSplitterFixed doesn’t work. Complete
WJ-7465 Bug Low Trivial DataGridViewNumericUpDownColumn serializes the default Min/Max values. Complete
WJ-7467 Bug High Major DGV uses the ControlBase internal state field instead of the DGV state. Complete
WJ-7468 Bug Low Trivial Event FontChanged is fired twice. Complete
WJ-7469 Bug Low Trivial Creating a new font based on a theme font doesn’t update the client. Complete
WJ-7470 Enhancement Low Trivial Add support to theme SystemFonts. Complete
WJ-7471 Regression Low Trivial When the ImageSource is a URL the image is not loaded because of the encoding change. Complete
WJ-7472 Enhancement High Major Throw an exception when cannot find startup and/or mainWindow. Complete
WJ-7473 Bug Low Trivial Tabbing out a DateTimeField the first time causes the focus to remain in the field. Complete
WJ-7474 Bug Low Trivial Setting the ToolboxButton.Visible property to false causes a javascript error when used as a separator. Complete
WJ-7475 Bug Low Trivial ToobarButton.Tag is grayed out in the property editor. Complete
WJ-7476 Bug Low Trivial ListBox.HorizontalScrollBar and ListBox.ScrollAlwaysVisible always show the same value, changing one changes the other. Complete
WJ-7477 Bug Low Trivial MaskedTextBox.HidePromptOnLeave and TextBoxBase.ReadOnly flags are mixed up, setting one updates the other. Complete
WJ-7478 Bug High Show Stopper When editing a TextBox or a ComboBox and moving the focus to another control, the focus may jump back to the modified editing control under certain circumstances. Complete
WJ-7481 Bug High Show Stopper Tabbing in/out of fields that don’t attach any of the Validate, Validating, GotFocus, LostFocus events causes the validation on the server to go out of sync. Complete
WJ-7482 Bug High Show Stopper Assigning a TreeNode’s Opened, Selected and State ImageIndex or ImageKey generates a NullReferenceException. Complete
WJ-7483 Bug Low Trivial The focus abd validation events are fired in the wrong order. Complete
WJ-7480 Bug Low Trivial DateTimePicker.Invalid = true or canceling validation doesn’t update the border to show the invalid state. Complete

 

  • Luca answered Aug 2, 2016 - 3:07 am
0 votes

Again! VS2015 duplicated the Wisej controls on the Toolbox.

And again, the same recipe solved the issue.

  • Tiago Freitas Leal answered Aug 1, 2016 - 7:08 pm
  • last active Aug 1, 2016 - 9:17 pm
0 votes
In reply to: Strange focus jumping

Confirmed fixed, Luca!

Thank you very much.
Alex

 

  • Alex Prinias answered Aug 1, 2016 - 8:31 pm
0 votes

There is an ongoing issue with the validation event. The problem is that we don’t receive the focusin/out events unless the control attaches any of the validating or focus events. The fix will be to always subscribe like all the other events.

Wisej has a state map that is sent back from the client at the top of every event stream to ensure that the server is always in sync with the client, even if for whatever reason an event is missed. When you tab out and nothing changed there is nothing sent so the server doesn’t know that the focus has changed and the next validate will fail. It will be fixed in the next updating coming up tonight.

Thanks you for your patience on this. Debugging focusing events is always frustrating.

Best,

Luca

  • Luca answered Aug 1, 2016 - 7:56 pm
0 votes

Hi Frank,

When should a textbox’s Invalid property be updated? With an empty textbox with a Validating event, the property is not updated the first I tabbed-out of the control. It’s only sets to true the second time I press tab.

Thanks.

  • Cris answered Aug 1, 2016 - 6:36 pm
0 votes
In reply to: Strange focus jumping

Sent it to you in a zip.

  • Luca answered Aug 1, 2016 - 6:28 pm
Showing 10801 - 10820 of 11k results