H Hirogens Active Member Licensed User Longtime User Oct 8, 2018 #1 Hello I would like to create 4 panels in a scrollview and I would like to put a label in every panel that I create. Actually only one label is visible and I don't know why ... I link my project Attachments calendar.zip calendar.zip 10.2 KB · Views: 331
Hello I would like to create 4 panels in a scrollview and I would like to put a label in every panel that I create. Actually only one label is visible and I don't know why ... I link my project
klaus Expert Licensed User Longtime User Oct 8, 2018 #2 Replace this line: pnl.AddView(name_month, 33%x, pnl.Top+new_top, 200, 100) by this one: pnl.AddView(name_month, 33%x, 10dip, 200dip, 100dip) The Top property is according to top of pnl not of the screen. You shoud use dip values! Upvote 0
Replace this line: pnl.AddView(name_month, 33%x, pnl.Top+new_top, 200, 100) by this one: pnl.AddView(name_month, 33%x, 10dip, 200dip, 100dip) The Top property is according to top of pnl not of the screen. You shoud use dip values!