Sie sind nicht angemeldet.

viewinz

Fortgeschrittener

  • »viewinz« ist der Autor dieses Themas

Beiträge: 145

Wohnort: Wellington, New Zealand

Beruf: Trying to build an entire walkthrough of NZ for tourists

  • Nachricht senden

1

Dienstag, 23. Februar 2010, 04:07

get textfield height

I'm sure before I could get the value of a textfield height, now I don't seem to be able to do it.

When I use wordwrap and autosize to extend the length of a textfield and try and get the length it doesn't return a value.

2

Mittwoch, 24. Februar 2010, 15:05

Hi,

what do you mean?
you don't get a value from "plugin[name].height" ?

best regards,
Klaus

3

Freitag, 24. Juni 2011, 11:46

can't get textfield height when autosize is true i.e. autosize="center". How can i get textfield height?

4

Freitag, 1. Juli 2011, 10:23

solved

get(plugin[textfield]. height) is work when plugin make not addplugin() action.

Beiträge: 1 857

Beruf: Virtual Tours - Photography - Krpano developer

  • Nachricht senden

5

Freitag, 1. Juli 2011, 16:30

In that case, you were probably trying to get the height in the same code frame as adding the plugin. To get it to work you would have needed to use a delayed call to check the height in a subsequent frame which ensured the plugin was already created.
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

6

Donnerstag, 7. Juli 2011, 07:06

In that case, you were probably trying to get the height in the same code frame as adding the plugin. To get it to work you would have needed to use a delayed call to check the height in a subsequent frame which ensured the plugin was already created.

Really, i try to get height with delayedcall and get correct height of html text. Thanks for help.