Textbox style exampleΒΆ
+window Window2 at 2,2 {
label_bgc = RGB_IVORY
label_fgc = RGB_INDIGO
textbox group Indexes {
style = WS_PLAIN
label_fgc = RGB_DARKVIOLET
+textbox RefBox at 43,21 {
label = "Reference "
field = Cust.Ref
}
textbox ADDBOX at 43,44 {
style = WS_RJT
rows = 4
label = "Address "
field = Cust.Add
}
}
}
In this example the style set for the group is PLAIN, and the label foreground colour for the group is set to dark violet (overriding the indigo set at window level). Both boxes in the group use the group label colours, but the Address box has a clause adding the flag WS_RJT. This flag is added to any flags already specified at group level.
RELATED TOPICS |