TextBox Size

Hello Please i want to know how to get the size of a textbox (width and height)

for example if i diplay a text in a textbox call text1 , how can i know the height occupied by the textbox


Hello Lorisse,

Assign a Name for the Textbox in the textbox properties.
Let’s assume that your textbox name is “Textbox1”; you require to code like as shown below:


This way you can get the Height and Width of a textbox.

Congruent Info - Tech

Is this question about Dynamics NAV??