Jump to content
uniGUI Discussion Forums


uniGUI Subscriber
  • Content Count

  • Joined

  • Last visited

Community Reputation

1 Neutral

About Frederick

  • Rank

Recent Profile Visitors

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

  1. Frederick

    SelectNext() Is Slow

    I have the following OnKeyDown procedure for TUniDBEdit controls to move to the next control when the Return key is pressed. This procedure simulates pressing the Tab key. procedure TForm.edtCodeKeyDown(Sender: TObject; var Key: Word; Shift: TShiftState); begin if Key=VK_RETURN then SelectNext(Sender as TUniControl,True); end; There is a discernible delay of between 0.5 to 1.0 second after the Return key is pressed before the next control is focused compared with pressing the Tab key. How do I speed up the process? -- Frederick (UniGUI Complete - Professional Edition
  2. I found the problem in that the callback procedure was missing a parameter of "Sender : TComponent" as like procedure TUniForm.SomeFunc(Sender : TComponent; Res : Integer); begin // Some code end;
  3. I have UniGUIDialogs and no VCL.Dialogs in the Uses line. However, when I make the following call:- messagedlg('Test Message', mtConfirmation, mbYesNo, SomeFunc); Delphi 10S throws up an error of "E2250 There is no overloaded version of 'MessageDlg' that can be called with these arguments". What am I missing here? -- Frederick (UniGUI Complete - Professional Edition
  4. Frederick

    TVCLDBColumns Do Not Follow DisplayFormat

    After fiddling further, I managed to show the correct format for the TFloatField by setting the DisplayFormat as "#,0.00" instead of "#,0.00;-#,0.00' to represent both positive and negative numbers. Not sure why the Delphi format was not used.
  5. Frederick

    How To Change GroupBox Caption's Style And Size?

    While making a test case for this post, I remembered that JS is case sensitive. When I changed the Cls property value of the group box from "myGroupbox" to "myGroupBox", the caption font size and style change took effect. However, the child group box (Prices) also took the Cls value from the parent group box when no Cls value was specified for it. How do I disable it?
  6. Frederick

    TVCLDBColumns Do Not Follow DisplayFormat

    Thank your for your suggestion. I followed your example and the attached screenshots show that the components are not responding to what has been done.
  7. Frederick

    How To Change GroupBox Caption's Style And Size?

    Unfortunately, this does not do anything to change the group box's caption's attributes.
  8. Frederick

    Creeping Problem When GroupBox Caption Is Blank

    Thanks. This solved it.
  9. I see that quite a lot of answers to questions involve the use of Javascript code entered within the two properties above. As I know nothing about JS, what is the best way to learn about using it as far as it concerns UniGUI? Is there documentation for this? -- Frederick (UniGUI Complete - Professional Edition
  10. Is there a way to change the TUniGroupBox's caption's style and size? -- Frederick (UniGUI Complete - Professional Edition
  11. If the TUniGroupbox's caption is not blank, the display is correct in the web browser. However, when the caption is blank, the components within it creep up and cause a display error. Aside from entering an non-essential caption, is there a workaround? -- Frederick (UniGUI Complete - Professional Edition
  12. I use ExpressQuantumGrid's grid component for my Delphi projects and the column objects for their grid have a Name property. This is a very useful feature because it allows me to refer to the grid column by name and avoids problems when new columns are added, re-ordered, deleted, inserted between columns or placeholder columns created in the grid for future use. For example, instead of TUniDBGrid.Column[12], I can refer the column as grdAmount regardless of the current or future order of columns. Please consider adding the Name property to your TUniDBGrid's columns and any other components where column properties with sub-properties are present. -- Frederick (UniGUI Complete - Professional Edition
  13. Frederick

    TUniTreeMenu Questions

  14. Frederick

    Panel Title Not Shown In IDE

    The TUniPanel has a Title and TitleVisible property. In the IDE, if the TitleVisible is set to True, the Title is not visible. This makes it difficult to determine the amount of horizontal space the panel would occupy and contributes to time-consuming design work, especially if there are other components below the panel. Would it be possible to have the Title of the panel to be shown in a WYSIWYG manner if the TitleVisible is set to True? -- Frederick (UniGUI Complete - Professional Edition
  15. Frederick

    TUniTreeMenu Questions

    I have 4 questions concerning the TUniTreeMenu. 1. How do I change the font size of the items shown in the menu? 2. When I hover the mouse cursor over the tree menu, the cursor changes to a pointer. However, if I click anywhere on the caption, the sub-menu is not shown. I have to click on the arrow key before the sub-menu will show. Is it possible for the sub-menu to show if I click the caption or the arrow key? 3. The tree menu has a SourceMenu property that points to TUniMenuItems component. In each TUniMenuItem sub-menu, I have added code in the OnClick event as follows:- showmessage(TUniMenuItem(Sender).Name); Why is it blank? 4. If I change the above code to showmessage(TUniMenuItem(Sender).Caption); the application crashes with an AV. Why does it happen? -- Frederick (UniGUI Complete - Professional Edition