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
Thanks
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
Thanks
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:
Message(‘%1’,Currform.textbox1.Height)
Message(‘%1’,Currform.textbox1.Width)
This way you can get the Height and Width of a textbox.
Regards,
Congruent Info - Tech
Is this question about Dynamics NAV??