form designer ate my button
· #1i wanted to move a button like 2 pixels so i dragged it
now the button is gone and the form is 4000 pixels wide
did not save. did not undo. pressed ctrl+s out of habit. what now
i wanted to move a button like 2 pixels so i dragged it
now the button is gone and the form is 4000 pixels wide
did not save. did not undo. pressed ctrl+s out of habit. what now
pressed ctrl+s out of habit
A moment of silence.
Pete · thirty years of begin and end
"It compiled on my machine."
The button is not gone. It is at Left = 3870, where you dropped it, and the form grew to fit.
Open the .lfm (right-click the form, View Source (.lfm)) and look:
object Button1: TButton
Left = 3870
Height = 25
Top = 12
Width = 75
Caption = 'OK'
endChange Left to something civilized, set the form's Width back, and switch back to the designer.
And for next time: select the control and use Ctrl + arrow keys to nudge it one pixel at a time. The mouse is for people with steadier hands than any of us.
fixed. button is back
also found three other buttons out there. no idea how long they have been living at left = 3000
They had a good life. Bring them home.
Forum rules 1 to 10 apply. Yes, to you.