Author |
Message |
18/06/2009 13:04:21
|
moebus
Power User
Joined: 21/11/2007 12:49:18
Messages: 93
Offline
|
For a combofield, the value help popup opens right below this field (...as is correct for most cases...).
We have a special situation when we want to open the list at a different location. How could this be achieved?
While it is possible to give an absolute position, this does not help here since we do not know the current location of our target control.
|
|
|
18/06/2009 13:06:50
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5521
Offline
|
...where do you want to open it? If it is not an absolute value, is it some pixel value, relative to the combofield's location?
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
18/06/2009 13:30:39
|
moebus
Power User
Joined: 21/11/2007 12:49:18
Messages: 93
Offline
|
see attached screenshot;
User clicks on button, but the selection list should be positioned below the entire row of fields, since all these fields are filled when selecting an item - precisely at the left bottom of the leftmost field.
So we could either give the relative offset from the button (assuming we can calculate this correctly?), or preferably specify a different control (in this case would be the field for "länge" to be used for your position calculation.
(how to specify a control - provide its ID (..how do we readily obtain it..), or give for each element a flag with which it can claim to be the owner of the new popup (and lets hope that only one control will claim so - this is something similar to the focus stuff).
|
Filename |
bild1.png |
Download
|
Description |
|
Filesize |
8 Kbytes
|
Downloaded: |
402 time(s) |
|
|
|
18/06/2009 14:11:41
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5521
Offline
|
...I like the idea of being able to specify an ID of a referrred control. Even though I do not like explicit id-values, but here we have a good reason!
Something like popup.setLeft("IDxxxx").
Let us check...
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
29/06/2009 12:40:08
|
moebus
Power User
Joined: 21/11/2007 12:49:18
Messages: 93
Offline
|
Hi,
any plans on this feature? looks like it did not make it into todays update.
Manfred
|
|
|
29/06/2009 12:51:30
|
CaptainCasa
Power User
Joined: 21/11/2007 12:23:06
Messages: 5521
Offline
|
"Let us check" does not mean "part of next update" ;-)
Björn
|
Björn Müller, CaptainCasa GmbH |
|
|
|