Multiline tooltip

Using PB 11.5.1 with Oracle 10g

I want to fill a tooltip of a column with the value of other column in the 
query.
In the tip expression I indicate the column value that has to be shown

This works fine.
The column for the tooltip value is 250 char, and my customer asked me if it 
is possible
to split up the 250 char in multilines.

I said to him to use ~r~n in the 250 char column. This does not work. The 
tooltip stays a single line
showing ~r~n in it.

Any idea why?


Jan Vogelaers 

0
Jan
12/5/2010 4:54:54 PM
sybase.powerbuilder.datawindow 28057 articles. 4 followers. Follow

2 Replies
1749 Views

Similar Articles

[PageSpeed] 33

Hi Jan,

if the 250 char column is build in the SELECT statement,
you have to use a DB specific function character to generate
CR+NL, for instance:

 select '1st line' + char(13) + char(10) + '2nd line' as totite
   from ...

HTH
Chris Werner
f+s software gmbh

"Jan Vogelaers" <Jan.Vogelaers@skynet.be> schrieb im Newsbeitrag 
news:4cfbc3de$1@forums-1-dub...
> Using PB 11.5.1 with Oracle 10g
>
> I want to fill a tooltip of a column with the value of other column in the 
> query.
> In the tip expression I indicate the column value that has to be shown
>
> This works fine.
> The column for the tooltip value is 250 char, and my customer asked me if 
> it is possible
> to split up the 250 char in multilines.
>
> I said to him to use ~r~n in the 250 char column. This does not work. The 
> tooltip stays a single line
> showing ~r~n in it.
>
> Any idea why?
>
>
> Jan Vogelaers 

0
Chris
12/6/2010 9:14:15 AM
Jan:
When you include the ~r~n in the string to be displayed in the tool tip it 
is taken as part of the string when display and you get 1 line. As in 
'Display this~r~n as the tool tip'.
You need too break up the string into a couple of set and put the ~r~n after 
each one then it will produce several lines.
As in 'Display this'~r~n + 'as the tool tip'. will provide 2 lines.
Hank

"Jan Vogelaers"  wrote in message news:4cfbc3de$1@forums-1-dub...

Using PB 11.5.1 with Oracle 10g

I want to fill a tooltip of a column with the value of other column in the
query.
In the tip expression I indicate the column value that has to be shown

This works fine.
The column for the tooltip value is 250 char, and my customer asked me if it
is possible
to split up the 250 char in multilines.

I said to him to use ~r~n in the 250 char column. This does not work. The
tooltip stays a single line
showing ~r~n in it.

Any idea why?


Jan Vogelaers 

0
Hank
12/14/2010 10:39:28 PM
Reply:

Similar Artilces:

Tooltips, Tooltips, Tooltips!!!
There seems to be an awful lot of questions lately concerning tooltips. For those of you who don't read comp.soft-sys.powerbuilder on a regular basis and don't pay too much attention to multiplatform b.s. for client applications here is a link to an excellent Rui Cruz's "Tooltips" implementation using comctl32.dll http://www.geocities.com/SiliconValley/Peaks/3889/ . It is going to be a little trickier to make this thing work with Datawindows, but not too bad :-)) (BTW, Rui has a lot of other useful stuff there). For those of you who pay attention to multip...

to impliement tooltip in datawindow powerbuilder 11.2
Hi all, I am using powerbuilder 11.2 version . How I can impliment tooltip message for datawindow. Please it would be very helpful if anybody send a link to impliment a tooltip for datawindow for 11.2 version. With thanks Pol Hi, on Sybase CodeXchange there is a "Datawindow Tooltip Service". Or you can upgrade to PB 11.5 which has that native. HTH Chris Werner f+s software gmbh <POLACHAN> schrieb im Newsbeitrag news:4a408f16.4673.1681692777@sybase.com... > Hi all, > > I am using powerbuilder 11.2 version . How I can impliment > tooltip message for datawindow. Please it would be very > helpful if anybody send a link to impliment a tooltip for > datawindow for 11.2 version. > > With thanks > > Pol ...

superreview cancelled: [Bug 45375] Long tooltips should wrap instead of being cropped (multiline tooltips) : [Attachment 144863] Tooltip wrapping patch (ignores CRs and NLs)
Chris Thomas (CTho) <cst@andrew.cmu.edu> has cancelled Chris Thomas (CTho) <cst@andrew.cmu.edu>'s request for superreview: Bug 45375: Long tooltips should wrap instead of being cropped (multiline tooltips) https://bugzilla.mozilla.org/show_bug.cgi?id=45375 Attachment 144863: Tooltip wrapping patch (ignores CRs and NLs) https://bugzilla.mozilla.org/attachment.cgi?id=144863&action=edit ...

superreview requested: [Bug 45375] Long tooltips should wrap instead of being cropped (multiline tooltips) : [Attachment 144863] Tooltip wrapping patch (ignores CRs and NLs)
Chris Thomas <cst@andrew.cmu.edu> has asked jag (Peter Annema) <jag@tty.nl> for superreview: Bug 45375: Long tooltips should wrap instead of being cropped (multiline tooltips) http://bugzilla.mozilla.org/show_bug.cgi?id=45375 Attachment 144863: Tooltip wrapping patch (ignores CRs and NLs) http://bugzilla.mozilla.org/attachment.cgi?id=144863&action=edit ...

superreview cancelled: [Bug 45375] Long tooltips should wrap instead of being cropped (multiline tooltips) : [Attachment 144860] Tooltip wrapping patch (uses CRs and NLs if present)
Chris Thomas (CTho) <cst@andrew.cmu.edu> has cancelled Chris Thomas (CTho) <cst@andrew.cmu.edu>'s request for superreview: Bug 45375: Long tooltips should wrap instead of being cropped (multiline tooltips) https://bugzilla.mozilla.org/show_bug.cgi?id=45375 Attachment 144860: Tooltip wrapping patch (uses CRs and NLs if present) https://bugzilla.mozilla.org/attachment.cgi?id=144860&action=edit ...

superreview requested: [Bug 45375] Long tooltips should wrap instead of being cropped (multiline tooltips) : [Attachment 144860] Tooltip wrapping patch (uses CRs and NLs if present)
Chris Thomas <cst@andrew.cmu.edu> has asked jag (Peter Annema) <jag@tty.nl> for superreview: Bug 45375: Long tooltips should wrap instead of being cropped (multiline tooltips) http://bugzilla.mozilla.org/show_bug.cgi?id=45375 Attachment 144860: Tooltip wrapping patch (uses CRs and NLs if present) http://bugzilla.mozilla.org/attachment.cgi?id=144860&action=edit ------- Additional Comments from Chris Thomas <cst@andrew.cmu.edu> I'm not sure which should be included. Neil and Jag can figure that out. ...

Powerbuilder Datawindow
Hello, Can you do a Datawindow in VS 2005 without using Datawindow.NET just by using common controls i.e DataGrid etc. Thanks Chris What would you use the DataWindow for then? To retieve the datawindow into a datastore and then attempt to use it to populate the DataGrid? I've heard of people who want to have their cake and eat it too, but it sounds like you want no cake but you want to eat it... On 20 Feb 2007 23:42:31 -0800, Chris Ceniza wrote: >Hello, > >Can you do a Datawindow in VS 2005 without using >Datawindow.NET just by using common control...

ToolTips for Datawindow
I wanted to show a tool tips for datawindow(tabular) columns. Anybody have any idea or sample code for implementing this? Thanks Raj. Check the powersoft.public.powerbuilder.powerscript newsgroup ;) P. Rajesh Krishnakurup <rajesh_krishnakurup@iroquois.com> wrote in message news:3AC4A371.C36AA620@iroquois.com... > I wanted to show a tool tips for datawindow(tabular) columns. Anybody > have any idea or sample code for implementing this? > > Thanks > Raj. > ...

Datawindow tooltip
Hi all, I would like to show a tooltip on datawindow buttons. There is a way to do this using 'Append Html' or with another solution? TIA, Mark ...

Multiline Tooltip
Hello, I am trying to find a way to have a multiline Tooltip for an Server Side Image Control Also the tooltip will be created dynamically (Depending on the data in the DB) My end result would be Title Product1 Date1 Product1 Date2 Product1 Date3 Product1 Date4 Anybody has an idea, or another possibility to create the equivalent. I have tried to place Line Feed caracters (/A, /N) Without Success. Thanks Eric BlaisWeb Developperblaireau47(@)hotmail.comAlways looking for a new challenge Sure, I have done just that with a project manager application I...

multiline tooltips
Is it possible to have multiline tooltips in XUL/javascript? -Shibu Narayanan=20 ...

Powerbuilder datawindow
Hi! I'm importing a some data into my application. The way I do this is to insert a the rows into a datawindow and then do an update() on the datawindow. If a row in the database allready exists with the same primary key as I have inserted into the datawindow, what will happen then? Will then datawindow do an update or will I get an error? I'm doing this on a datastore object. How can I get an errormessage from the datastore? I have tried the errormessages and codes from the transaction object (sqlca.sqlerrtext and sqlca.sqlcode). Jan Erik > If a row in the...

DataWindow This, DataWindow That...
Blah blah blah You've heard it enough that you don't even want to comment on how many times... The DataWindow. ....but it can't be enough anymore...can it? This from one of our colleagues (and yes my apologies for taking it out of context)... "...PB covers all you need to do that in ONE Tool. This includes Windowprogramming ( meaning the interface to the user: Windows, Sheets, diallougeboxes, etc.), Database operability AND Reporting! Well, I see als well as many other PB users that some of the implementations and features PB offers are improvable. But this seems not to be the main issue here to be discussed. Fact is, and I've looked around to may other Programming systems, there is NO OTHER tool (I did not find any) which is comparable RAD..." So here's the two-fold feedback I'm hoping for and thanks in advance for your investment of time/effort to respond... *** 1) What true competitive differentiators does PowerBuilder still have as 2007 draws to a close? *** Yes, we can add/improve features but... *** 2) What can we add to, or change about PowerBuilder that would be a true competitive differentiator? *** Arguably one way to distill this down would be to ask what can be done for PowerBuilder that would make it better than (Visual Studio + DataWindow .NET)? Maybe its a single feature. Maybe its a new category of functionality. Maybe its a "eureka" modification to something PowerBu...

tooltips for datawindow fields
I think it would be nice to have tooltips for DW fields. It would be helpfull for CHAR fields holding long strings that not fully displayed. Serg; Yes ... and .... should be one all controls!!!!! regards ... Chris "Serg" <serg@alef.ru> wrote in message news:Isr6JextCHA.155@forums.sybase.com... > I think it would be nice to have tooltips for DW fields. > It would be helpfull for CHAR fields holding long strings that not fully > displayed. > > Tooltips for dw fields in a generic form provided by PBVM/datawindow engine does not sound...

PB only tooltips for datawindows
Does anyone have suggestions/code for a PB only dw tooltip implementation? I have seen some already using comctl32.dll? A typical implementation is to use mousemove and timers to determine how long the cursor is over an area then to show a small child window which contains text taken from the tag of the column the cursor is over. I did that a while back for a client but don't have the code for it anymore. If you haven't already, go to groups.google.com and search for Powerbuilder tooltips datawindow (or a set of keywords like that) and see if others have posted snippets ...

powerbuilder treeview tooltip
hello, I've some treeview objects on the right side of the screen. the problem is: when the mouse is over the items of these treeview i can't see the entire tooltip cause this expands on the right and go out of the screen. how can I show the tooltip on the left instead on the right? Thanks What version of PB are you using? It seems to me that PB should be smart about this. I'm not sure if there is a built in solution. One other solution would be to roll your own tooltip. There are tooltip examples on the web. Brad andrea.frosali@gmail.com wrote: > hello...

multiline tooltip #2
Is there a way to make tooltips for asp.net net controls multiline?If I set the tooltip to a long text string it appears in browser like[this is a really looooooooooooooooooooooooooooooooooong text str...] I have tried inserting \n and <br> but it doesn't work -Josh K. you could do it like this:Me.HyperLink1.ToolTip = String.Format("This{0}is{0}a{0}multiline{0}tooltip", Environment.NewLine)Just beware that firefox doesnt handle tooltips (multiline or long) very well.Mike Banavige~~~~~~~~~~~~Need a site code sample in a different language? Try converting...

How to realize datawindow with PowerBuilder
Hello group! I want to realize datawindow with PowerBuilder,thus client may develop report themselves with the tool.I want some advice,or give me some URL of similar sample. I have a poor English,hehe. thanks very much. Infomaker? -- Chris Keating Sybase Adaptive Server Anywhere Professional Version 8 **************************************************************************** * Sign up today for your copy of the SQL Anywhere Studio 9 Developer Edition and try out the market-leading database for mobile, embedded and small to medium sized business environments fo...

Printing a Datawindow in PowerBuilder
I have some problems properly printing a datawindow in PowerBuilder. When I print a document the printer will print the top half of the ast line on the third and bottom half of the line on the fourt page. In my datawindow I only have aboout four fields but the last one is a SQL Server "TEXT" field, so this field can store many pages of information. In the PowerBuilder Data Window I have the field set to auto size height. Another thing I have noticed that it prints differently on different computers, meaning it may print fine on one computer and not on another. S...

Hover/ToolTip on datawindows
I am using 8.0.2. Is there a way to get the toolbaritemtext functionality on a datawindow? I would like to display more detailed information when a user hovers over an row/column on a datawindow. E.G., hovering over a user name would display the phone number, department, et.cet. Scott Ewine http://www.onkenhout.speedlinq.nl/pbtip015.html On 30 Jun 2005 13:17:29 -0700, "Scott Ewine" <sae@techassist.com> wrote: >I am using 8.0.2. Is there a way to get the toolbaritemtext functionality >on a datawindow? I would like to display more detailed inf...

multiline column in datawindow
I want to make some columns multiline in datawindow so I set autohscroll=FALSE and autovscroll=TRUE. When I click the column and edit someting there is no problem it is multiline but if I select another column it is single line again. How can I solve it? On Jul 15, 6:10=A0am, "Murat Yelkovan" <muratyelko...@yahoo.com> wrote: > I want to make some columns multiline in datawindow so I set > autohscroll=3DFALSE and autovscroll=3DTRUE. > When I click the column and edit someting there is no problem it is > multiline but if I select another column it is si...

PowerBuilder DataWindow #2
Hi all, I have a requirement to implement a master-detail sheet. That's ok. However, based on the user-logged-in credential, the user may OR may not be able to edit the details part. Now I can easily implement this by adding a constraint while updating the details' data. if user_can_edit then update end if The problem is this: If the user is not entitled to make changes, he is still able to put focus to the details' form data and modify (of course I am not updating it)...but the user can get a feeling "oh I am able to modify the data". Is it so...

Powerbuilder Datawindow Painter.
We have developed an application that allows user to create custom data entry windows using datawindow painter dw60.exe (PB 6.5.1). This works very well for our users who are non IT people. The problem we have is that dw60.exe is distributed with the Powerbuilder but not sold as a separate purchasable product. After discussions with Sybase representatives we have each user purchase a copy of Infomaker to make them 'legal'. We are not totally happy with this situation as we move forward to PB 8 also we are not sure if there is a dw80.exe or whether this will be supp...

MultiLine Datawindow Control
I was wondering if anyone knew how to implement a multi line edit control of variable height. In otherwords, as the user types in this control, I would like the control to increase in height for each new line. I tried using the autosize height but this only changed the height when the control lost focus. Any ideas ? It's not an ideal solution as it means that validation is done after every key stroke, but putting AcceptText() in the editchanged event will achieve this. -- All views expressed in this message are my own and not necessarily those of my employer "Co...

Web resources about - Multiline tooltip - sybase.powerbuilder.datawindow

NestaDB for iPad on the iTunes App Store
Read reviews, get customer ratings, see screenshots, and learn more about NestaDB on the App Store. Download NestaDB and enjoy it on your iPhone, ...

Open Directory - Business: Telecommunications: Equipment: Business Systems
... companies that primarily repair & refurbish telecommunications equipment for other companies or individuals. This equipment includes multiline ...

Wikipedia:AutoWikiBrowser/User manual - Wikipedia, the free encyclopedia
/u int - /u loads a specified (either by user name or by its number in the list of profiles) user profile, and logs into it. Profile must exist, ...

Windows 7 - Wikipedia, the free encyclopedia
less than three years after the release of its predecessor, Windows Vista . Windows 7's server counterpart, Windows Server 2008 R2 , was released ...

NEC PBX & Telephone Systems For Small Business Sydney
The NEC Xen Axis/Master telephone system has been discontinued. We continue to provide spare parts and support for this system through our offices ...

Surperformance© ratings
Live market prices from All Stock Exchange. Stock market advice and financial information for active investors. Real-time recommendation leader. ...

ACE Group - A Leading Global Insurance Organization
... is one of the world's leading global commercial property and casualty insurance organizations The ACE Group is one of the world’s largest multiline ...

Upcoming Adobe Reader Update for iOS and Android
Engineering blog for Adobe Reader on mobile platforms

Aite Group Latest Research
... a Member BLOG Home > Press > Press Releases News from Aite Group, LLC Toggle Advanced Search Claims Management Systems for Top-Tier and Multiline ...

Price Drop: Goal ToDo
... categories support.• Calendar and List double Views, both with swap function • Customizable List swapping view• Quick Add Task Entry with multiline ...

Resources last updated: 2/21/2016 8:44:23 PM