Page 1 of 1

VLWeb - Select Field Value

Posted: Thu Sep 20, 2018 5:51 am
by jyoung
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"
endroutine

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