iOS Question How to change position and size of CustomView-Numpad TextFeld

jai

Active Member
Licensed User
Longtime User
How can the position and size of a CustomView Numpad (TextField) initiated in the Designer be changed programmatically?

These values can be changed on the fly as-
B4X:
Private Numpad1 As Numpad

Dim p As Panel
p=Numpad1.getbase
p.Left=100dip
p.Top=140dip
p.Width=55dip
p.Height=20dip

How can these values now be saved as the new size and position of Numpad1 that can be used in other Subs?
 
Cookies are required to use this site. You must accept them to continue using the site. Learn more…