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






0
Ewak
11/25/2000 12:05:32 PM
sybase.powerbuilder.general 62418 articles. 14 followers. Follow

1 Replies
491 Views

Similar Articles

[PageSpeed] 3

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" <ewak@md2.vsnl.net.in> wrote in message
news:Wgv6CntVAHA.270@forums.sybase.com...
> 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
>
>
>
>
>
>


0
Bug
11/27/2000 4:13:48 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 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 The font is stored in the registry as some magical binary value. You'll have to use API c...

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

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

Time changes doesn't change the Time
Hi, We have a Netware 4.11 + SP9 Server. During the last couple of years, whenever the time changes to or from the Summer Time (I am in UK), the server fails to change the time. And, for some reason, it doesn't allow me to change the time manually aither (with "SET TIME"). The only thing I can do is rebooting the server and change the time from the Bios. After the reboot, the server does allow me to change the time manually (with "SET TIME"). I think this is weird. I don't really want to reboot because there are about 50 clients always connected...

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 font in menus at run time? - sybase.powerbuilder.general

Change Congress - Wikipedia, the free encyclopedia
Change Congress is an American organization that aims to end perceived corruption in the United States Congress by reducing what it considers ...

Sydney to Hobart: Wild Oats XI primed for win, while others hope for weather change
Wild Oats XI are firm favourites for a record ninth line honours win in the Sydney to Hobart yacht race that starts on Saturday, Boxing Day thanks ...

Anchors away as PGA Tour players adapt to change
Just two weeks remain before PGA Tour players have to adapt to a ban by golf's rulemakers on long putters being anchored to the body and Tim ...

Suspecting climate change conspiracy, Judicial Watch sues NOAA for scientists’ e-mails
We’ve been covering the twists and turns of Congressman Lamar Smith’s (R-Tex.) tussle with the National Oceanic and Atmospheric Administration ...

Merry Christmas Eve! Let's Change How We Pick Presidents! Or Not
File this particular bit of crackpottery under Billionaires Know Best ... especially when it comes to democracy (that had to be pried from their ...

'Change Happens Slowly Until it Happens Quickly': 'BradCast' 12/23/2015
... Dr. James Hansen that the Paris Agreement is a "fraud". "I think we're certainly at an inflection point," says Romm. "You know, change happens ...

In Christmas Message, Pope Condemns ‘Brutal Acts of Terrorism,’ Ignores ‘Climate Change’
In the Pope’s annual Christmas message to the world that traditionally highlights the gravest problems facing humanity, Francis repeatedly underscored ...

These are the 3 breakthroughs that Bill Nye thinks will change the world
When asked if there was one scientific fact that blew his mind, Bill Nye, author of " Undeniable " had a whimsical response. But what about what's ...

BMW i Wins “Momentum For Change” Award
The United Nations has awarded BMW i with the “Momentum for Change” award for its efforts to spread the availability of publicly accessible electric ...

Reverse-Flash and Killer Frost Change Everything In New Promo For The Flash
Is this a trip to Earth-2?We peeks at Killer Frost and the Reverse Flash, as well as Iris [...]

Resources last updated: 12/26/2015 1:17:40 PM