Change tooltip in runtime mode
Hi
Is possible to change the tooltip text in runtime ? I try this but it's doesn't work:
SET_ITEM_PROPERTY('B1.TEXT_ITEM5',TOOLTIP_TEXT,'message') (it's in when-mouse-enter trigger of the item)
Thanks in advance
Forms Help says:
Changing a tooltip's property in a When-Mouse-Enter trigger cancels the tooltip before it is ever shown.
So, I guess you cant use this trigger for changing tooltip.
Howewer you can create a small display item (call it "mytooltip", no bevel, visible false)
Now you can code in when-mouse-enter of your item:
:mytooltip:= 'message';
set_item_property('mytooltip', visible, property_true);
set_item_property('mytooltip',position,
get_item_property(:system.trigger_item,x_pos),
get_item_property(:system.trigger_item,y_pos)+:system.mouse_record_offset*get_item_property(:system.trigger_item,height));
dont forget to create also WHEN-MOUSE-LEAVE trigger:
set_item_property('mytooltip', visible, property_false);
Similar Messages
-
Trying to get out of Maximum Runtime Mode?
I just got a ThinkPad X100e and notice the Power management is in Maximum Runtime Mode - is there a way to change this to a more performance-oriented mode?I can't seem to find a setting for this aspect.
- Maurice
Solved!
Go to Solution.paulobe2, welcome to the forum,
you can find it and other drivers / utilities for your X100e in the X100e Driver Matrice.
Andy ______________________________________
Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
Deutsche Community Comunidad en Español English Community Русскоязычное Сообщество
PepperonI blog -
Hi all,
I am trying change images at runtime and quite frankly it's driving me nuts. I'm pretty new to Java and don't understand some of the principles but I'm trying. I have this code below, that loads up a few images. I want to be able to change some/all of these images either on a timed even or on a button press, but all the things I've tried don't work. Can someone offer me some help....thanks in advance
import javax.swing.*;
import java.awt.*;
import java.awt.event.*;
public class bc extends JFrame implements ActionListener {
public static void main(String[] args) {new bc();}
bc() {
//setUndecorated(true); // - this removed the titlebar!
setTitle("BC...");
setSize(350,125);
setResizable(false);
setLocation(50,50);
setDefaultCloseOperation(EXIT_ON_CLOSE);
setBackground(new Color(0,0,0));
getContentPane().setBackground(new Color(255,255,255));
JPanel hours = new JPanel();
hours.setLayout(new GridLayout(4,2));
hours.add(hour14);
hours.add(hour24);
hours.add(hour13);
hours.add(hour23);
hours.add(hour12);
hours.add(hour22);
hours.add(hour11);
hours.add(hour21);
JPanel mins = new JPanel();
mins.setLayout(new GridLayout(4,2));
mins.add(min14);
mins.add(min24);
mins.add(min13);
mins.add(min23);
mins.add(min12);
mins.add(min22);
mins.add(min11);
mins.add(min21);
JPanel secs = new JPanel();
secs.setLayout(new GridLayout(4,2));
secs.add(sec14);
secs.add(sec24);
secs.add(sec13);
secs.add(sec23);
secs.add(sec12);
secs.add(sec22);
secs.add(sec11);
secs.add(sec21);
JPanel helptext = new JPanel();
helptext.setLayout(new GridLayout(4,2));
helptext.add(new JLabel("8"));
helptext.add(new JLabel("4"));
helptext.add(new JLabel("2"));
helptext.add(new JLabel("1"));
//add action listenters
changeImg.addActionListener(this);
JPanel cp = new JPanel();
cp.setLayout(new GridLayout(1,6));
cp.setBackground(new Color(255,255,255));
cp.add(hours);
cp.add(mins);
cp.add(secs);
cp.add(helptext);
cp.add(changeImg);
setContentPane(cp);
setVisible(true);
public void actionPerformed(ActionEvent ae) {
hour11.PaintOff(1);
//JOptionPane.showMessageDialog(this, "changed");
repaint();
JPanel hour11 = new PaintOff(0);
JPanel hour12 = new PaintOff(0);
JPanel hour13 = new PaintBlank();
JPanel hour14 = new PaintBlank();
JPanel hour21 = new PaintOff(0);
JPanel hour22 = new PaintOff(0);
JPanel hour23 = new PaintBlank();
JPanel hour24 = new PaintBlank();
JPanel min11 = new PaintOff(0);
JPanel min12 = new PaintOff(0);
JPanel min13 = new PaintOff(0);
JPanel min14 = new PaintOff(0);
JPanel min21 = new PaintOff(0);
JPanel min22 = new PaintOff(0);
JPanel min23 = new PaintOff(0);
JPanel min24 = new PaintOff(0);
JPanel sec11 = new PaintOff(0);
JPanel sec12 = new PaintOff(0);
JPanel sec13 = new PaintOff(0);
JPanel sec14 = new PaintOff(0);
JPanel sec21 = new PaintOff(0);
JPanel sec22 = new PaintOff(0);
JPanel sec23 = new PaintOff(0);
JPanel sec24 = new PaintOff(0);
JButton changeImg = new JButton("change");
}///---------This is my PaintOff class ---------------\\\
import javax.swing.*;
import java.awt.*;
import java.awt.Image.*;
public class PaintOff extends JPanel {
Toolkit tk = Toolkit.getDefaultToolkit();
public Image imgOff = tk.getImage("off.jpg");
public Image imgOn = tk.getImage("on.jpg");
public Image paintMe = tk.getImage("off.jpg");
PaintOff(int a) {
if(a == 1) {
vOn();
} else {
vOff();
public void vOn() {
paintMe = imgOn;
//JOptionPane.showMessageDialog(new bc(), "shown");
public void vOff() {
paintMe = imgOff;
public void paintComponent(Graphics g) {
g.drawImage(paintMe,0,0,this);
}PaintBlank class is not included here, it's basically just the same as PaintOff but only has one image inside.
When I try and compile this code, I get
C:\jdk1.4\bin\bclock>javac bc.java
bc.java:79: cannot resolve symbol
symbol : method PaintOff (int)
location: class javax.swing.JPanel
hour11.PaintOff(1);
^
1 error
I don't understand this either, I've tried replacing "PaintOff(1)" with "vOn()" but I get the same error. This is baffling to be, as I thought that the hour11 would have access to all the methods inside the PaintOff class?
Anyway, thanks for any help you guys give me!
Cheers
//Chris.Hi!
Your problem is that you've used a widening conversion to convert from PaintOff to a JPanel. JPanel has no such method, and so the compiler is complaining that it can't find it.
e.g
public class NoCompile{
public static void main(String args[]){
One one = new Two();
one.methTwo();
public class Two extends One{
public Two(){}
public void methTwo(){
System.out.println("Executed 2");
public class One{
public One(){}
public void meth1(){}
} will give you the same sort of error message. To make the compiler happy, use a cast.
Now this will compile and gives the right result.
public class NoCompile{
public static void main(String args[]){
One one = new Two();
((Two)one).methTwo();
}So in your case, you want to do
((PaintOff)hour11).vOn();
Does that help?
:) jen -
Precautions to be taken while changing the Query read mode in PED system
Dear Experts,
I got a task to change the Query Read mode for more No. of queries in Production system directly itself.
Request you to let me what are the steps to be followed/precautions to be taken while changing the Query Read mode in PED.
one more doubt regarding this.....If i plan to change the Read mode of Query say Q1, how can i come to know weather the Q1 is executing or not executing by that time.
Thanks in advance for valuable response.
Thanks & Regards,
Ramesh - KumarHello,
You can change the query read mode in transaction 'RSRT', here are the steps:
1) Access transaction RSRT and enter the query name
2) Select the 'Properties' option
3) Un-check the 'Info provider' setting next to the 'Read mode' --> This enables you to change the read mode of the query --> Execute
4) Choose the option 'Generate Report' to re-generate the query program
Hope this info helps.
Thanks
Bala -
How can I change the frame rate mode?
Adobe Premiere Pro exports my videos with a variable frame rate. Because of this long videos are asynchronous. How can i change the frame rate mode? So Adobe Premie Pro exports my videos with a CONSTANT frame rate? The original video has a constant frame rate...
Sorry my mistakes. I am from Germany.. so...I mean with asynchronous that the video file and the sound file are displaced. In the beginning of the Video it's normal, but if the videos is very long it goes VERY "asynchronous"
I analyzed the video with "mediainfo":
General
Format : MPEG-4
Format profile : Base Media / Version 2
Codec ID : mp42
File size : 2.00 GiB
Duration : 20mn 13s
Overall bit rate mode : Variable
Overall bit rate : 14.2 Mbps
Encoded date : UTC 2013-12-11 13:56:13
Tagged date : UTC 2013-12-11 13:58:30
©TIM : 00:00:00:00
©TSC : 30
©TSZ : 1
Video
ID : 1
Format : AVC
Format/Info : Advanced Video Codec
Format profile : [email protected]
Format settings, CABAC : Yes
Format settings, ReFrames : 3 frames
Format settings, GOP : M=3, N=30
Codec ID : avc1
Codec ID/Info : Advanced Video Coding
Duration : 20mn 13s
Source duration : 20mn 13s
Bit rate : 14.0 Mbps
Width : 2 560 pixels
Height : 1 440 pixels
Display aspect ratio : 16:9
Frame rate mode : Variable
Frame rate : 30.000 fps
Minimum frame rate : 30.000 fps
Maximum frame rate : 30.030 fps
Standard : PAL
Color space : YUV
Chroma subsampling : 4:2:0
Bit depth : 8 bits
Scan type : Progressive
Bits/(Pixel*Frame) : 0.127
Stream size : 1.98 GiB (99%)
Source stream size : 1.98 GiB (99%)
Language : English
Encoded date : UTC 2013-12-11 13:56:13
Tagged date : UTC 2013-12-11 13:56:13
Color primaries : BT.709
Transfer characteristics : BT.709
Matrix coefficients : BT.709
mdhd_Duration : 1213733
Audio
ID : 2
Format : AAC
Format/Info : Advanced Audio Codec
Format profile : LC
Codec ID : 40
Duration : 20mn 13s
Source duration : 20mn 13s
Bit rate mode : Variable
Bit rate : 158 Kbps
Maximum bit rate : 254 Kbps
Channel(s) : 2 channels
Channel positions : Front: L R
Sampling rate : 44.1 KHz
Compression mode : Lossy
Stream size : 22.8 MiB (1%)
Source stream size : 22.8 MiB (1%)
Language : English
Encoded date : UTC 2013-12-11 13:56:13
Tagged date : UTC 2013-12-11 13:56:13
mdhd_Duration : 1213777
And there i can read that the "frame rate mode" is variable... and that's the bad thing... I want to change that point to a constant frame rate mode. I use the H.264 codec -
WebDynpro runtime mode in Visual Composer
We are unable to create and deploy Visual Composer projects with WebDynpro runtime mode due to we unable to see any datasource of systems in "Find Data Service" area.
In the same time when we use Flex runtime mode BAPIs in "Find Data Service" apears.Sorry, I mean WebDynpro runtime in Visual Composer
I've found the solution.
WebDynpro only supports Webservices as datasource.
See also note 950492
RFCs
However, if you uncheck mask unsupported features under Tools -> Options, and then deploy, BAPIs will also work to a certain extent.
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/flashvs.WebDynpro -
Xcelsius 2008 - Unable to preview changes made in design mode
Xcelsius 2008 - Unable to preview changes made in design mode
I have installed Xcelsius 2008 (RTM) and also Service Pack 1 / Fix Pack 1.1. Unfortunately, I can now not preview changes I made in design mode (but can see the change in design mode). In addition, if I save the changes made to the Excel spreadsheet (using this as the datasource) and then exit out of the application, then go back in, the changes have not been saved?!
I have also installed Fix Pack 1.3, but the same issues occurs.
This is causing us issues as we have developed a number of dashboards that can no longer be updated.
Please could someone advise?
Many thanks,
Neil.I would recommend decomposing large sets into more manageable sets. For instance, if you have data for a very large regional district, decompose the data into smaller sets for sub-districts.
As for a paper, I'm not sure, but the main determinant of performance is how many cells you bind to the component. For a typical component on a typical computer, I'd recommend no more than 9000 cells. On a weaker computer less, on a stronger computer more. -
I installed the SQL server Express 2008 R2 and then SQL Server Management Studio 2008 R2 . But during the installation, I could not choose the both SQL and windows authentication mode and an error accrued so I did that just with windows authentication mode.
Now, I want to change the windows authentication mode account to the SQL authentication mode but it shows me an error which is you do not have permission (Although I am the administrator in windows), what can I do?
Following steps are the steps that I went but I got an error:
Server properties >> security >> choose the option of SQL Server and Windows Authentication mode
and the error that I got is attached(access is denied)
Can you please help me?You can change the setting after you gain admin rights to your SQL Server. You don't admin rights automatically, you have to explicitly add yourself during the install
Here's a guide on how to (re)gain those rights:
http://v-consult.be/2011/05/26/recover-sa-password-microsoft-sql-server-2008-r2/ -
Changing flow meter's mode during the measurement
Hi,
I have the CMOSens EM1 gas flow meter which can be setted to either temperature mode or flow rate mode. However, I will need both temperature data and flow rate (in ml/min) data in order to calculate the mass flow rate in kg/min. I am very new to LabVIEW so I have no idea what I can do. What I have in mind is ... doing the measurement with the sensor in temperature mode for ~ 1 second, then change to flow mode for ~ 1 second and change back to temperature mode and so on, until we stop the measurement. So output in data file might be something like this ...
Time Data
0 temp
1 flow
2 temp
3 flow
where temperature and flow data can be in different column. Note that the fastest sensor response time is 5 ms.
Any suggestion what I can do in LabVIEW??
Thank you so much in advance.
BewHi SnowMule
Thank you for your suggestion. The data from flow meter is already in volume per minute so I only need to know density of gas at temperature T to find mass flow rate (...do I miss anything?). It's nitrogen gas and there's some online database availble to get the gas density from known temperature. That's why I want to read the temperature from the flow meter as well.
Additional thermocouple would be a solution if I cannot have LabVIEW to do the job for me.
Thanks again! -
Changing picture at runtime using delphi
Post Author: iman_400
CA Forum: Other
Please help me, is there anyway we can change picture at runtime using delphi 7.0 and CRXIR2?Hi, Lee;
For the version of Crystal Reports that comes with .NET, you can use something like one of our samples shows:
https://smpdl.sap-ag.de/~sapidp/012002523100006252822008E/net_win_smpl.exe
Look for the sample, vbnet_win_DynamicImage.zip. It uses an ADO.NET dataset to change the image.
For Crystal Reports XI R2 and Crystal Reports 2008, you can more directly change the image location using built in functionality.
In the Designer, choose Insert > Picture. Choose a default image to show and save it. Right-click on it and select Format Graphic. Go to the Picture tab and click the formula button for Graphic location. Save the report.
Then, at runtime you can populate the Formula with the new location for your image, either a URL or disk file location.
See the following note for more information:
[Image|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_boj_erq/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333233313338333333373334%7D.do]
Best Regards,
Jonathan -
Change to the runtime the logon language with ABAP
Hello,
I have a question.
Is it possible to change to the runtime the logon language?
With the URL-parameter example it worked.
http://www.****bsp/sap/z_page/default.htm?sap-language=en
But I need this in the event handler with ABAP coding.
thanks Erenyou can either use
CL_HTTP_UTILITY->IF_HTTP_UTILITY~SET_REQUEST_URI
uri = sap-language=FR
or
CL_HTTP_REQUEST->IF_HTTP_ENTITY~SET_FORM_FIELD
name = sap-client
value = FR
or
use
SET LOCALE LANGUAGE 'S'. within your abap coding
Regards
Raja -
MessageRichTextEditor - How to hide the link 'Change to Rich Text Mode'
Hi,
I will be using RTE only in plain text mode.So I want to hide the link 'Change to Rich Text Mode'.How can we do this.
Please suggest.
Regards,
ashokPersonalize the page to hide the link and set its rendered property to false.
--Kumar -
How can I programatically change the slave acquisition mode of my pci-1409?
In my LabVIEW application I need to be able to programmatically change the slave acquisition mode from standard to external HV lock. I couldn't find this property listed in the property node.
Nan,
When you change this property in MAX, you are actually modifying the camera file for the session (*.icd file). These file can be modified just like a text file. You could programtically modify parse and modify the "SlaveAcqMode (STANDARD)" line in the camera file to reflect the mode you want to use. Below is a KB that explains how to parse and modify an *.iid file, you can use the same method on the icd file.
http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/ccc5bb5990aa416786256c23006e687c?OpenDocument
Best Regards,
Chris Drymalla -
The area on my toolbar where you can change the white balance mode is now gone form my toolbar. How can I get it back?
Your basic panel must have been accidentally deselected.
Simply right-click on one of the other panels e.g. Tone Curve and choose basic again - see image below.
You can also select solo mode, if you prefer to work in one panel at a time with the others collapsing automatically when you click on another tab. -
DB2 change the database recovery mode
Hi Friends,
We are doing an upgrade, in the process will be necessary to change the DB recovery mode.
Database is DB2 9.5 and the platform is Unix (AIX). I wold like to clarify the process of change the recovery mode, I underestand that it is to switch off the logg retain, but I have found in some forums that in order to switch on the logg retain, when the upgrade finished, I have to have an full backup of this database.
I need to plan this activity and its effects.
Please do you know something about it, can you clarify me the process?
Thanks a lot.
Regards
Enrique SánchezThe process is pretty straightforward:
1. Shutdown SAP and deactivate the database.
2. Enable recovery mode by setting logarchmeth1 (as user db2<sid>)
db2 update db cfg for <SID> using logarchmeth1 disk:<archivepath> immediate
3. Perform an offline backup of the database (as user db2<sid>)
db2 backup database <sid> to <backuplocation> compress without prompting
The backup time depends on the size of your system. Once the backup is complete, you can activate the database and bring up SAP.
- Sameer
Maybe you are looking for
-
How to delete/reverse an A/R Invoice
Hi How can I delete/reverse an A/R Invoice that has been based on an delivery - without changing/adding the items back to the stock (as the credit memo would handle it) - and reopen the delivery note for future invoicing? The invoice has been posted
-
I'm running Windows 7 Ultimate on Bootcamp. I've installed all Windows software, with all the drivers, and my wireless internet works fine. But, every once in awhile, it will say, "no internet access", and I'm unable to do anything until it restores.
-
How to remove escape characters
When there is string in my source like my boss is "chandra" it is taking like it is taking like "my boss is ""chandra""". Could you please give me suggestion how I can eliminate unnecessary escape character. -Pallav
-
Hi I wonder if anyone as had a similar problem to mine in as much as that i can no longer conect my i phone to my car radio as it says in the settings that both my bluetooth and wi-fi are switched off and are greyed out,PLEASE CAN ANYBODY HELP.
-
Enable Auto Hiding of Folio Scrollbars
Hi there, I've just read on several websites that there's a way to hide the scrollbars that by default cover 6 pixels of the folio on the right site of the screen, but I couldn't find where and how to select this option. Apparently it is called "Enab