Consultor Eletrônico



Kbase P123898: Multiple frames in window cause WIDGET-ID conflicts
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   15/05/2007
Status: Unverified

FACT(s) (Environment):

OpenEdge 10.1x

SYMPTOM(s):

Session started with -usewidgetid

Multiple frames in a window

Each frame is managed by it's own external procedure

WIDGET-ID values specified in frame definitions

The following error occurs one or more times:

**Widget ID <id> not unique (<widget>).

CAUSE:

This is expected behavior.

By design frames (and by extension dialog boxes) do not inherit the widget-id from anything. Their ids need to be assigned explicitely if they need to be predictable and they are absolute values.

FIX:

Ensure that the procedure managing the window (which will contain the frames) sets the WIDGET-ID for the frame explicitly at run-time before the frame is realized, so that no widget-ids overlap.