Question about the NumUpDown size.

Discorez

Member
Licensed User
Longtime User
Please, help me... :BangHead:

I create fullscreen form (with FormLib.dll) and other controls in runtime. The controls size I set from current screen size (this value I define with bDeviceInfo lib). On desktop, no problems. On device, only NumUpDown control displayed with small height - property .FontSize don't work... All controls displayed is OK.
Mode of compiling - "Device exe" (not AutoScale, it's important!)
Code:
B4X:
Sub App_Start
   AddForm("fmScreen","")
   FLib.New1("fmScreen",B4PObject(1))
   FLib.FullScreen(True)
   
   AddNumUpDown("fmScreen", "nudCount", Int(CW/12), Int(fH/8), Int(CW/3))
   nudCount.FontSize = 24 'or 12 there are no distinctions 

   fmScreen.Show
End Sub

P.S. Post with sample "VGA+" I looked, but I need to set height (or font size) NumUpDown manually.
 

Attachments

  • 1.jpg
    1.jpg
    15.2 KB · Views: 207
Last edited:
Top