Adam Boyce
|
| Posted: 02/09/2006, 5:27 AM |
|
i have a grid that displays open 'service requests'. when we click on the 'detail' link i want the screen tip (title) for the 'detail' screen to display information from the record that is open i.e. reference number, company name etc is this possible?
|
|
|
 |
Walter Kempees
|
| Posted: 02/09/2006, 8:03 AM |
|
Yes
See tips-and-solutions "alternate rows, the easy way" for the details on
doing the folowing
To display sceentips, for images you need
<img............................ alt="text">
for anyother in the <td> your need <td ................. text="text to
display">
So what I do is in the <img> or in the <td> in HTML view put cursor before >
press spacebar and from Toolbox Form insert an "A label"
In the Properties of that Label, change the name of the Label to something
useful like "TooltipTxt", set type to HTML.
sorry but coding is PhP:
In the BeforeShow of the Grid
$Container->ToolTiptxt = "";
to initially set it to blank.
In the BeforShowRow you can define you own conditions and based on what you
need do:
$Component->SetValue( ' text="Put your text here or construct the text to be
displayed using the concatenated contents of available fields" ' );
Take note of the use of single and double quotes.
Add you ASP flavour to it and it should do the trick.
You are advised to read the Tips and Solution Forum as the are 2 or three
examples in there.
Walter K
<AdamBoyce@forum.codecharge (Adam Boyce)> schreef in bericht
news:643eb4327e5fb1@news.codecharge.com...
>i have a grid that displays open 'service requests'. when we click on the
> 'detail' link i want the screen tip (title) for the 'detail' screen to
> display
> information from the record that is open i.e. reference number, company
> name
> etc is this possible?
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
aboyce
Posts: 6
|
| Posted: 02/09/2006, 10:28 AM |
|
does anybody have this code in asp?
_________________
Boycey |
 |
 |
Walter Kempees
|
| Posted: 02/10/2006, 2:26 AM |
|
Aboyce
Where I wrote <td text="..........
It should read <td title="..........
Solly
"aboyce" <aboyce@forum.codecharge> schreef in bericht
news:643eb89bb02f11@news.codecharge.com...
> does anybody have this code in asp?
> _________________
> Boycey
> ---------------------------------------
> Sent from YesSoftware forum
> http://forums.codecharge.com/
>
|
|
|
 |
|