PDA

View Full Version : keyeditframe



Xarxus
October 31st, 2022, 15:47
Reading some old post I found the keyeditframe tag, but I do not find any documentation about.
Is it something deprecated substituted by stateframe --> keyedit?

Moon Wizard
October 31st, 2022, 15:54
They are exactly the same; but the documentation was specifically removed for keyeditframe, since stateframe.keyedit is the official version.

JPG

Xarxus
October 31st, 2022, 17:22
Yep, ty

I found that I don't quite understand how the offset tag inside keyedit (or even the internal frame tag) works. There are 4 numbers that should define the distance pixels for the upper left and lower right corner respectively. But it is not clear to me from what. If for example in a stringfield I put them at 0 (or at 1) in the frame I get a narrow strip that does not contain the text at all.

Moon Wizard
October 31st, 2022, 18:47
The offset for frames is the extra padding that the frame is expanded to relative to the base control position/size.

Regards,
JPG

Xarxus
October 31st, 2022, 18:58
So first number moves to the right, second to up, third to right and the last to down?

Moon Wizard
October 31st, 2022, 20:38
Offsets are always listed in this order: Left, Top, Right, Down

Regards,
JPG