Migrated from 9.6 to 9.7 but uniface buttons not working on application. | Migrating to 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
Migrated from 9.6 to 9.7 but uniface buttons not working on application.
23 Jun 2018
12:26 am
Avatar
vasin159
Member
Forum Posts: 5
Member Since:
22 Jun 2018
sp_UserOfflineSmall Offline

uniface 9.7 buttons not working

hi,

We recently moved our development environment from 9.6 to 9.7 but unfortunately buttons on our application are not working. On clicking the button detail trigger is not triggering. Can you help me to fix this issue ?

 

Thanks,

Vasin159

25 Jun 2018
10:10 am
Avatar
Iain Sharp
Member
Forum Posts: 654
Member Since:
01 Oct 2012
sp_UserOnlineSmall Online

Are you using the ‘standard’ usys.ini file from the 9.7 install? I think the buttons in the IDE changed type, and they need to be setup in the .ini. Perhaps compare the two .ini files to see? 

Iain

25 Jun 2018
1:22 pm
Avatar
vasin159
Member
Forum Posts: 5
Member Since:
22 Jun 2018
sp_UserOfflineSmall Offline

Hi Lain,

Thanks for reply!!

 

There was few difference between U9.6 and U9.7 in  usys.ini file. I changed it and made same to what U9.6 ini was.

But still issue remains same.

 

Thanks

09 Jul 2018
6:20 pm
Avatar
Theo Neeskens
Member
Forum Posts: 357
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

Iain is correct.

One extra detail:

The problem is not in the common\adm\usys.ini but in the uniface\adm\usys.ini

In the [widgets] section you are probably missing these lines:

IDFSpeedSearch=ueditbox(font=editfont;onedit=T)
IDFTextCell=ueditbox(font=editfont)
IDFButtonBottom=ucmdbutton(representation=Uniface;cursor=uhand;frametype=off;font=IDFButtonText;labelfont=IDFButtonText;backcolor=#01A7E1;backcolorselect=#97D5EC;backcolorhover=#55C1E8;backcolorfocus=#0084CC;forecolor=white;forecolorselect=black;vsize=80;autolabel=F;position=center;valign=center)
IDFButtonSide=ucmdbutton(representation=Uniface;cursor=uhand;frametype=off;font=IDFButtonText;labelfont=IDFButtonText;backcolor=#01A7E1;backcolorselect=#97D5EC;backcolorhover=#55C1E8;backcolorfocus=#0084CC;forecolor=white;forecolorselect=black;vsize=80;autolabel=F;position=top)
IDFButtonHeader=ucmdbutton(representation=Header;cursor=uhand;halign=left;valign=center;font=label)
IDFButtonImage=ucmdbutton(representation=Uniface;cursor=uhand;frametype=off;transparency=T)
IDFButtonSpecial=ucmdbutton(representation=Uniface;cursor=uhand;frametype=off;font=IDFButtonText;labelfont=IDFButtonText;backcolor=#01A7E1;backcolorselect=#97D5EC;backcolorhover=#55C1E8;backcolorfocus=#0084CC;forecolor=white;forecolorselect=black;vsize=80;POSITION=CENTER)
IDFOpenProfile=ueditbox(frame=T;font=editfont;autoselect=on;dimmedbackcolor=off;dblclk=detail;multiline=F)

 

And if you are missing those lines (and more) your screen will also look terrible.

Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 131

Currently Online: Iain Sharp, tommyb42
24 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ulrich-merkel: 1788

Iain Sharp: 654

Theo Neeskens: 357

gianni: 312

rogerw: 261

istiller: 252

Knut: 214

lalitpct: 197

Arjen van Vliet: 175

sochaz: 173

Member Stats:

Guest Posters: 3

Members: 8917

Moderators: 0

Admins: 8

Forum Stats:

Groups: 1

Forums: 62

Topics: 2206

Posts: 9539

Newest Members:

EddieUrict, Waltershago, Phyllisvar, Calvindax, RobinMarttensss, rickqo3, Henryexham, MichaelSew, EROnedieby, christinalf3

Administrators: admin: 23, Adrian Gosbell: 318, diseli: 967, Bob Maier: 3, Nico Peereboom: 77, Michael Rabone: 4, richiet: 406, JanCees: 29