When "Enter" is pressed, all buttons loose highlight
I have a simple menu with two buttons. Each button is set for the Shape of "SimpleButton". There is a normal, select, and press color state for each button. Each button has it's own asset. When a button is "pressed", ie Enter is hit on the remote, the button goes into press state for a moment, but then both buttons revert to normal state before my track starts. This does not show up when I preview the menu on my computer, only on a set top DVD player (I've tried 3 different ones). I cannot find any info related to this, help would be much appreciated.
Thanks for the reply. I believe that a yes in correct for your question. The button goes from selected to active, and then for a split second before the track plays, ALL of the buttons go from normal to selected, basically flashing on the screen. Is this normal behavior, it looks very odd?
Also, this may play a role in this problem, all of the buttons react to the same normal state color setting, whether I've chosen highlight set 1, 2, or 3.
Is there a problem with me relying on the "SimpleButton" state for all of my buttons?
The final DVD plays just fine on my computer, just like the preview looks just fine within DVDSP. Put it on a set top and the highlights are bad. Thanks again for any input.
Similar Messages
-
When the user press the button Calculate Tax and click on Tax details then this should be updated automatically. But it does not work it is empty and the user has to update manually.
All setup looks fine.
Please let me know what can be done on this?
Regards,
PeuHarryAustralia wrote:
I recently updated my ipad wifi only to the new ios 6.1.2 and initially I had the auto cover lock option which can be seen in the Generals tab, but then it stoped working!! Before the update, the auto cover lock worked fine. So after trying all the options, I then did a complete reset on the ipad and now its gone all together from the General tab!! I can no longer see the "auto cover lock" option.
The iPad cover lock is for when you use a cover with magnets in it to lock and unlock the iPad when you close the cover or open it. Try running a refrigerator magnet along the sides of the iPad and see if that trips the iPad Cover Lock back into the settings.
That is not the same thing as the iPad Auto Lock setting which allows you to set an allotted time before the iPad goes to sleep.
You can try resetting all settings to see if the Auto Lock feature retinrs to the iPad.
Settings>General>Reset>Reset All Settings. You will have to enter all of your device settings again.... All of the settings in the settings app will have to be re-entered. This can be a little time consuming re-entering all of the device settings again. -
Event should trigger when enter is pressed on select option for validation
Hi,
I want to trigger a event when enter is pressed on a select option field for validation.
I have created a select option through coding. I am not able to find out any method or class for that.
please advice.Hi Sachin ,
If you want ot use the methods in the class CL_WDR_SELECT_OPTIONS.
You can find here:-
[WDR_SELECT_IPTIONS|https://cw.sdn.sap.com/cw/docs/DOC-20864.pdf]
Check these if can find ur required one.
If you are using any ui element then you can use ON_ENTER event as a action as stated by Baskaran.
Check also if these threads can help you:-
[WebDynpro ABAP select options method SET_VALUE_OF_PARAMETER_FIELD;
[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60474842-91ca-2b10-3390-d2fd30f335fd]
Thanks & Regards,
Monishankar Chatterjee -
When i dont press the button i want the value start to decrease by itself
Dear all,
I am controlling a numeric control value in the front panel : I am pressing increase button to increase the value, but what I want is that when i stop pressing the increment button the numeric value should decrease by itseft (automatically) Please, I need your help.
Kind Regards from Turkey.
Have a nice day.Salander wrote:
Firstly thank you for your reply, actually i couldnt try any of these,
Why not?
Salander wrote:
I have something in my mind but I am sure it wont work.
Then put something else in your mind! Don't spend thoughts on things that won't work.
Salander wrote:
I am not very good at programming, I want it to decrease Linearly to Zero.
What have you tried so far? Nobody is good at programming until they program for a while and learn new skills.
A car does not decrease the speed linearly to zero.
If you are controlling a real car with real hardware, it will decrease to zero automatically due to friction and wind resistance, so why would you need to program it?
If you are trying to simulate a car in software, create a software model that simulates a car based on parameters (current speed, mass, inertia, slope, wind resistance, drag coefficients, rolling resistance, friction, engine power, etc.).
I would recommend to open the example finder an look at some examples. have a look at the "tank simulation.vi", and substitute tank level with speed, or look at "vibration analysis.vi". See how the rotation speed decreases slowly if the velocity is set to zero.
Attached is a simplified version, hopefully it can give you some ideas. If this is for school, you need to make sure that you fully understand the reason for every little detail in the program and can explain it to you teacher if needed. Try to expand the functionality by adding a brake pedal, for example.
LabVIEW Champion . Do more with less code and in less time .
Attachments:
Car Simulation.vi 15 KB -
Error when clicking on refresh all button in excell add in
Hi All
One of our users is facing an issue when clicked on the refresh all button on excel.
Below is the error she is getting.
"Request Definition has been changed on server since last download. Please use edit Prompts and levels to select new filters.tableView"
Sometimes it does work and sometimes it doesnt.
How can we rectify this issue? Please advice.
Regds
ManoHi All
Can somebody please help me on this?
Regds
Mano -
Auto submit when ENTER is pressed?
Although maybe not a 100% JSF question / answer, I thought this still fitted in this forum...
What is the best way to get a form to submit when the user presses "enter". I guess it can be done with a javascript, or some code on the backing bean, but I am not sure how to connect the event to the code.
any help / comments are greatly appreciated!!!
/cajI get the source a i've changed what was said in the page.
The final result is
* Created on 09.08.2004
package org.j4j.components;
import java.io.IOException;
import javax.faces.component.UIOutput;
import javax.faces.component.UIForm;
import javax.faces.context.FacesContext;
import javax.faces.context.ResponseWriter;
import javax.faces.component.UIComponent;
* @author sim
public class UIDefaultAction extends UIOutput {
public void encodeBegin(FacesContext context) throws IOException {
return;
public void decode(FacesContext context) {
return;
public void encodeEnd(FacesContext context) throws IOException {
ResponseWriter writer = context.getResponseWriter();
UIComponent actionComponent=super.getParent();
String acId = actionComponent.getClientId(context);
UIForm form= getForm(actionComponent);
if (form != null) {
String formId = form.getClientId(context);
writer.startElement("script", null);
String functionBody = "var keycode; if (evt){ ;} else if (window.event){evt = window.event; } else if (event){ evt = event; } " +
"else{ return true; } if (evt.charCode){ keycode = evt.charCode; } else if (evt.keyCode){ keycode = evt.keyCode; } " +
"else if (evt.which){ keycode = evt.which; } else{ keycode = 0; } " +
"if (keycode == 13){document.getElementById('"+acId+"').click(); return false; } else{return true; }";
String functionCode =
"document.forms['"+formId+"'].onkeypress ="+
"new Function(\"evt\", \""+ functionBody+"\");";
writer.write(functionCode);
writer.endElement("script");
private UIForm getForm(UIComponent component) {
while (component != null) {
if (component instanceof UIForm) {
break;
component = component.getParent();
return (UIForm) component;
compile it a put the generated class on the jar (replace it). -
How do I make a button activate when enter is pressed?
Can anyone help me? I'm trying to activate the JButton "BUTconv" below work when someone presses "enter" on the keyboard. I'm using the code below, but every time I try to compile it, my compiler says that "BUTconv" is an unknown symbol, it 'cannot find the symbol BUTconv.' I'm getting extremely frustrated because I define the symbol right before I try to set the accelerator. I've also tried defining the button is below in the comment line and in the class as both a private and public JButton... none of these ways seem to work, they all generate the same error. Please help! Thanks.
JPanel buttonPanel = new JPanel();
buttonPanel.setLayout(new FlowLayout(FlowLayout.CENTER));
buttonPanel.setBackground(new Color(255,230,159));
//JButton BUTconv = new JButton("Convert");
JButton BUTconv;
BUTconv = new JButton("Convert");
BUTquit = new JButton("Quit");
BUTquit.setMnemonic('Q');
BUTconv.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0));
BUTconv.addActionListener(this);
BUTquit.addActionListener(this);BUTquit was already defined in the beginning of the code, and the compiler specifically highlights the line:
BUTconv.setAccelerator(KeyStroke.getKeyStroke(KeyEvent.VK_ENTER, 0));
as the culprit. I tried removing the comments, but it still didn't compile. Maybe I should just try a different compiler... -
Generate an error when a user presses a button
I want to be able to give the user the option of exiting the program when ever he wants. I was thinking of having a button that would generate an error. The error number must be unique because i want to read it later. Is that possible? Any help will be appreciated
You cannot exit from a for loop until it is done. Use a while loop instead. Also, using the event structure in this case causes all kinds of exit problems. Try it and you will see what I mean. Instead, use the abort button itself. Put a case statement at the end to give the error output if the abort button was pressed. See attached vi.
- tbob
Inventor of the WORM Global
Attachments:
abortTesting.vi 45 KB -
did something get stuck in the button?
i think i just need a new ipod. ive tried even turning up the volume and the button isnt responding. something is wrong with the button. there is also some minor damage inside the ipod i think as well, but im pretty sure my warrenty is up because ive had this ipod for so long. will i be able to send my ipod back into apple and get a new one?
-
Help
Wow thank you so much, I have never had to do that before for any of my Apple products. Learned somthing new=) Thank you again!
-
JTable, how to read Data from it when enter is pressed
How to read Data from JTable on Return or lost focus from cell.
Also please tell me which listener I should should.
thx for helpYou should read the tutorial about tables, cell editors and models.
Also you should not [url http://forum.java.sun.com/thread.jsp?thread=472677&forum=57&message=2186815]crosspost
Mike -
All buttons highlighting when activating a single button
I'm using Adobe Encore DVD 2.0, Build 2.0.0.48678
Win XP. 2 GB RAM.
My buttons are designed so that they are invisible until "selected".
The menu options are texts in an image layer in the background.
Example: "Play movie", "Chapters", "Subtitle Options", "Extras" are
in the background image. A small black, filled circle to the left of
these options indicates to the user which option is currently
selected. This is how I imagined it to work.
I solved it by making the "unselected state" of the buttons invisible
(totally white against a white backgrund), and only in the "selected"
and "activated" states do the buttons show as black circles against the white background.
I finally got it to work. But my problem now is a small but annoying one:
When the user activates a button (chooses an option) for a fraction of
a second ALL buttons seem to be in a selected state, before the next menu
appears. That is, all the black circles appears simultaneously.
Has anyone encountered this strange behaviour?
Needless to say, I'm new to Encore and quick help would be much
appreciated.
Thanks in advance, NikolajThanks for the quick answer!
It was a good bet by you, and I should have clarified
that the black circles are indeed part of the button proper,
not the background.
Something happens when the user presses a button. Can it be perhaps
that the color set chosen for the menu (where i chose the color white
with 100 % opacity for the unselected state and 0% opacity for all colors in the other states) is not effective for a short moment
before the next menu / movie plays on the screen?
I'll say it again cause I guess it might be important:
The color set chosen for the menu is this:
Unselected: 100 % opacity, white (for all three boxes)
Selected: 0 % opacity, some colors (doesn't matter which, right?) for all three boxes)
Active: dito -
Triggering POPUP to SAVE when user Presses BACK Button
h4.
Hi Friends,
h4.
When the User Presses BACK Button in the PF Status, it should trigger POPUP_TO_CONFIRM whether to SAVE or not.
h4.
Suppose if the user doesn't change any thing in the Screen, it should not ask the User.
h4.
How can i know whether the user changes something in the Screen.
h4.
Screen mean Table Control..
h4.
How can i track this.
h4.
Regards:.
h4.
Sridhar.JHi Sridhar,
Within the table control loop, create a chain of all the fields in the structure of line type. call a PAI module with addition ON CHAIN-REQUEST. This is a conditional module call which will be triggered ONLY when user changes something on the screen. In this module you can set a global variable DATA_CHANGED to say 'X'. When user chooses BACK function, check this global variable to decide on the confirmation popup.
One small caution. If you have the ROW SELECTION field also included in the line type of your internal table associated with the table control, you need to exclude that from the CHAIN of fields above; otherwise even when user selects a line or de-selects, this module will be triggered.
Read ON CHAIN-REQUEST and ON REQUEST online ABAP help for more clarity.
Regards
Suresh
Edited by: Suresh Radhakrishnan on Sep 28, 2009 4:29 PM -
How to enable the InputField when press the Button
My sceanrio is by default the InputField is in disable .when ever i press the button it should enable.
Here is the sample code for HTMLB :
<hbj:inputField
id="InputText"
jsObjectNeeded="true"
type="string"
maxlength="30"
value="Text" >
<% String text = myContext.getParamIdForComponent(create_group); %>
<SCRIPT> var jsText = '<%=text%>'; </SCRIPT>
</hbj:inputField>
<hbj:button id="Enable_Button"
text="Enable"
tooltip="Enable InputField"
onClick="onEnableClick"
onClientClick="enableInputField()"
width="30px" >
</hbj:button>
</hbj:page>
</hbj:content>
<script language="javascript">
function enableInputField()
var funcName = htmlb_formid+"_getHtmlbElementId";
func = window[funcName];
var inputfield = eval(jsText);
inputfield.setEnabled();
</script>
Refer to the following links for more info...
http://help.sap.com/saphelp_nw04/helpdata/en/53/9d0e41a346ef6fe10000000a1550b0/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/43/067941a51a1a09e10000000a155106/content.htm
Regards,
Rajiv -
Avoid the deletion of delivery when the user press the delete button
Hi guys,
In VL02N transaction, when the user press the button for delete the delivery (trash button) i have to send an idoc to an external system in order to inform about. Im using IF_EX_LE_SHP_DELIVERY_PROC~DELIVERY_DELETION for this and it works fine.
After send the idoc i have to stop the deletion process. So How i can avoid the delivery deletion? I can change some flag in this BADI or maybe i can do something in userexit_delete_document? I dont find the way.
Thank you,
ManelHI,
In the method SAVE_DOCUMENT_PREPARE; try to pass some error messages in the parameter CT_LOG.
This should raise some messages before saving and the data will not be saved and hence delivery will not be deleted.
Check the same.
Regards,
Ankur Parab
Maybe you are looking for
-
I just bought a new PC with Windows 8. I have an old disk for Photoshop Elements 5.0 and would like to use that so that I don't have to spend more $,if possible. First of all, is it compatible? Second, how do I put it on my computer? I tried searchin
-
Itunes will not install correctly Error 7 Windows error 126 Problem is MSVCR 80 not found
Itunes will not install I get a error message ERROR 7 Windows error 126 When I try to open Itunes MSVCR80 Not found
-
Parallel Process Model vs Asynchrono​us Sequence
I've been studying the features of TestStand, and learning how to use it for about a month, so still very new to the environment (although I have been using Labview and Veristand pretty heavily for about a year). I wanted to get a little clarificati
-
I've created playlists with Genius and have saved them. I then synched my ipod touch but don't see anything on the ipos that shows playlists at all. What am I missing? Thanks all!
-
Hi all, I am using oracle application server 10.1.2 upgraded to 10.1.4 portal edition. I have created some jsr 168 portlets using jdeveloper,created the deployment profile and when i am trying to deploy it in application server through jdeveloper i a