Features
Author |
Thread:
Idea for new property: 'promptip' |
Paul.Ravitz
|
Idea for new property: 'promptip'
Posted:
Wednesday, July 05, 2006 2:55 PM (EST)
|
Here's an idea for a new APL+Win Windows Interface property: 'promptip'. For any class which has both 'prompt' and 'tooltip' properties, setting the 'promptip' property to a char vector sets both the 'prompt' and 'tooltip' property to that char vector. In our work here, when we set both the 'prompt' and 'tooltip' properties on a control, we almost always set them to be the same thing. We either have to replicate the char vector twice, or we have to store it in a temporary variable and then apply it twice. This new property makes it much easier to set both properties to the same thing. I suppose that referencing the new property should return the value of either 'prompt' or 'tooltip' as long as they were the same; otherwise, it would return ''.
|
|
|