A STRING control on a popup window opened from a browse shows nothing

Applies to: posted in the sv.clarion.clarion10 group; the thread names no template chain.

Problem

Right-clicking a browse record opens a window that was written in source code. A local variable Loc:ItemDescription is set in the browse's new selection embed:

Loc:ItemDescription = 'Item: ' & Clip(Fil:ItemId) & ' Description: ' & Fil:Description

A string control on the popup uses that variable as its USE variable, but nothing shows.

Solution

  1. First find out whether the control is a STRING() or an ENTRY().
  2. For a STRING(), assign the text to the control once the window has opened: ?String{PROP:Text} = Loc:ItemDescription.
  3. The original poster answered that this worked.

Caveats

  • A second poster asked whether the item id and the literal text appear at all; if they do, the problem may be a missing Fil:Description. The thread did not settle that.
  • The thread does not say why the USE variable did not fill the string; it only reports that PROP:Text worked.
  • It is not stated in which embed the PROP:Text line was placed, only "once the window has opened".

Today (2026)

Not re-tested. Setting PROP:Text on a STRING control is likely still valid; check your own version.

Sources: the original poster (Mar 2017, the question), Lee W., Liam (Mar 2017) in sv.clarion.clarion10.