Tree Widget | Uniface 9 | Forum

Avatar

Please consider registering
guest

sp_LogInOut Log In sp_Registration Register

Register | Lost password?
Advanced Search

—  Results per page  —








— Match —





— Forum Options —





Minimum search word length is 3 characters - maximum search word length is 84 characters
For a group of consecutive words like 'end of support' use Match phrase

sp_Feed Topic RSS sp_TopicIcon
Tree Widget
11 Oct 2017
12:33 am
Avatar
Bridget1
New Member
Forum Posts: 2
Member Since:
04 Oct 2016
sp_UserOfflineSmall Offline

Is there any way that the tree widget can be updated to make it look more modern?

I have a ‘main menu’ screen that looks similar to Windows explorer but is staring to look tired and dated.

Does anyone have any ideas if or how can I quickly and easily improve it’s appearance?

11 Oct 2017
8:15 am
Avatar
ulrich-merkel
Frankfurt/Germany
Member
Forum Posts: 1710
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

with a HTML5 based tree, you have a universe of options to make it a real eyecatcher (including animations, interactions, …).

OK, you need the HTMLwidget which demands a non-modal form, but I assume your “Main Menu Form” is already the very first one.

13 Oct 2017
2:27 am
Avatar
Bridget1
New Member
Forum Posts: 2
Member Since:
04 Oct 2016
sp_UserOfflineSmall Offline

Yes it is the first screen.

I am using 9604 in one application and 9701 in another and I can see I have the HTML5 widget available but what do I do with it?

Do you have an example I could work from?

Thanks.Laugh

13 Oct 2017
10:13 am
Avatar
ulrich-merkel
Frankfurt/Germany
Member
Forum Posts: 1710
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

Hi Bridget1

you can find a demo in example “GUI Sample: HTML Widget and JavaScript” provided with uniface.

The idea is just when you “press a button” or “click on a leaf”,
an associated extended trigger for this htmlwidget ist activated
on the uniface-core starting the desired action.

For communication purposes, I just provide a single extended trigger which has a “payload” parameter (“do=opt1;debug=no”).
Somewhere inside uniface, this payload is examined (replace “;” with GOLD; and you have a list) and control is transferred to the desired service provider.

HIH, Uli

P.S. the only critical issue is to avoid parallel processing when you use other non-modal components in your application.
but when all your other forms are non-modal, this is no problem at all.

13 Oct 2017
3:16 pm
Avatar
Jasper
Member
Forum Posts: 31
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

Bridget1

I was looking at the internet for pictures of a tree control or javascript tree control. I see some parts which we do not have, like checkboxes or radiobutton on the nodes. Multi column tree is also not supported however you can get around this with the tree-list view.

Can you give some details on what you expect to see or what you miss in the Windows tree-control we use? 

 

Jasper de Keijzer

14 Oct 2017
9:12 am
Avatar
ulrich-merkel
Frankfurt/Germany
Member
Forum Posts: 1710
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

Hi Jasper,

there is one area of eyecatchers you will not see on these pictures:

There are a lot of animations and interactions you can get from HTML5 driven trees (some impressing demos).
It is just for fun and “gamification”, but a couple of applications have this for their entry screen.
A lot of fade-ins, fade-outs, etc. just to keep the user away from doing his work straight away, but they love it.

So if one has to compete with his uniface application against these animated shows,
the HTML5 may be worth to look at for the entry screen (sales departments demand this from development)

And you have treewidgets with embedded filter field on top which makes selecting in large trees easier, etc.

 

Greetings from Frankfurt/Germay,

Uli

16 Oct 2017
9:33 am
Avatar
ulrich-merkel
Frankfurt/Germany
Member
Forum Posts: 1710
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

Hi Jasper,

in this case, the HTMLwidget is similar to the good old 3GL interface:
A possibility to extend uniface functionality with common tools (not so many other products provide).

So if one needs some all-singing-and-dancing intro screen,
uniface gives a way to do so with just an easy:
– buy/download some impressive web widget of your choice
– take some demo code for this widget from the internet
– make it communicate with the uniface core via extended triggers
– let your demo run on your HTML widget (yes, it’s so easy)

So this is really not necessary to provide any fancy eyecatcher with native uniface code.

Have a nice week allover in unifaceland,

Uli

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 131

Currently Online: Henk van der Veer
6 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ulrich-merkel: 1710

Iain Sharp: 623

Theo Neeskens: 345

gianni: 264

rogerw: 232

istiller: 201

lalitpct: 197

Knut: 179

-GHAN-: 171

Arjen van Vliet: 170

Member Stats:

Guest Posters: 3

Members: 7038

Moderators: 0

Admins: 8

Forum Stats:

Groups: 1

Forums: 62

Topics: 2058

Posts: 8862

Newest Members:

Arabellaquife, ArthurEffit, RubenKip, MarinaGOVunse, Olpbtsj, Richardglums, Hellbladequife, RobertCab, Kcrdhlq, Kennethsherm

Administrators: admin: 23, Adrian Gosbell: 286, diseli: 836, Bob Maier: 3, Nico Peereboom: 65, Michael Rabone: 4, richiet: 406, JanCees: 28