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: 680
Member Since:
01 Oct 2012
sp_UserOfflineSmall Offline

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: 371
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.

Theo Neeskens, Uniface Consultant and general problem solver at ITBLOCKZ
Forum Timezone: Europe/Amsterdam

Most Users Ever Online: 131

Currently Online:
24 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

ulrich-merkel: 1890

Iain Sharp: 680

Theo Neeskens: 371

gianni: 357

Adrian Gosbell: 318

istiller: 299

rogerw: 272

Knut: 229

lalitpct: 197

Arjen van Vliet: 184

Member Stats:

Guest Posters: 3

Members: 10982

Moderators: 0

Admins: 6

Forum Stats:

Groups: 1

Forums: 62

Topics: 2323

Posts: 10052

Newest Members:

greentipodent1976, NicolasHib, gipipufen1981, Alfredvax, Lesterpioto, crystalst3, otogsa12, Ramonmaw, harolddz1, Lariskawo

Administrators: admin: 23, diseli: 1045, Nico Peereboom: 84, richiet: 406, Mike Taylor: 38, JanCees: 39