Results 1 to 4 of 4

Thread: Unable to activate a function through C#

  1. #1
    Join Date
    Apr 2008
    Posts
    240

    Unable to activate a function through C#

    I have a textbox on my form, what I want to do is, when a user enters something in the textbox, this information is readily available on the Garmin - but so far I have not been able to correctly display this information. I want the user to be able to press enter to actiavate my search function.

  2. #2
    Join Date
    Nov 2008
    Posts
    58

    Re: Unable to activate a function through C#

    Click on the form, in Properties, click AcceptButton, a button with a down arrow will appear. If the Activate directly? field is flagged, the system activates the adjustment and updates the respective rental agreements as a new condition item. Click on the down arrow button and all the buttons on the form will be listed. Click the button you want the Enter key to click. Or in the Form Load you could type AcceptButton = Button (where Button is the name of the Button you want the Enter key to "click"). That should do it.

  3. #3
    Join Date
    Mar 2008
    Posts
    232

    Re: Unable to activate a function through C#

    Reset all or Select all function. (For adjustments subject to approval, only contracts are selected, for which an approval date has been entered.) I also tried typing in: Button.IsDefalted in the code window and IntelliSense did not like it...Saying: Error 1 'IsDefauted' is not a member of System.Windows.Forms.Button'. But you definitely got the right idea! I just need to know how to make it work in Visual Basic 2008 Express unless I'm misunderstanding something that you said, which is a very real possibility.

  4. #4
    Join Date
    Apr 2008
    Posts
    117

    Re: Unable to activate a function through C#

    Enter the required date in the Approval date proposal field. This date is copied to the selected adjustments, but can still be manually changed. if you want to assign the text to ID of a link button. It can be done as follows:

    Dim ctrl As New LinkButton
    ctrl.ID = reqString --assigning the string value here

    Otherwise you have to add the approval date to each individual subject-to-approval adjustment to be able to activate them.

Similar Threads

  1. Unable to activate iOS 6 Beta
    By messi-m in forum Portable Devices
    Replies: 3
    Last Post: 12-07-2012, 11:51 AM
  2. Replies: 8
    Last Post: 07-12-2011, 02:14 PM
  3. Unable to activate Dragon Age 2
    By Itachi Uchiha in forum Video Games
    Replies: 5
    Last Post: 15-03-2011, 10:22 AM
  4. how to activate bluetooth function in my laptop
    By Aandaleeb in forum Hardware Peripherals
    Replies: 4
    Last Post: 21-01-2010, 01:36 AM
  5. ubuntu 8.10 no function to activate the TV output
    By Conner in forum Operating Systems
    Replies: 3
    Last Post: 25-02-2009, 09:44 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,679,417.44877 seconds with 17 queries