BPak Active Member Licensed User Longtime User Feb 18, 2016 #1 Where does the Lbl get set? How to set the Lbl style?
Erel B4X founder Staff member Licensed User Longtime User Feb 19, 2016 #2 The Label is a placeholder. It is not added to the layout, though you can add it if you like. It holds the text related properties (these properties are added automatically to all custom views): For example in AnotherDatePicker I use this single line to copy the style to a different view: B4X: dateField.Style = Lbl.Style 'copy the font related style Upvote 0
The Label is a placeholder. It is not added to the layout, though you can add it if you like. It holds the text related properties (these properties are added automatically to all custom views): For example in AnotherDatePicker I use this single line to copy the style to a different view: B4X: dateField.Style = Lbl.Style 'copy the font related style
BPak Active Member Licensed User Longtime User Feb 19, 2016 #3 Erel said: The Label is a placeholder. It is not added to the layout, though you can add it if you like. It holds the text related properties (these properties are added automatically to all custom views): For example in AnotherDatePicker I use this single line to copy the style to a different view: B4X: dateField.Style = Lbl.Style 'copy the font related style Click to expand... So I can put the Lbl settings I want to use into the Text Propertes? Upvote 0
Erel said: The Label is a placeholder. It is not added to the layout, though you can add it if you like. It holds the text related properties (these properties are added automatically to all custom views): For example in AnotherDatePicker I use this single line to copy the style to a different view: B4X: dateField.Style = Lbl.Style 'copy the font related style Click to expand... So I can put the Lbl settings I want to use into the Text Propertes?
Erel B4X founder Staff member Licensed User Longtime User Feb 21, 2016 #4 Not sure that I understand. The properties that you add will be added to the Custom View properties. Upvote 0
BPak Active Member Licensed User Longtime User Feb 21, 2016 #5 Erel said: Not sure that I understand. The properties that you add will be added to the Custom View properties. Click to expand... What is entered into the TextProperties in the Designer Properties appears in the Lbl properties. Tried doing this with your AnotherDatePicker example and found out how it works. Upvote 0
Erel said: Not sure that I understand. The properties that you add will be added to the Custom View properties. Click to expand... What is entered into the TextProperties in the Designer Properties appears in the Lbl properties. Tried doing this with your AnotherDatePicker example and found out how it works.