>>
APLDN Home

>>
Events

>>
Trainings

>>
APL Books

>>
APLDN Links

>>
Discussion Groups

>>
Downloads

>>
Articles

>>
Library

>>
Learning Tools

>>
APLDN User IO

>>
APL2000.com




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 ''.


Comments:

Author Thread:
davin.church
Idea for new property: 'promptip'
Posted: Wednesday, July 12, 2006 6:50 PM (EST)

It sounds to me like that would be awfully easy to implement as either a simple function call or even in an onAction handler.

 

Besides, prompts are rather limited in length, and I've often set prompt & tooltip to different texts because of that.

     



APL2000 Official Web Site

Service is the rent we pay for being. It is the very purpose of life, and not something you do in your spare time.
--- Marion Wright Edelman

APLDN Home   |    |  Events   |  Trainings   |  APL Books   |  APLDN Links   |    |  Discussion Groups   |    |  Downloads   |  Articles   |  Library   |  Learning Tools   |  APLDN User IO   |  APL2000.com   |