Jump to content

Frederick

uniGUI Subscriber
  • Posts

    627
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Frederick

  1. I have three controls that have their TabStop properties set to False at design time. When I set the TabStop properties to True at runtime, I cannot tab from control to control. Is this a bug? Interestingly, if the TabStop properties are True at design time and I set the TabStop properties to False at runtime, the behaviour is correct, in that I cannot tab from control to control. P.S. I have attached the testcase. -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1549) tabruntime.mp4 tabruntime.zip
  2. I tried the Desktop demo for the GridSummary (in FMSoft\Framework\UniGUI\Demos\Desktop\GridSummary) and even the summaries here don't show.
  3. I just updated my UniGUI to the latest version and the grid column summaries are no longer showing. What happened here? -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1548)
  4. When printing a report in Firefox, I get the attached Ajax error. The same report printed in Chrome, Edge or Opera does not display the error. I am using a TUniURLFrame to display the PDF file and in the control's OnFrameLoaded event, I have the following code:- TUniURLFrame.JSInterface.JSCode(#1'.iframe.contentDocument.addEventListener("keydown", function(e){ajaxRequest('+ Self.WebForm.JSForm.JSName +', "keydown", ["key="+e.keyCode])});') What am I missing here? -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1546)
  5. Thanks. Adding a semi colon after the closing bracket solved the problem. Ext.override(Ext.form.field.Checkbox, { onBlur: function() { this.displayEl.removeCls('x-form-checkbox-focus'); this.callParent(arguments); } }); /* Added semi colon here */ Ext.form.field.Date.prototype.altFormats = "dmY|m/d/Y|n/j/Y|n/j/y|m/j/y|n/d/y|m/j/Y|n/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d|n-j|n/j"; /* Adding this line */
  6. I am trying to add a script to the Mainform's script property but the additional code gives an Ajax error. What part am I doing wrong? Ext.override(Ext.form.field.Checkbox, { onBlur: function() { this.displayEl.removeCls('x-form-checkbox-focus'); this.callParent(arguments); } }) Ext.form.field.Date.prototype.altFormats = "dmY|m/d/Y|n/j/Y|n/j/y|m/j/y|n/d/y|m/j/Y|n/d/Y|m-d-y|m-d-Y|m/d|m-d|md|mdy|mdY|d|Y-m-d|n-j|n/j"; /* Adding this line */ -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1546)
  7. Debug Output: onecore\com\combase\catalog\catalog.cxx(1026)\combase.dll!00007FFD1EF29FE6: (caller: 00007FFD1EF1CC0D) ReturnHr(1) tid(4e64) 80070002 The system cannot find the file specified. Recently, I have been getting multiples of the above error when I compile and run a UniGUI app in debug mode. When it is compiled and run the first or second time, there is no problem. After that, the errors appear in the compile log and the app will not start in the browser. I can only resolve the problem when I restart Delphi. I can't seem to repeat the problem in a VCL application in debug mode. What can I do to fix this problem? -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1546)
  8. I have a TUniEdit and a TUniDBGrid. The MainForm has the NavigateKeys property enabled with the Next's Key property set to 13. In the TUniEdit's OnExit event, I have some code that fires when the event is triggered. When I attempt to press the ENTER or Tab key from the TUniEdit to focus to the TUniDBGrid, the grid cannot be focused to and the OnExit event is not fired. How do I get the focus to change to the grid? A testcase is attached. -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1546) gridnofocus.mp4 gridnofocus.7z
  9. The above code is to test if the TUniDBFormattedNumberEdit control (edtAmt) is blank. If yes, call cmdSet to set a default value of -1.00. As a comparison, the other TUniDBFormattedNumberEdit control is set to -11.00 when left blank. This shows that if I assign a value of -1.00 to the control, the Text property remains blank instead of '-1.00'.
  10. Hi Sherzod, May I know if the testcase files are complete and is this a bug?
  11. Thanks. I was already using the JS code but was missing the "<br>" part in the caption.
  12. I have a TUniDBFormattedNumberEdit that is bound to an SQLite table. When I exit the control and I detect that the text property is blank, I assign a default value. For some reason, when I assign any number other than -1.00, the text property shows the value assigned. If I assign -1.00, the text property remains blank. Is this a bug and how do I work around it? A video showing the problem and a testcase is attached. -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1546) editnotext.mp4 editnotext.7z
  13. My TUniPanel's caption is "This is line 1 This is line 2". I want the lines to appear as: This is line 1 This is line 2 I tried TUniPanel.Caption:='This is line 1'+#13#10+'This is line 2' and TUniPanel.Caption:='This is line 1<br/>This is line 2' but the results are not as expected. How to I get this to work? -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1546)
  14. In the desktop demo for Grid - Row Editors, how do I prevent a user from using the keyboard and entering a blank value for the phone extension? Although the TUniSpinEdit control has minimum and maximum values set, these are not respected. -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1543) preventblankinspinedit.mp4
  15. Please see attached video. After I double click the column or press the ENTER key on it, I want the label "Editing: No" to become "Editing: Yes". If I decide to cancel an edit and I press the ESCAPE key, I want the label "Escape: No" to change to "Escape: Yes" and the label "Editing: Yes" to change to "Editing: No". Note: I have also attached the testcase file. editgrid.mp4 editgrid.zip
  16. I have a editable string column in a TUniDBGrid that is linked to a datasource. How do I determine that it is in edit mode after I double click it and how do I know that it is no longer in edit mode after I press ESCAPE? -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1543)
  17. This issue does not seem to have been fixed in UniGUI version 1.90.0.1543?
×
×
  • Create New...