How to change the tool tip font at run time?

Hi,

I want to change the tooltip's font at run time based on the user login and
display the tooltip text from the tag property.

ie., When a user logged in, the tool tip text will be read from .ini file
(Seperate .ini file will be maintained for each language.) based on the
user's language and set the tool tip text in the tag property which is
displayed as tool tip text.

I used the API Calls to display the tool tip. But how to change the tooltip
font at run time.

TIA




0
Ewak
3/5/2001 8:55:45 AM
sybase.powerbuilder.general 62418 articles. 15 followers. Follow

2 Replies
597 Views

Similar Articles

[PageSpeed] 19

The font is stored in the registry as some magical binary value. You'll have
to use API calls to change it, and I unfortunately don't know which API.

"Ewak" <ewak@md2.vsnl.net.in> wrote in message
news:BMZXLQVpAHA.198@forums.sybase.com...
> Hi,
>
> I want to change the tooltip's font at run time based on the user login
and
> display the tooltip text from the tag property.
>
> ie., When a user logged in, the tool tip text will be read from .ini file
> (Seperate .ini file will be maintained for each language.) based on the
> user's language and set the tool tip text in the tag property which is
> displayed as tool tip text.
>
> I used the API Calls to display the tool tip. But how to change the
tooltip
> font at run time.
>
> TIA
>
>
>
>


0
Bug
3/5/2001 4:22:43 PM
....send it WM_SETFONT message?

--
--
This is a FAQ, read Help, then search
http://groups.google.com/advanced_group_search

pbm_thisusuallydoesnothelp:-))
Philip Salgannik


"Bug" <jfenter@mmm.com> wrote in message
news:AH98GMZpAHA.198@forums.sybase.com...
> The font is stored in the registry as some magical binary value. You'll
have
> to use API calls to change it, and I unfortunately don't know which API.
>
> "Ewak" <ewak@md2.vsnl.net.in> wrote in message
> news:BMZXLQVpAHA.198@forums.sybase.com...
> > Hi,
> >
> > I want to change the tooltip's font at run time based on the user login
> and
> > display the tooltip text from the tag property.
> >
> > ie., When a user logged in, the tool tip text will be read from .ini
file
> > (Seperate .ini file will be maintained for each language.) based on the
> > user's language and set the tool tip text in the tag property which is
> > displayed as tool tip text.
> >
> > I used the API Calls to display the tool tip. But how to change the
> tooltip
> > font at run time.
> >
> > TIA
> >
> >
> >
> >
>
>


0
Philip
3/5/2001 4:37:00 PM
Reply:

Similar Artilces:

changing font at run time
hello, I need to change the font type and size of reports depending on the user input. I need some suggestions....Now i am trying as follows. i am using datawindowobject.modify("objectname.font.height=xx") this is working.. to get all available objects in a datawindow ... Using describe(datawindow.objects) i got all objects in a string.. Is there any way to get the number of objects and get the name one by one ..(so that i can put in a loop and change it) any other suggestions also welcome thanks bal A function we had since 3.0. Just import it. (...

How to change the font in menus at run time?
Hi, How to change the popup or MDI menu item's font at run time in PB, So that the multilanguage feature can be achieved. TIA Sorry for wrong posting ...

How to change the font in menus at run time?
Hi, How to change the popup or MDI menu item's font at run time in PB, So that the multilanguage feature can be achieved. TIA AFAIK, it can't be done solely within your app. There's a registry setting for it, but it uses a long binary value to specify the font and size. And changing that value will affect EVERY menu on your system. Plus, you have to find a way to get Windows to refresh the display before the change will take effect. If you really want to go through all of that, let me know and I'll find the registry key for you. "Ewak" <...

Globally change font sizes in firemonkey (at run time)
hello How do I change the default settings so I can in/decrease the font size of Tlabel/ buttons etc for all buttons in the app My understanding was to edit the global settings but with code how ? I googled forever but I could be wrong firemonkey is another beast from the VCL users thank you PW > {quote:title=Philippe Watel wrote:}{quote} > hello > How do I change the default settings so I can in/decrease the font size of Tlabel/ buttons etc for all buttons in the app > My understanding was to edit the global settings but with code how ? I googled forever > but I cou...

Changing Font Style of List Item At run time
Dim li As New ListItem For Each li In chklstSubService.Items If ObjDR("subservicetype") = 0 Then li.Text--------------- ?????? End If I want to make the text bold at run timeRegardsSarikasarika How about this: Dim li As New ListItem For Each li In chklstSubService.Items If ObjDR("subservicetype") = 0 Then li.Text = "<b>" & li.Text & "</b>" End If Dirty, but it works..! HiTry if this works Dim li As New ListItemFor Each li In chklstSubService.ItemsIf ObjDR("subservicetype") = 0 Thenli.Attributes.CssStyle.Add("font-weight", "bold")li.Text--------...

fiGlobally change font sizes in firemonkey (at run time) [Edit]
hello How do I change the default settings so I can in/decrease the font size of Tlabel/ buttons etc for all buttons in the app My understanding was to edit the global settings but with code how ? I googled forever but I could be wrong firemonkey is another beast from the VCL users thank you PW Edited by: Philippe Watel on Jun 7, 2014 3:11 PM Philippe Watel wrote: > googled forever but I could be wrong If you google a bit more, you may even find the firemonkey group. This is for non-technical questions. ...

Changing a Label's Font Style at run time [Edit]
IW14.0.22Ultimate. DelphiXE4. TIWLabel.OnMouseOver I'd like change the Font.Style to fsunderline. It appears compiler does not like any changes to font style beyond those established at design time. Is there a unit that I'm not including, or if not, does anyone know of any run-time work-arounds short of writing a css or adding the styles to an existing one? Thinking I might outsmart any style sheet or css I set the style as underline at design-time (component and region) so I could clear the style at MouseOver (which works) and then get it back on OnMouseOut, but it didn't...

How do change the Font Name property to the TextBox control at the Run time in .Net 2.0?
Hi., I'm developing a website to support Tamil and English languages at runtime. I'm using Resource files to change the properties of the controls at runtime. There is no Bindable property to change the Font property for the Text Box control. That's my problem. Because I need to change the Font property of the Text Box at runtime. Anybody have any other ideas to change the Font property at runtime? Please Help me...     Advance Wishes for you..............Loganath.V9952070572 Hi, define your differnt font's in a cssfile like thisstyle.css  .text1{f...

how to run web site administration tool in run time
I have a website which has three kinds of users: administrators, users and guests. I want to let the adminitstrators to assign the roles to users in the database. I know there is a web site administration tool in VS2005 can handle that, but that is done in design time. Do you know how can I get to use it in runtime? In another word, let our administrators to do it on the website. He doesn't need to open VS. Thanks! you just can't do that. it is disallowed by default, obviously for security reasons however, you can build one easily.check here http://aspnet.4guysfromrolla.com...

How to get powerbuilder library version, date-time stamp at run-time?
Hi, We would like to see list of all libraries of running application along with their version and date/time stamp (in about window). We would like to get version number of compiled powerbuilder libraries (pbd's) at run-time. I don't know if pibbles compiled in dll format have advanced features (as regular dll - where right clicking on it and selecting properties will allow user to see version number of dll). Anyway, compilation of pibbles in dll format is not an option for us. I would like to see if anybody came across a solution and would like to share it with me. I ...

superreview requested: [Bug 235035] change nsIRunnable.Run to nsIRunnable.run : [Attachment 141835] change nsIRunnable.Run to nsIRunnable.run
timeless@myrealbox.com (working) <timeless@bemail.org> has asked Darin Fisher <darin@meer.net> for superreview: Bug 235035: change nsIRunnable.Run to nsIRunnable.run http://bugzilla.mozilla.org/show_bug.cgi?id=235035 Attachment 141835: change nsIRunnable.Run to nsIRunnable.run http://bugzilla.mozilla.org/attachment.cgi?id=141835&action=edit ...

superreview granted: [Bug 235035] change nsIRunnable.Run to nsIRunnable.run : [Attachment 141835] change nsIRunnable.Run to nsIRunnable.run
Darin Fisher <darin@meer.net> has granted timeless@myrealbox.com (working) <timeless@bemail.org>'s request for superreview: Bug 235035: change nsIRunnable.Run to nsIRunnable.run http://bugzilla.mozilla.org/show_bug.cgi?id=235035 Attachment 141835: change nsIRunnable.Run to nsIRunnable.run http://bugzilla.mozilla.org/attachment.cgi?id=141835&action=edit ...

Appointment time not changing to new time after making a change
Hi, We are using GW 6.5.2 and I have a problem that has got me stumped! A user calls me and reports that when in their calendar, DAY view, they click on an appointment to move it up(or down) to change a meeting time and they do not see any change until they close their calendar (or close GW all together) and re-enter GW! I try the same procedure on my computer and it works fine. I login as the user who is calling and reporting the problem and when I try it, the appoitment times moves to the new time immediately, but when they click and drag the appointment to the new time on ...

it's running on design time but not run time.
Code is like that. This code is running on desing time.. but it is not running on run time. Exception is "ComException:An operations error occured." After "search.findOne(); " exception occured. Probably reason is security.. but What's wrong? Thanks for advice. Code lines: --------------------------------------------------------------------------------------------------------------System.Security.Principal.WindowsImpersonationContext impersonationContext = ((System.Security.Principal.WindowsIdentity)Page.User.Identity).Impersonate(); Session["UserName...

Web resources about - How to change the tool tip font at run time? - sybase.powerbuilder.general

Name change - Wikipedia, the free encyclopedia
For name changes within the Wikipedia community, see Wikipedia:Changing username . For name changes of places rather than persons, see Geographical ...

Australian tennis bad boy Nick Kyrgios prepares for Hopman Cup and vows not to change focus on winning ...
... was the only disruption to Nick Kyrgios’ Hopman Cup preparation as he enters 2016 ready to repair his public image but vowing not to change ...

Bob Hawke ‘grateful’ for Keating leadership change
TWENTY-FIVE years after he ceased being prime minister, Bob Hawke still doesn’t have too many kind words for Paul Keating, the man who gave him ...

Waves of change and degradation: How surf tourism dumped on Bali and Indonesia
... driver of the economy in Bali, Java, Sumatra and parts of the eastern archipelago, surf culture has also led to unwanted cultural change and ...

Have You Heard of Voya? Allison Janney, Jesse Tyler Ferguson Aim to Change That
The company is investing $100 million in total to introduce its brand to Americans. The introductory effort first began last year when Voya aired ...

Nanoparticle-enhanced metals could radically change cars
Filed under: United States , Emerging Technologies , Technology , Future UCLA scientists inject silicon carbide nanoparticles into a magnesium ...

A New Change For Kenta Maeda
A new development could help Kenta Maeda, who might soon become available to MLB teams.

Stop Dieting and Change the Way You Eat
... role that food has in our lives, I'd like to take a moment to talk about dieting, the focus on it, and the benefits of making sustainable changes ...

Day care and language change
by Doctor Science This is a re-blog of something I submitted to Language Log back in early November, about some historical references to new ...

CNN’s Foreman: 2015 Had ‘Best Argument Yet’ In Favor of Addressing Global Climate Change
CNN's Foreman: 2015 Had 'Best Argument Yet' In Favor of Addressing Global Climate Change

Resources last updated: 1/4/2016 1:57:17 PM