from Frontline: OWI and Uniface 9
Author: ulrichmerkel@web.de (ulrich-merkel)
OWI and Uniface 9 from ebbeatty
We recently migrated a test area to uniface 9.2.03, after the migration some of our 3gl code that uses the owi api to alter widget sizes is failing to work, its using the OWIENTRY with the passed request to be OREQ_SETATTR, the call seems to go through fine on the 3gl side (return of 0) as in the previous releases, but the call seems to have no effect on the active screen. Did any of this functionally change with 9 release? Any ideas?
Thanks,
-Erik
Update: The HWIDGET being returned during the call to oGetWidget is always returning the same hwid when linked against uniface 9, when linked against uniface 8 it returns different hwid's for each call.. uniface bug?
*************************
Hi Erik,
have you recompiled/linked your DLL with the 3GL environment of V9?
Success, Uli
*************************
Hi Uli, yes we have, the new dll is using the lib & includes from the v9 install. I think the problem is that we are using a multiple occurrence field on the form and then making the 3gl call to resize the occurrence currently being painted, but for some reason under uniface 9 the call to get the widget id is always returning the 1st occurrance id.