Jump to content

Search the Community

Showing results for tags 'keypress'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • uniGUI Public
    • Announcements
    • General
    • Feature Requests
    • Installation
    • Deployment
    • Other Platforms
  • Licensing
    • Licensing
    • Ordering uniGUI
  • Bug Reports
    • Active Reports
    • Closed Reports
    • Old Bug Reports
  • uniGUI Development
    • General Development
    • uniGUI Releases & Roadmaps
    • Utilities
  • Mobile Platform
    • uniGUI Mobile
    • Mobile Browsers
  • Users Area
    • Sample Projects
    • Components and Code Samples
    • Third Party Components
  • Non-English
    • Non-English
  • Miscellaneous
    • Hosting
    • Server Security
    • Jobs

Calendars

  • Community Calendar

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 5 results

  1. Trying to process Grid Keyboard SPACE pressed event. dbGridPurchases.ClientEvents.ExtEvents.Clear; s:= 'keypress=function keypress(e, t, eOpts)'#13#10 + '{ '#13#10 + ' ajaxRequest(sender, '#39'_KeyPress_'#39', ["key="+e.key]); '#13#10 + '} '; dbGridPurchases.ClientEvents.ExtEvents.Add(s); Please advise - thanks in advance
  2. When key press over the list box (multiselect and ordered), the item is selected, but the scroll doesn´t move to that item. Ex. Press G words from the keyboard and listbox stays same as before, but, if manually scroll the list until found an item beginning with G, that item seems selected! How move the scroll programatically until the selected item?
  3. Hi, Let's say i have 3 columns in UniDBGrid Row No | ColA | ColB 1 111 + 2 222 + 3 333 - ........ if cursor point on row that ColA Value = '222', i need to disable UniDBGrid key press I Think ExtJS Event can handle this, but not sure how do i call js function function keypress(e, t, eOpts) { var me = MainForm.UniDBGrid1; // not sure how to get dbgrid value in JS // ex. if Dataset.fieldByName('ColA').AsString = '222' then // Key := #0 } Thank you
  4. Hello everyone! I'm trying to use the keyPress DBEdit, but is not working. In a DBEdit, I have to create a formula (using parser.pas), but want the user to only enter numbers and some specific letters, the formula. I tried to do the following below, but is not working. procedure TForm.UniDBEdit1KeyPress(Sender: TObject; var Key: Char); begin // + - * / ^ [ ] ( ) if not (Key in ['0'..'9','Q','P','V', 'L','D', 'M', #43, #45, #42, #47, #94,#91, #93, #40, #41, #8]) then begin key := 0; <-- error char vs string //Key := chr('0'); <-- dont work end; end; When the letter that is not present in the function, it is accept by the procedure and allows inclusion in Edit. Can anyone help? Thanks.
  5. I have a TuniEdit with an OnKeyPress event. It seems to work fine and get all the chars I'm interested in including the CR<#13>. HOWEVER, it appears that the BACKSPACE<#08> character is totally ignored. So, basically, my event never gets called when the user is using the backspace to ALTER the contents of the field. Luckily, the onChange event DOES happen as I change the edit field with the backspace key. Very wierd the that OnChange recognizes the keypress, but the OnKeyPress does NOT. Am I missing something? Davie
×
×
  • Create New...