Control - HintPopup Property

HintPopup allows a PopupPanel instance to be used instead of the default hint text box

Member of Control (PRIM_CTRL)

Data Type - PRIM_PPNL - Popup panel


The HintPopup property is a reference to a PopupPanel to be used in place of the standard hint label.
This gives the developer complete control over the content and format of the hint.


In this example, the Settings image is using a HintPopup. Hover over the image to see the popup.
Begin_Com Role(*EXTENDS #PRIM_WEB) Height(456) Width(864) Theme(#SYS_THEME<2015Blue>)
   Define_Com Class(#PRIM_VS.Style) Name(#Style1) Backgroundbrush(#Brush1)
   Define_Com Class(#PRIM_VS.SolidBrush) Name(#Brush1) Color(Theme50)
   Define_Com Class(#PRIM_PPNL) Name(#Popup) Closebutton(True) Displayposition(1) Left(287) Tabposition(1) Tabstop(False) Top(8) Height(197) Autoclose(False) Width(340) Style(#Style1)
   Define_Com Class(#PRIM_LABL) Name(#Label1) Displayposition(1) Ellipses(Word) Height(33) Left(8) Parent(#Popup) Tabposition(1) Tabstop(False) Top(8) Verticalalignment(Center) Width(313) Caption('Settings') Themedrawstyle('DarkTitle') Marginleft(4)
   Define_Com Class(#PRIM_LABL) Name(#Label2) Caption('Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum') Displayposition(2) Ellipses(Word) Height(145) Left(8) Parent(#Popup) Tabposition(2) Tabstop(False) Top(40) Width(329)
   Define_Com Class(#PRIM_LABL) Name(#Label3) Caption('Hover over this label to see the hint') Displayposition(1) Ellipses(Word) Height(74) Left(8) Parent(#COM_OWNER) Tabposition(1) Tabstop(False) Top(8) Verticalalignment(Center) Width(279) Themedrawstyle('MediumTitle') Alignment(Center) Hintpopup(#Popup)

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020