VLWeb - Select Field Value

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
Posts: 690
Joined: Thu Jan 21, 2016 6:43 am
Location: Oklahoma City, OK USA

VLWeb - Select Field Value

Post by jyoung » Thu Sep 20, 2018 5:51 am

In VLWeb you can mark a field as "Display Only" and enable "LabelSelectable" and the user is be able to highlight and select the field's label (caption) that can be copied to the clipboard.

Is there anyway to do this with the field value?

Code: Select all

begin_com role(*EXTENDS #PRIM_WEB) Theme(#SYS_THEME<MaterialDesignBlue>)

define_com class(#STD_TEXTL.Visual) name(#STD_TEXTL) DisplayPosition(1) Left(392) Parent(#COM_OWNER) TabPosition(1) Top(144) Width(342) Height(21) UsePicklist(False) LabelSelectable(True) DisplayOnly(True)

evtroutine handling(#Com_owner.Initialize)
#STD_TEXTL := "This is a test"

I need the user to be able to select the value "This is a test".

Post Reply