Skip to content

Instantly share code, notes, and snippets.

@jyoung
Created March 12, 2018 14:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jyoung/07ef9c03ce9cea9510834d92f9a143f4 to your computer and use it in GitHub Desktop.
Save jyoung/07ef9c03ce9cea9510834d92f9a143f4 to your computer and use it in GitHub Desktop.
LANSA Tour Of Heroes Header
function options(*DIRECT)
begin_com role(*EXTENDS #PRIM_PANL) displayposition(1) height(65) left(0) tabposition(1) top(0) width(500) layoutmanager(#MainPanelLayout)
* =====================================================================================
* LAYOUT
* =====================================================================================
define_com class(#PRIM_TBLO) name(#MainPanelLayout)
define_com class(#PRIM_TBLO.Row) name(#LayoutRow1) displayposition(1) parent(#MainPanelLayout)
define_com class(#PRIM_TBLO.Column) name(#LayoutColumn1) displayposition(1) parent(#MainPanelLayout)
define_com class(#PRIM_TBLO.Item) name(#LayoutItem1) alignment(TopLeft) column(#LayoutColumn1) manage(#HeaderLabel) parent(#MainPanelLayout) row(#LayoutRow1) flow(Down)
* =====================================================================================
* UI COMPONENTS
* =====================================================================================
define_com class(#PRIM_LABL) name(#HeaderLabel) caption('Tour Of Heroes') displayposition(1) ellipses(Word) height(65) left(0) parent(#COM_OWNER) tabposition(1) tabstop(False) top(0) verticalalignment(Center) width(500) themedrawstyle('Title')
end_com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment