I have found a way to make the field wider, but when I try to make it higher, that does not work.
Since I need to extend the standard form DocuView and when making an extention of the form it does not seem to be possible to edit the fields properties.
So instead I have made the following extention class.
internal final class CUS_DocuViewForm_EventHandler
{
[FormEventHandler(formStr(DocuView), FormEventType::Initialized),
public static void DocuView_OnInitialized(xFormRun sender, FormEventArgs e)
{
FormControl notesControl = sender.design().controlName('DocuRef_Notes');
if (notesControl)
{
notesControl.width(500);
notesControl.height(500);
}
}
}
Does anyone know how I can change the size of the note field on the form?


Report
All responses (
Answers (