Start Button

Welcome to Wisej Support.
Questions, suggestions and plain old bugs - are all welcome here!
0
0

Can I put a start button like this app   https://webix.com/demos/web-desktop/

 

Thanks

 

 

  • You must to post comments
0
0

See attached sample app.  You will find in design mode a desktop control with a cool clock (top left) and a button on the task bar (bottom left). The button is anchored to the bottom left for the designer. Than at runtime the anchoring is reset, and a small javascript (2 lines) move the button to a container in the taskbar called “shortcuts” which will automatically manage the shortcut button in a VBox layout. You can add several shortcuts.

To explain better. Our Wisej.Web.Desktop control already has two inner containers, one called “shortcuts” and one called “notifications”. The shortcuts container is to the left of the window items, while the notifications container is to the right. However, adding shortcuts and notifications at design time is still not fully implemented (it will be fairly soon). This is why in this example we need those 2 javascript lines.

So, when you open the solution in design mode (design the desktop) you will see a JavaScript component. Select the button and look at the properties. You will find a JavaScript Events property. In there you will see an event “appear” and the javascript lines attached to the event.

You will also find a StartPopup control that you can fully design in the designer. That’s the semi transparent popup where you can place your tiles, menu items, buttons, and just about anything else. You can determine the size, colors, alignment as well.

 

 

 

HTH

Best,

Luca

 

  • Davorin Panič
    Hi, Luca thanks for the sample – note: dev build 1.3.75 needed (wj-8300). br, Davorin
  • You must to post comments
Showing 1 result
Your Answer
Post as a guest by filling out the fields below or if you already have an account.
Name*
E-mail*
Attachment
File Name Size
There are currently no files uploaded.
Maximum number of files 1, maximum file size 3.9MB.
Supported file formats: zip pdf gif jpg bmp png cs vb theme json