Custom - Date field that is this feature called?

I need to create a custom date field. It is personalized because it shows, on the one hand, whatever it is related to the dates and then it indicates that one choice at a time.

Kinda like this feature

I want to create something like that, but not the dates. I want to add alist like apples, mangoes, peaches, and plums have a scrolling after another, without showing a huge drop; So basically in the above format. Help, or coding sample please.

I think you can do this with a SpinBoxField, if you extend it to support of Bitmaps rather than the text that is, it supports at the moment.

Tags: BlackBerry Developers

Similar Questions

  • How to find a custom date field?

    I'm trying to recover contacts based on the value in a custom date field, and I can't get the search function to work. It works fine for me with other custom fields, for example this query:

    / data / contacts? Search = C_Job_Role1 = * HR & depth minimum = & count = 5

    Returns all contacts whose ends the Job role in HR properly. However, if I try the same thing with a date field, for example this query:

    contacts / data /? Search = C_Contract_Expiration_Date1 = * 1 * & depth minimum = & count = 5

    I get a response with the http 500 code - it's an internal server error, so presumably that choke the server when asked to perform a search on a date field.

    Is there a way to do this?

    Hi Eli,

    I ran a few tests and it seems that endpoint to search as standard format (MM/DD/YYYY) date type, not deal with time at the time of unix. The following query (example) will work: C_Contract_Expiration_Date1 = 01/04/2012

    I'm sorry for the initial response. There are some points of endpoints that use the time unix for types date, and we will be more cautious about calling the difference in each context.

    Thank you

    Fred

  • How to create a date field that is fixed at the signing?

    Hello

    I created a series of PDF forms on Adobe Pro XI which are designed to be filled out using Adobe Reader (where are saved as Adobe Reader Extended). Once the form is complete there are fields of signature that the user who digitally sign then it disables the specific form fields of editing more far. Next to the signature field, I have a date field that, at present, is using JavaScript to automatically generate the date of business at the opening. However, the question that I have is that I want this field date which will be fixed when the form is signed, rather than update again when the form is opened. Is this possible?

    The document JavaScript that I use to generate the date currently is:

    this.getField("Date1").value = util.printd ("dd/mmm/yyyy", new Date());

    But obviously, this is independent of the signature field.

    How can I create a date field which is set by the current date at the signing?

    I am very new to Adobe in general so I don't have much of an idea about how to go about doing this. Could someone please help me to do it if possible?

    Thank you

    KC

    Go to the properties of the field of Signature and on the signing tab, add

    Copy the following code in the section previous "this script is run when the field is signed.

  • I'm using MS works calendar every day as a reminder tool. I have another software that has this feature for Windows 8?

    I have Microsoft works 9.0 is installed on my windows 7. I'm going to buy a new computer with windows 8. Y at - it software that has this feature? I understand that works is an abandoned product.

    [Moved from comments]

    I did some checking into it.  I use Live Mail program, but not much for the calendar (he has some personal things, but by-and-large I use Outlook calendar to my business for most of my appointments and reminders).

    So the Live Mail application has a setting for reminders, but it uses the setting of Outlook.com reminder to send a reminder email before the start of the event (which I think is terrible because I'm not getting emails real time anyway).  My point also appear on my phone, but also a small flag of the Windows 8 calendar applet on but only happened because they all sync to my same Hotmail account.

    Therefore, it seems that you have a few options. If the reminders of the integrated application suffice (this purple headband), you can simply link to the same account as your application Live Mail calendar and be the source of reminder notifications.

    Click here to enlarge this image

  • custom data fields and the contacts search term...

    Thus,.

    We have created a unique ID field that corresponds to a field in our database we make our unique on correspondence. I want to be able to find contacts in the field of research on the contacts tab, but it does not work. Even when I change the default view to one that includes this custom field ID it does not work. I'm doing something wrong? Or is this not a feature in this area of research? (And oh how I hope I am doing something wrong and it's doable!)

    Hi Jessica,.

    Unfortunately, searching for contacts through the touch screen is limited in the number of fields, it can browse. The available fields are Email address, first name, last name, and company. Unfortunately cannot be added to this list additional fields. If you need to find contacts by values in other areas, Segmentation would be the only solution.

  • can I submit data fields that are updated or modified?

    Hello

    I want the user to change the details of a form (the form is already filled with data).

    can I take only the values of the fields updated in xml format and send it using servlet.

    Scenario: in a form, I have three fields a. name b. MiddleName and c.LastName. The user is told to update its detail. It changes only MiddleName details and click on submit button. So can I submit a form servlet containing only the middle name.

    Concerning

    Sunil

    Sunil,

    I do not believe, you can submit XML. For the presentation of XDP, there is a property xdpContent on the submit method, which seems to confirm the selection of several objects.

    I'm curious to know why you want to do. Client side, she introduced a lot of script in the form to determine the fields that have been changed and then to dynamically build the presentation. Server side, you need a single servlet for every single update.

    Steve

  • How can I get rid of tiles that automatically populate with the story. I stopped using chrome beause of this feature called.

    I think the subject line says it all. I think it is ridiculous to have to create an account just to ask a simple question.

    Hello, please refer to customize the page new tab which contains a section on how to disable the thumbnails.

  • How to clear the inputText field that contains control data to the Web Service data?

    Hello

    I use JDeveloper 12.1.3 and 2.2 of the MAF.

    I created a Web Service data control that offers the feature of the View object on the server side.

    To use this, I created a taskflow with two pages of amx. The first page of the amx contains a button to call the other.

    The second page of the amx contains fields inputText with the values of the parameters of creation out of the data control functions.

    If I call the second page of the amx inputText fields are empty. On the page, I have a button to call the function of creation itself. By pressing the key the inputText field values will be sent to the server. Everything works great! Pressing on the button also calls for action to return to the first page of amx in the taskflow.

    Now, if a next time I call the second page the inputText fields contain the values from the last call.

    I want the inputText empty fields each time. How can I achieve this?

    Thanks in advance.

    Martin

    You can ask this question in the forum of the MAF

    Oracle Mobile Application Framework

  • Date field will not update

    Apex using pre-packaged "Group calendar" app I work on page 10. I updated the form to include a custom date field and added all the code to the EBA_ca_api package

    My problem is that my custom date field will not retain the value on the edition of an event. I have other custom fields that are not date fields (field numbers and text) that update without any problem...

    How can I update my date fields?

    Update:

    I am sure that the issue is somewhere in the package, the values are not updated for some reason any.

    The pre-existing app code uses this statement

    If to_char()c1.event_date_time,' DD-MON-RRRR HH:MIam ') ! = TO_CHAR ()p_event_date_time ' DD-MON-RRRR HH:MIam '( ) then

    Update EBA_ca_events

    set event_date_time = p_event_date_time

              where event_id = p_event_id ;

          end if ;


    and it works for this field when updating. I tried to use this code on my custom date field and it didn't work, so now I'm looking for something like this

    if TO_CHAR (nvl(c1.event_due_date,'0')) ! = TO_CHAR (nvl(p_event_due_date,'0')) then

    Update EBA_ca_events

    set event_due_date = p_event_due_date

               where event_id = p_event_id ;

    end if ;  -Copy the following code causes an error when you try to apply changes (not a month valid)


    Because the following code works and updates to my date no fields


    If nvl(c1.event_not1,'0')! = nvl(p_event_not1,'0') then

    Update EBA_ca_events

    Set event_not1 = p_event_not1

    where event_id = p_event_id;

    end if;

    Does the code work if I'm on the right track? -At the end of the day what I'm trying to do, it is to be able to add a date field for the application of group calendar pre-packaged on the creation form and event on page 10, and then later change this event and updated it to the database.


    Richie V wrote:

    No I did not, but do you know how to fix the error happen and allow the new field custom_date to be edited and saved in the database?

    Thereafter. The missing pieces of the puzzle were the type of the values concerned was TIMESTAMP WITH LOCAL TIMEZONE, and that type conversion had already been made in the process of page APEX. Therefore, the required code in the package:

    -- custom date code
    
    if nvl(to_char(c1.custom_date,'DD-MON-RRRR HH:MIam') , 'X')!= nvl(to_char(p_custom_date,'DD-MON-RRRR HH:MIam'), 'X')
    then
        update EBA_ca_events
        set custom_date = p_custom_date
        where event_id = p_event_id;
    end if;
    
  • Support for the creation of multiple automatic date fields fill

    I have created a form that contains 31 date from 01/02/12 sea areas.  I try to get the auto form fill the other 30 boxes as 02/02/12 game and so on until the end of the month or in this case continue until March 2.

    If you name your fields of text something like "date1", "date2",..., "date31", the following could serve as the validation script customized for the first date field (date1):

    // Custom Validate script
    (function () {
    
        var sDate;
    
        // Convert entered value (string) to a date and get its value in milliseconds
        var d1 = util.scand("mm/dd/yyyy", event.value).getTime();
    
        // Populate the other date fields by incrementing this date
        for (var i = 2; i < 32; i += 1) {
    
            // Determine the new date string
            sDate = util.printd("mm/dd/yyyy", new Date(d1 + (i - 1) * 864e5));
    
            // Set/Clear the current field
            getField("date" + i).value = event.value ? sDate : "";
    
        }
    
    })();
    

    If the first field is disabled, it erases the other date fields as well.

  • Custom text field

    I want to implement a custom text field that displays its label on the leading edge of a line and its part editable on the TRAILING edge of the same way like a ChoiceField. Is there a documentation available to achieve this (maybe it's to say-sample code)? Or even if I could see the source code for ChoiceField. I develop for a Blackberry Pearl 8110 with 4.3.

    I ended up solve this using managers of horizontal inside vertical management. I have to use a label field for the edit field that accompanies it. When lines are added, I followed is the width of the new label. Then in sublayout to align the edit fields according to the maximum width more stored a Variant. Could not align all the way to the right.

    import net.rim.device.api.ui.*;
    import net.rim.device.api.ui.container.*;
    import net.rim.device.api.ui.component.*;
    import net.rim.device.api.ui.text.*;
    
    public class MyLayoutManager extends VerticalFieldManager {
        protected int maxw;
        protected Font font;
        protected int font_height;
        private int size;
    
        public MyLayoutManager() {
            super(Field.USE_ALL_WIDTH);
            this.maxw = 0;
            this.font = Font.getDefault().derive(Font.PLAIN, 12);
            this.font_height = this.font.getHeight();
            this.size = 0;
        }
    
        public void addLine(String label, int initial) {
            MyEditField mef = new MyEditField(label, initial);
            int label_width = this.font.getAdvance(label);
            this.maxw = Math.max(label_width, this.maxw);
            this.add(mef);
            this.size++;
        }
    
        public int getPreferredHeight() {
            return this.size * this.font_height;
        }
    
        public int getPreferredWidth() {
            return 240;
        }
    
        protected void sublayout(int maxwidth, int maxheight) {
            int y = 0;
            for (int i = 0; i < this.size; i++) {
                Field f = this.getField(i);
                this.setPositionChild(f, 0, y);
                this.layoutChild(f, 240, this.getPreferredHeight());
                y += this.font_height;
            }
            this.setExtent(240, this.getPreferredHeight());
        }
    
        protected class MyEditField extends HorizontalFieldManager {
            private LabelField the_label;
            private JunkField the_value;
    
            public MyEditField(String label, int initial) {
                super(Field.USE_ALL_WIDTH);
                this.the_label = new LabelField(label);
                this.the_label.setFont(font);
                this.the_value = new JunkField(initial + "");
                this.the_value.setFont(font);
                this.add(this.the_label);
                this.add(this.the_value);
            }
    
            public int getPreferredHeight() {
                return font_height;
            }
    
            public int getPreferredWidth() {
                return 240;
            }
    
            protected void sublayout(int maxwidth, int maxheight) {
                Field f = this.getField(0);
                this.setPositionChild(f, 0, 0);
                this.layoutChild(f, maxwidth, maxheight);
                f = this.getField(1);
                this.setPositionChild(f, maxw + 20, 0);
                this.layoutChild(f, maxwidth, maxheight);
                this.setExtent(maxwidth, font_height);
            }
    
            private class JunkField extends EditField {
                private boolean firstFocus;
    
                public JunkField(String deflt) {
                    super(Field.EDITABLE | Field.FOCUSABLE);
                    this.setText(deflt);
                    this.setFilter(new NumericTextFilter(TextFilter.NUMERIC));
                    this.firstFocus = false;
                }
    
                protected void onFocus(int direction) {
                    this.firstFocus = true;
                }
    
                protected boolean keyChar(char key, int status, int time) {
                    if (this.firstFocus) {
                        this.setText("");
                        this.firstFocus = false;
                    }
                    return super.keyChar(key, status, time);
                }
            }
    
        }
    }
    
  • Data field Image display LR

    In the upper left part of the screen, there is a data field that can be seen for each image, I know there are a few options to change this data field to display the news more or less, or not at all, I did it in the past, but for the life of me can not find a way to do it again . If anyone can help? Thanks in advance for your help... jp

    Island Exposures.jpg

    Right-click and select Display Options.

    You can scroll the options you have selected by pressing the i key.

  • Assign a policy to a custom data center

    Hello

    I created a custom data center and added 3 groups that have "Custom strategy 1" that was. When I open the remaining capacity on the data center customized for the analysis screen, it is with vSphere Solutions default strategy. How can I assign the 'Custom 1 strategy' to the object custom data center so that it uses my buffers HA and approve the limits. When I navigate to the custom tree data center and select clusters, they use the "Custom correct strategy 1.

    I'm under vrops 6.1.0 3038038

    You must create a group for the custom data center and assign this group "Custom 1" or add the data to an existing group that you have your custom policy assigned to Center.

  • I am trying to add a date field to my esign document...

    The Date field is grey - this is, next to the signature field and a few others, but it is not enabled. What should do?

    Hi yogaladykelly ,

    Would like to inform you that if this field is not assigned to you (you are not in the role of this field) then that would be gray. But if his happens with many fields & you are the participant would then ask to join you on ' [email protected]'

    so one of the experts will get back to you & solve this problem for you.

    Kind regards

    Christian

  • How can I subtract a number (of days) to a DATE field?

    I have a date field that can be entered manually)

    format (dd/mm/yyyy)

    I would like to be able to take that date and subtract a number from it (say 280 days)

    and do come with the date it would be 280 days in the past in another area

    Date1 < here

    subtract 280 days (as close as possible result of months/days per month etc...)

    Nouvelle_date <-here

    Is this possible at all?

    TIA

    Oh my god

    Thank you very much

    I'll give it a whirl...

Maybe you are looking for

  • HP 550-152na: could not find the driver

    Hello - after having to clean install windows because of the mistake of starting I have lost the driver for my graphics card and cannot find it on the web for download. This is the AMD RADEON R5 330. I tried the M330 and one suggested by AMD detect s

  • HP Pavilion 500-242ea: Ram upgrade

    Hi I have a desktop computer Pavilion 500 - 242ea 64-bit with 6 GB of ram installed 1 x 2 gb Hynix/Hyundai 1600 mhz and 1 x 4 gb Samsung 1600 mhz. I would like to increase my ram by an additional 8 GB with a 2 x 4 GB - 1600 mhz cards in empty slots,

  • How can I change my language from the window of the Italian to English?

    Hi Sir/Madam My name is Ravi. I have a laptop from Packard brought Bell.I of Italy and its language is Italian.   Please help me change my window of Italian language at English.

  • COM/ActiveX by default or non-specific interface

    Let's say I have a non-Visual activex control that implements 2 interfaces: IStuffInterface and IStuffInterface2. IStuffInterface2 derives from IStuffInterface and adds a little more functions. IStuffInterface2+ - Property2a+ - Property2b+ - Method2a

  • Cannot run msconfig.exe

    I have problems to run exe files.  An application not found error appears. When I tried to launch msconfig.exe to perform a clean boot is a mistake came saying application not found.  This problem occurs in normal mode and safe.