Little help please guys..
I've got 2 windows on my app, both open at the same time
A main window and a tools window.
I want the tools window setup with a textarea that can be cut and pasted to, heres the code I'm using to setup the second window:
I want the textarea to resize with the window..
The code works, but I lose sight of the text that was already on the window before its resized. It's still there, but its not showing - I think its a refresh problem.
If I highlight the existing white area - where the text was - it will be displayed again.
I've tried using UPDATEWINDOW and FLIP - makes no difference, and I cant use the FLIPCANVAS command because it isnt a canvas.
I've got 2 windows on my app, both open at the same time
A main window and a tools window.
I want the tools window setup with a textarea that can be cut and pasted to, heres the code I'm using to setup the second window:
Global wordbankwin=CreateWindow("Word Bank",win(2)\x,win(2)\y,250,565,0,19) Global wordbank=CreateTextArea(0,0,250,565,wordbankwin,0)
I want the textarea to resize with the window..
If EventID()=$802 Then If EventSource()=wordbankwin Then SetGadgetShape wordbank,0,0,GadgetWidth(wordbankwin),GadgetHeight(wordbankwin) EndIf
The code works, but I lose sight of the text that was already on the window before its resized. It's still there, but its not showing - I think its a refresh problem.
If I highlight the existing white area - where the text was - it will be displayed again.
I've tried using UPDATEWINDOW and FLIP - makes no difference, and I cant use the FLIPCANVAS command because it isnt a canvas.