offsets of InputBox object... - Forum

Forum Navigation
You need to log in to create posts and topics.

offsets of InputBox object...

Hello everyone

Is there a way to adjust the X and Y offsets of any text, in an InputBox object?

I'll appreciate all ideas, no matter how absurd...

infinite thanks

@daviddeargentina

I'll appreciate all ideas, no matter how absurd...

Here goes absurd ... assuming you want an offset of 10 pixels to the left

1) place a Rectangle ...

a) on top of the InputBox
b) at the same left position as the InputBox but 10 pixels lower
c) no borders
d) height to be such as to cover bottom of TextBox (see below)

2) place a TextBox ...

a) on top of the Rectangle
b) 10 pixels to the right of the InputBox
c) 10 pixels lower than the InputBox
d) no borders
e) with its content being the variable assigned to the InputBox (so every keystroke is echoed)

3) Optional ... a button or other place to do a FocusObject on your InputBox

Voila.

If you can not replicate my experience (or I misunderstood your requirement), I will prepare a pub to show this in action.

Thanks a bunch @gaev!

 

Is exactly the trick i'm using.

I guess try to change something, is not necesary...

Cheers,