Setting default cursor on LinkButton
I want to set normal (system default) cursor while mouse is
on LinkButton (I do not want that 'hand'),
I do not want to use embeded graphics, I just want to get
normal cursor.
Hi B.O.H.R.,
you can use the "useHandCursor" property for that and set it
to "false".
regards,
Christophe
Similar Messages
-
Uix forms setting default cursor location
I have a login form that works but I want to have the cursor start in the first field, called "username".
Right now the cursor is nowhere as far as I can tell and the user must click into the username field before starting to type.
I also want to have the enter key automatically activate the login button without having to click on it with the mouse.
My code is listed below.
Any help is much appreciated.
Regards, Steve
<?xml version="1.0" encoding="windows-1252"?>
<!-- This is Login.uix -->
<page xmlns="http://xmlns.oracle.com/uix/controller"
xmlns:ui="http://xmlns.oracle.com/uix/ui"
xmlns:ctrl="http://xmlns.oracle.com/uix/controller"
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns:bc4j="http://xmlns.oracle.com/uix/bc4j"
xmlns:myTemplate="http://www.example.org/demo/templates">
<bc4j:registryDef>
<bc4j:rootAppModuleDef name="SmartLoginAppModule"
definition="smart.Smartbc4jModule"
releaseMode="stateful" >
<bc4j:viewObjectDef name="EroUsersGetUserView1">
</bc4j:viewObjectDef>
</bc4j:rootAppModuleDef>
</bc4j:registryDef>
<content>
<header xmlns="http://xmlns.oracle.com/uix/ui"
text="SMART Login">
<contents>
<form name="form1" method="post">
<contents>
<messageTextInput name="username" prompt="Enter Name" columns="20" />
<messageTextInput name="password" prompt="Enter Password" columns="12"
secret="true" />
<submitButton ctrl:event="login" text="Login" />
</contents>
</form>
</contents>
</header>
</content>
<handlers>
<event name="login" >
<bc4j:findRootAppModule name="SmartLoginAppModule" >
<bc4j:findViewObject name="EroUsersGetUserView1" >
<ctrl:method class="smart.SmartLogin" method="handleLogin" />
</bc4j:findViewObject>
</bc4j:findRootAppModule>
</event>
</handlers>
</page>My code looks like this
<?xml version="1.0" encoding="windows-1252" ?>
<page xmlns="....
xmlns:pageTpl="...">
<templates xmlns="http://xmlns.oracle.com/uix/ui">
<templateImport source="aTemplate.uit"/>
</templates>
<head>
<html:title>aTitle</html:title>
</head>
<content>
<dataScope xmlns="http://xmlns.oracle.com/uix/ui"
xmlns:data="http://xmlns.oracle.com/uix/ui">
<provider>
<data name="nls">
<bundle class="AMsgBundle">
</bundle>
</data>
</provider>
<contents>
<ui:body onLoad="document.LoginForm.UserName.focus()">
<contents>
<try>
<catch>
<displayException/>
</catch>
<contents>
<pageTpl:aTemplate xmlns="http://xmlns.oracle.com/uix/ui">
<contents>
<messageBox automatic="true"/>
<form name="LoginForm" method="POST">
<contents>
<header data:text="...@nls">
<contents>
<stackLayout>
<contents>
<labeledFieldLayout labelWidth="25%"
fieldWidth="22" columns="1"
width="44%">
<contents>
<spacer height="15"/>
<messageTextInput name="UserName"
data:promptAndAccessKey="Username_LABEL@nls"
columns="22"
required="yes"/>
<messageTextInput name="Password"
data:promptAndAccessKey="Password_LABEL@nls"
secret="true" columns="22"
required="yes"/>
</contents>
</labeledFieldLayout>
... -
Changing default cursor settings
Hi,
I need to change the default cursor settings on an xy graph. Currently the cursor positions itself at the beginning of each data set. See attached. You should be able to see the cursor displayed in bright yellow. How do I change the default conditions for displaying the cursor at the beginning of each data set from say: 04:19:38 PM, 09/28/12, (as in the attached example) to say: 04:19:38 PM, 09/28/11. I just changed the two digit year - to keep it simple! Thank you. John
Attachments:
Capture.PNG 25 KBHi John,
It sounds like you may not have your VI updating to show changes to controls when they are changed. I would recommend using an event structure in a while loop to poll for changes to the cursor and update them on the graph. I attached an example I wrote (opens in LabVIEW 2010 and more recent) to show you what I am talking about.
It is hard for me to understand what you are talking about with the small snippets of your code I am seeing. If you have further questions, please post an entire VI (or a smaller example VI that reproduces the issue) so it will be easier to help you.
Joey S.
Software Product Manager
National Instruments
Attachments:
cursor position property.vi 12 KB -
Set the cursor busy steered by supanel vi
I let run a vi and there is a subpanel. Is there a way that I can set the cursor busy steered by the subpanel vi. I pass the reference of the mainvi over a global variable into subvi. Without success there is no error message but the busy cursor does not appear. Just setting the cursor in subvi creates a null window error. Is there a easy way to implement it. Or do I have to use user events in main vi called by suvi an then se it busy. Would be not so nice to understand it later.
kind regards retoI attach my test VI (LV 8.0). You can try it.
Attachments:
test sub.vi 17 KB
test.vi 22 KB
test global.vi 4 KB -
Set Default Value of Multi-select list item
I have a multi-select list item I want to default the value of to '%' (which is really '%null%') and have it selected. I tried setting default value of item, but it doesn't take '%null%'. I also tried a computation with a static of
:P507_ITEM := '%null%'; How do you get the default value set and selected?Hi
Shijesh is right, you need to change your null return value and use that return value as your default. Try and use something of the same datatype as your real return values if you plan to use '%' to display all as it will make your queries simpler. eg.
Company A returns 1
Company B return 2
% returns 0
Then your query would be...
SELECT ...
FROM ...
WHERE company_id = DECODE(:P_COMPANY,1,1,2,2,0,company_id)
Hope this makes sense.
Cheers
Ben -
How to Set default value for taxonomywebtagging control with terms and nested terms
Hi,
I have created taxonomy control in custom aspx page and I am able to select terms but I am trying to setup default value to that control.
Can anybody let me know how to set the default value for TaxonomyWebTagging control in custom.aspx page with nested terms?
Any help would be greatly apprecited.
Control code in aspx page:
<td>
<asp:Label runat="server" ID="lblLanguages">Field A: </asp:Label><asp:Label runat="server" ID="rfvlblLanguages" CssClass="errorMsg" ForeColor="Red">*</asp:Label>
</td>
<td>
<Taxonomy:TaxonomyWebTaggingControl ID="term" Width="385px" runat="server" /></td>Mapping metedata code:TaxonomySession session = new TaxonomySession(SPContext.Current.Site);
//Set the Business Unit Field
SPSite site = SPContext.Current.Web.Site;
TermStore termStore = session.TermStores["Managed Metadata Service"];
Group group = termStore.Groups["GROUPName"];
TermSet termSet = group.TermSets["TERMSETNAME"];
Term term = termSet.Terms["TermA"];
Guid termGuid = term.Id;
term.SspId.Add(termStore.Id);
term.TermSetId.Add(termSet.Id);
term.AllowFillIn = true;
term.AnchorId = countryGuid;
term.IsMulti = true;
Thank you.
AA.Hi,
According to your description, you want to set default value for TaxonomyWebTaggingControl.
I have a test in my environment. It could be achieved by setting the Text Property of TaxonomyWebTaggingControl.
Here is the code snippet:
TaxonomySession session = new TaxonomySession(SPContext.Current.Site);
SPSite site = SPContext.Current.Web.Site;
TermStore termStore = session.TermStores["Managed Metadata Service"];
Group group = termStore.Groups["GroupA"];
TermSet termSet = group.TermSets["A"];
Term term = termSet.Terms["A1"];
TaxonomyWebTaggingControl1.SspId.Add(termStore.Id);
TaxonomyWebTaggingControl1.SSPList = termStore.Id.ToString();
TaxonomyWebTaggingControl1.TermSetId.Add(termSet.Id);
TaxonomyWebTaggingControl1.TermSetList = termSet.Id.ToString();
TaxonomyWebTaggingControl1.AllowFillIn = true;
TaxonomyWebTaggingControl1.IsAddTerms = true;
TaxonomyWebTaggingControl1.IsMulti = false;
TaxonomyWebTaggingControl1.Text = string.Format("{0}|{1}", term.Name, term.Id.ToString());
Here is a detailed article for your reference:
http://blog.bugrapostaci.com/2010/09/23/taxonomywebtaggingcontrol-sharepoint/
Feel free to Reply the test result.
Thanks
Patrick Liang
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Patrick Liang
TechNet Community Support -
How to set default values for boolean columns
I'm trying to deploy some content types and columns into a site with a feature. All it's ok, except that I'm trying to set a default value for boolean columns with no success.
I've tried to set default value at column level:
<Field ID="{EFE23A1D-494E-45cf-832E-45E41B17F0CF}" Name="ScopeSpanish" DisplayName="Se publican noticias en español"
Type="Boolean" Hidden="FALSE" Group="Columnas ShaCon" >
<Default>TRUE</Default>
</Field>
and at content type level:
<FieldRef ID="{EFE23A1D-494E-45cf-832E-45E41B17F0CF}" Name="ScopeSpanish" DefaultValue="TRUE" Required="TRUE" />
But in any case, when i create a new item with this content type, default value is applied.
Can anyone tell how to set default values for boolean columns?
Thanks in advance,
Regards,
SergioIn the field definition you can set
<Default>1</Default>
or
<Default>0</Default>
How to set the default value Null? -
How to set default value to input field
Hi Experts,
I need to set default value to one input field for the transaction crmd_order as a screen variant. Guide me in doing that.
Regards,
HarishUsing the transaction SHD0, you can define the screen variant. While defining the sceen variant, you are allowed to define the default values.
Using screen variant, for the main transactoin, you can also define the transaction variant and you can use this as an independent transaction. -
Is there any way to set default column widths in the Finder's Column view
When my Finder windows open in column view, all the columns are always VERY wide. I have to then spend time resizing them to a managable width. Is there any way to set default column widths in the Finder's Column view?
<Re-Titled By Host>No, because you can't set a columns view default.
27" i7 iMac (Mid 2011) refurb, OS X Yo (10.10), Mavs, ML & SL, G4 450 MP w/10.5 & 9.2.2 -
How to set default reject reason in VA01 (create sales order)
Hi
Everybody can tell me how to set default reject reason for item in sales order.
in our sap system there are a default reject reason as '90'. We want to set it as "Null".
Thanks
HenryHi,
Assigning a default Reason for Rejection is not in standard SAP. I am sure there is some enhancement/user exit which updates the reason for rejection.
Please get the help of an ABAPer, create the sales order in debugging mode and he will find out the logic behind the automatic reason for rejection.
Before that you can find the exits in the include MV45AFZZ for any code related to this.
Hope this helps -
In Transaction code va41 how to set default sales contract start date
Hi ,
In Transaction code " VA41 " how to set default sales contract start date and end date.
Can any one tell me the correct user exit for the same.
Thanks
Basuhi,
u have to use user exits or badis.
use sutable exits mentioned below.
SDTRM001 Reschedule schedule lines without a new ATP check
SDVFX006 User exit: Tax line (transfer to accounting)
V45A0001 Determine alternative materials for product selection
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing plan
Edited by: katigiri linganna on Apr 28, 2009 12:19 PM -
Any opinions on setting default values on Business Partner level?
Hi All,
I do not have a question, but would like to have a good discussion on how you should preferably be setting default values on a business partner and it's assignment blocks.
In my opinion you have two main alternatives:
1. The "old fashioned" way by using the get_<attribute_name> method and doing some checks for the perticular attribute in the context node.
2. Using the Badi BADI_CRM_BP_UIU_DEFAULTS to fill fields with a default value. With some enhancements on the assignment blocks (making typed_context attribute public and, when not called yet, calling the badi) you can use the badi for all assignment blocks.
Because I discovered via debugging that in the, by many forums suggested, badi code a programm error/exception is used so that the default values are only set during creation mode, I started doubting to use the badi. Because once I had set my data declarations to the right references and the exception did not occur anymore, suddenly it always fills the values even when there are already values filled. So additional checks are needed to assure that I am in creation mode.
Although I like the use of the badi, because all my default values on the whole business partner object can be found in the same place, it is getting a bit strange to: first still enhance the view and context node class, adjust the visibility of the typed_context, call the badi and do all kind of checks to assure that you are in the right view/context node, where this all is faster and more lean and mean when done directly in the get_<attribute_name> method on a context node.
Anyone who wants to give there opinion on this?
Regards,
Martijn.Cameron,
Unfortunately you cannot pass the Account and Contact name before saving the record. Post default tries to capture the name just before the record gets saved, but as the record is yet to be created, the relationship wont exist and only the respective id fields will have values. If you try using account id/ contact id it will work else just pass the time stamp in the name field which will make sure there is some value when the record is saved. later in the back end you might need WS to update the field values. -
Setting Default values in portal form
I have a portal Master/Detail Form. I want to set some of the detail block columns value to the value of a field in the master block.
In the formattng option of the detail column, I tried setting default value to:
p_session.get_value_as_varchar2(p_block_name=>'MASTER_BLOCK', p_attribute_name=>'A_CLASS_CD');
and default value type to: function (I also tried expression). It compiles, but gives me an error when I ry running form. How can you set the default value (from the value of a differnt field)?HI,
You can set the default value to value of a different field. The only way is to use javascript like onFocus.
Thanks,
Sharmila -
Setting default values for field on screen.
Hello,
I am trying to set default value for one of the fields I have on screen when I execute the custom transaction.
I am doing that in PBO as follows. But the default value is not set for Date field.
PROCESS BEFORE OUTPUT.
MODULE PBO_OUT.
MODULE STATUS_5000.
*& Module STATUS_5000 OUTPUT
text
MODULE STATUS_5000 OUTPUT.
SET PF-STATUS 'NON_SAP_DOCUMENT'.
SET TITLEBAR '001'.
ENDMODULE. " STATUS_5000 OUTPUT
*& Module PBO_OUT OUTPUT
text
MODULE PBO_OUT OUTPUT.
ERDAT = SY-DATUM.
ENDMODULE. " PBO_OUT OUTPUT
Please help.
Thanks.
Regards,
Rajesh.Works Now...
-
How to set default file path while downloading alv output
Hi,
Can anyone tell me that how to set default file path while downloading the ALV output to system using Local file button on tool bar.
Please look below screenshots:
Kindly help me resolve it.
Thanks in advance.
Regards,
Ashutosh KataraThis information initial value is (maybe) stored in Windows Register (register.exe) at Software\SAP\SAPGUI Front\SAP Frontend Server\Filetransfer -> PathDownload, you can read it thru class CL_GUI_FRONTEND_SERVICES method GET_UPLOAD_DOWNLOAD_PATH and update it thru method REGISTRY_SET_VALUE. (Else there may be some parameter ID to force data, but I'm no longer sure)
Regards,
Raymond
Maybe you are looking for
-
somehow an additonal icloud account has been set up on my iphone the problem is it ahs become the adminatrative account so i cant just delaet it how do i change the main account?
-
How to access Portal Database ( ORACLE) through webdynpro java
Hello experts, I want to <b>access portal database tables</b> ( WCR_USERSTAT,WCR_WEBCONTENTSTAT,WCR_USERFIRSTLOGON )<b> using</b> <b>webdynpro java</b> application/service . Our portal DB is Oracle , so please tail me some solution for this asap. I
-
Problem related to personalization using FND_FUNCTION.EXECUTE
Hi, we have oracle EBS 11i (11.5.10.2). On form personalizatin's action tab , we cannot find the builtin type = FND_FUNCTION.EXECUTE builtin . I am going to following navigatin: Personalization form > Action Tab > Select type = Builtin > builtin type
-
Hello, Is there any reference that I can found to compare the performance of JDK1.4 in Linux and Win32? Best regards, Eric
-
HOW TO SET COUNTRY INDIA IN SAP LAYOUT
PLS ANYBODY CAN TELL HOW TO SET COUNTRY INDIA IN SAPSCRIPT LAYOUT THANKS MAVE