Jump to content

Frederick

uniGUI Subscriber
  • Posts

    625
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Frederick

  1. I managed to get the installation working by doing the following:- 1. Open the package file for Delphi 10.3 Rio and installed the components. (Missed the post-installation instructions in the installer) I was also confused why the installation of the components was carried out when the platform was Windows 32 bit in Delphi although I selected Win 64 bit for the platform during installation. 2. Added a library path to the SOURCES directory
  2. Hi Marlon, I ran the installer and selected Win64 as the platform and Delphi 10.3 Rio as the Delphi version. After installation, the sub-directory of UniFalcon\Lib\Delphi\LibD26x64 is empty. If I perform the installation again using the same parameters as above, UniFalcon\Lib\Delphi\LibD26 contains files but UniFalcon\Lib\Delphi\LibD26x64 still contains nothing. My 64 bit program now cannot compile because Delphi is complaining that files are missing. What do I do now?
  3. Hi Marlon, I downloaded the latest components and in the Packages sub-directory, there is no TUniFalcon26.dpk file but it is in my current directory. I believe this package file is for Delphi Rio, which I use. How do I update my current UniFalcon installation to the latest version? BTW, where is the package file for Delphi 10.4 Sydney?
  4. Here is the test case. What I am trying to achieve is that when I click "Go To Menu 1", menu 1 is focused and the showmessage for menu 1 is displayed. focustreemenuitem.mp4 treemenu2.zip
  5. I have a TUniTreeMenu with the SourceMenu property pointing to a TUniMenuItems control. TUniMenuItem -> menuitem1 -> menuitem2 -> menuitem3 If I am on menuitem3, how do I set focus to menuitem1 and then run the code in menuitem1's OnClick event? I tried menuitem1Click(menuitem1) but it does nothing. -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1558)
  6. Thanks. I still did not receive the email. Here is the message I sent. I have the following questions regarding this control (version 1.0.2.47):- 1. I want to display two lines, one below the other, and my text is 'One or more fields have been changed.'+#13#10+'Do you wish to cancel the change(s)?'. However, TUniFSConfirm is not doing so. Please see attached screenshot. How do I get this to work? 2. I want the user to be able to press the ESCAPE key to close the dialogue box. However, when I press the ESCAPE key, the control simply shakes. The property for EscapeKey is set to True. How do I get this to work? 3. How do I focus to the No button by default so that when the user presses the Enter key, that button is selected? 4. I want the control to always pop up from the centre of the screen and not from the left to right. For some reason, when it is displayed the first time, it is centered. However, it displays from the left to right the second time. How do I do this?
  7. The first option switches the display order of the buttons but the Cancel button is not highlighted. I am using the second option but the Cancel button is also not highlighted. How can I do this? sweetalertdefbtn.mp4
  8. If I press the Tab key in a Sweetalert dialogue box and then press ENTER, the dialogue box is re-displayed. Pressing ENTER a second time causes the dialogue box to close but the event message is not displayed. Can the Tab key be suppressed so that this behaviour does not happen? Note: This is based on the demo files of SweetAlert. -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1558) sweetalerttab.mp4
  9. I have a Confirm and a Cancel button in a SweetAlert dialogue box. However, I want to the Cancel button to be focused so that it is the default action. The FocusCancel property seems to be the one to use but setting it to True does not cause the Cancel button to be focused. What am I missing here? Note: This is based on the demo files of SweetAlert. -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1558)
  10. I created two free forms giving them each a name of frmFree1 and frmFree2 respectively. if cMenu='mnu1' then begin oForm:=frmFree1; // Compiler chokes here and says "Undeclared Identifier frmFree1" end else if cMenu='mnu2' then begin oForm:=frmFree2; // Compiler chokes here and says "Undeclared Identifier frmFree2" end; even when the units for the two forms are in the Uses clause. I can't create the free form dynamically because I need to design the form itself with controls and components there. I'll need to research further since I have never used free forms in UniGUI before.
  11. I am not sure what I am doing wrong but the forms are not displaying inside the TUniTabSheet of the TUniPageControl. I have two application forms and my code when each TUniMenuItem is clicked is:- procedure TMainForm.mnu1Click(Sender: TObject); var cMenu : String; begin cMenu:=treMenu.SourceMenu.Items[treMenu.Selected.Id].Name; if assigned(oForm) then oForm.Close; oForm:=NIL; if cMenu='mnu1' then begin oForm:=frmForm1; end else if cMenu='mnu2' then begin oForm:=frmForm2; end; if assigned(oForm) then oForm.Parent:=tab1; end; However, the application forms are displayed outside the main form. What could be the problem? parentoftab.mp4
  12. Your English is just fine and your application is very nice! Thank you.
  13. Thank you for the pointers!
  14. Hi Point, I plan to use a pagecontrol in area A and create individual forms containing grids. Can I assign an existing form's parent to the pagecontrol's tabsheet when a menu item in the tree menu is selected and then set the form's parent to NIL when another menu is selected? Will this method reduce memory use?
  15. Thanks. This works as well.
  16. Hi Point, Thank you for the solutions for getting the TUniMenuItems's name and reducing the font size. They all work.
  17. It has been a while now but may I have the solutions to questions 1) and 3) in the above post? I am currently using UniGUI 1.90.0.1558.
  18. I think the number of records for the grid could be up to 300.
  19. As I click the menu items in the tree menu, what control(s) should I put in Area A so that a different TUniDBGrid is shown. Since each TUniDBGrid uses a different query, should I open and close the query as the grid is shown and hidden or should I open all queries at the start of the program. I am thinking in the interest of memory usage. Area A is currently a TUniContainerPanel. -- Frederick (UniGUI Complete - Professional Edition 1.90.0.1558) treemenu.mp4
×
×
  • Create New...