Jump to content

Frederick

uniGUI Subscriber
  • Content Count

    322
  • Joined

  • Last visited

Community Reputation

7 Neutral

About Frederick

  • Rank
    Advanced Member

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. This issue does not seem to have been fixed in UniGUI version 1.90.0.1543?
  2. In the OnKeyDown event of a TUniDBTreeGrid, I have the following code:- procedure TMainForm.treGridKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); begin if Key=VK_DELETE then showmessage('here'); end; The message is not shown when I press the Delete key. In TUniDBGrid, this works. How do I get the Delete key to be recognized in the TUniDBTreeGrid component? -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1541)
  3. Try the following:- UniMemo1 -> ClientEvents -> ExtEvents ... add Ext.Js event for AfterRender: function afterrender(sender, eOpts) { sender.bodyEl.dom.addEventListener( 'keydown', function(e) {if (e.key=='Enter') {e.stopPropagation()}} ); }
  4. I have attached the project files. Thanks. dbtreeexclaim.zip
  5. I have attached the project files. Thanks. dbtreeexclaim.zip
  6. Thanks. The missing property message is gone but the code does not perform as I would expect. Please see the attached video. Each time I add a record, the new record is properly positioned to but the rectangular highlight is pointing to another row. I want the highlight to be at the new record. I have also attached the project files. focustotunidbtreegrid.mp4 dbtreeexclaim.zip
  7. In a TUniDBGrid, I can use the following code to position to a row and column:- grdGrid.JSInterface.JSCall('getNavigationModel().setPosition', [grdGrid.CurrRow, grdGrid.CurrCol]); I can't use the same code for a TUniDBTreeGrid because the CurrRow and CurrCol properties are protected. How do I achieve the same result for this component? -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1539)
  8. In TUniDBGrid, there is a Options.dgRowSelect property which I can use to colour the entire row. In TUniDBTreeGrid, the same property cannot be set at design time. How do I colour the entire row for this component? -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1539)
  9. I have a PostgreSQL query with an "order by shortcode, code" parameter. When a TUniDBTreeGrid's datasource is set to it, the code order is not followed as the query correctly shows. What could be happening here? -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1539)
×
×
  • Create New...