Hello everyone, I would like to know if it is possible to create a command for TextArea that opens a bigger window to edit the text of TextArea, just as it already exists in the XOJO workspace. I would like to have the same option in the executable for my users. If this is possible, could you guide me on how it could be done? PS = see attached image
Make yourself a SheetWindow.
Give it a Constructor thus:
// Calling the overridden superclass constructor.
Super.Constructor
strf = strfield
DataEntry.Text = strfield.Text
where DataEntry is a larger TextArea control on your SheetWindow.
Doing things in the constructor of a window is the wrong place to do so. It has caused you problems in the past, please don’t pass the design along.
Xojo is an event driven system, use the Opening event.
1 Like
I would overload the showmodal method of a dialog window for this purpose. I created a small demo project back in 2020 which you can download from here to see how.